Suramya's Blog : Welcome to my crazy life…

May 3, 2024

Creating a computer using mushrooms

Filed under: Computer Hardware,Emerging Tech,My Thoughts — Suramya @ 5:45 PM

We have all heard of Quantum Computers and Optical Computers which are based on Quantum Bits and Light respectively. Similar to that we also have Bio Computers which use DNA to store data and slime molds to create computational chips. Folks over at the Unconventional Computing Laboratory at the University of the West of England in Bristol, UK have been studying mushrooms to find out if they can carry out computing and sensing functions. (No, I don’t mean that they are smoking them to come up with ideas 😉 ) Basically, they are growing mushrooms and integrating them with electronics to create logic gates which can be used to perform calculations.

In the brain, neurons use spiking activities and patterns to communicate signals, and this property has been mimicked to make artificial neural networks. Mycelium does something similar. That means researchers can use the presence or absence of a spike as their zero or one, and code the different timing and spacing of the spikes that are detected to correlate to the various gates seen in computer programming language (or, and, etc). Further, if you stimulate mycelium at two separate points, then conductivity between them increases, and they communicate faster, and more reliably, allowing memory to be established. This is like how brain cells form habits.

Mycelium with different geometries can compute different logical functions, and they can map these circuits based on the electrical responses they receive from it. “If you send electrons, they will spike,” says Adamatzky. “It’s possible to implement neuromorphic circuits… We can say I’m planning to make a brain from mushrooms.”

A mushroom motherboard
A mushroom motherboard. (Pic Credit: Andrew Adamatzky)

These computers would not be as fast as the regular computers but if they function as expected they will be extremely fault tolerant and self repairing so would be a good fit for remote places with extreme environment. Another advantage is that they consume very little energy so can be left running for a long time without having to worry about a power-source.

Source: Popsci.com: Inside the lab that’s growing mushroom computers

– Suramya

May 2, 2024

Visiting Cambodia

Filed under: My Thoughts,Travel/Trips — Suramya @ 6:20 PM

Cambodia is a country that I have been wanting to visit for a long time and last month I finally got a chance to visit it thanks to Santosh from Exotic Expeditions. The planning for this trip was a lot more fluid than I like but we finally made it there and back. Initially me and Jani both planned to go for the trip, then as I was about to book Jani had a work trip come up so I decided to book the trip as a solo traveler. Then a little while later Jani’s trip was pushed out so she also booked the trip. This meant that we both had two different PNR’s for the flights. Interestingly, for some reason while I got a single PNR for the entire flight to Cambodia (with a halt in Thailand) she had separate PNR’s for each leg.(more on that later)

The day of the flight we left home and checked into the flight. Met up with Tittli at the airport and the boarding etc was quite smooth. As Jani had two separate PNR’s we booked both our bags under my name only so that she wouldn’t have to re-check them in at Thailand. When we landed at Thailand, we tried getting Jani’s second boarding pass from the Transit desk but were told that she would have to go clear immigration and then check back into the flight at the Airline counter outside. I thought I will go out with her as well but was turned back at the immigration counter and told to go via the Transfer desk to the boarding gate. Jani had to explain multiple times about why she was going out via the immigration before they finally let her through. Once out she was smart enough to figure out that she could print out the boarding pass via the self-service kiosk instead of waiting in the queue at the counter.

Once she cleared security things were simple, and the flight was uneventful. We landed at Phnom Penh and took a cab to the hotel (SIM Boutique Hotel). Unfortunately for us we reached the hotel at 10:30am where as the check-in time was 2pm. The lady at the reception told us that the earlier she could give us a room was between 12-1pm. So we had to wait in the lobby till we got the rooms allocated. We thought that we would grab something to eat but the hotel restaurant was closed and we really didn’t have the energy to walk around so we just hung out in the lobby. I think the lady at the reception got tired of hearing the snores so we got the room around 11:30 and we went up and crashed. After a few hour nap we were a lot more eager to explore the area and by then the remainder of the group had also arrived. (They came from Vietnam via bus as they had combined the two countries). While the others were freshening up me and Jani walked over to this small restaurant called ‘Wheat & Beans’ a few streets over where we grabbed a quick snack.


Ready and eager to start exploring Cambodia

By the time we were finished with our meal the others were done freshening up and ready to explore so we took two tuk-tuk’s to the Night market. The market was decent and I did manage to pick up a T-Shirt and a shotglass amongst other things. Since folks were still tired and hungry we broke early for dinner. Jani and Santosh decided to try the local cuisine and the rest of us ended up having Indian food. This was the first trip where we had a lot more Indian food than the local one because the rest of the group was tired of local food (they didn’t have the best experience in Vietnam food wise). This particular restaurant was pathetic and the quantity was so small that effectively we had like one piece each of Aalu Ghobhi and 2 pieces each from the Paneer. The naan looked like what you would get if you made a pizza without any toppings. To top things off, the refuse to serve any water unless we paid for it and we had a lizard giving us company. Both Fatima and Divya are petrified of lizards so they had an especially fun time.

Once we got back to the hotel the original Idea was to get some sleep but then Divya, Sapna and me decided to go for a swim at the rooftop swimming pool while some of the others went shopping and it was a lot of fun even though we only swam for about half an hour. which was enough time to cool down my body as it is ridiculously hot in Cambodia right now because they’re in the middle of their dry season. The average temperature was in the mid 40’s and since we were walking about all over the place in direct sunlight for most of the trip it felt even worse. Of course Jani enjoyed it but even she was drained out after a whole day in the sun.

The next day started off with breakfast followed by a drive over to the ‘Royal Palace of Cambodia‘, whichwas built back in 1866 and has served as the home for Cambodian monarchs since then. The current king has no official power and is mostly ceremonial. The official name for the palace is “Preah Barom Reacheaveang Chaktomuk Serey Mongkol (Khmer: ព្រះបរមរាជវាំងចតុមុខសិរីមង្គល)“. Unfortunately we were not allowed to take photos of the main hall but the rest of the entire setup was impressive. Apparently only 40% of the area is open to public and out out that we walked through most of the important parts.


Group photo in front of the Royal Palace of Cambodia

One of the interesting (for me anyway) things was that you are not allowed inside if you are wearing a sleeveless top. At most of the other places that have this rule you were allowed to go in if you wrapped a shawl or a shrug around yourself before entering but here that also wasn’t allowed. You needed to change into a sleeved shirt or but a T-Shirt from the stall conveniently located right next to the ticket booth. Divya ended up having to purchase a T-Shirt because she wore a sleeveless dress and even though the color matched with the dress it looked funny :). Our guide was sweet enough that he told her that she could take off the t-shirt in the end and took a photo of hers in the dress for her.

The palace also has these beautiful wall paintings portraying the story of Ramayana (called Reamker or the Story of Rama in Khmer). The depiction is mostly the same as what we have in India but their ending is completely different, in their version Rama and Sita lived happily ever after once the story concluded. Whereas in the Indian version, Sita returned to earth at the end. The paintings are gorgeous but are done in the Cambodian way making it look very strange to us because the faces especially are painted very differently.


Mural depicting Ramayana (called Reamker or the Story of Rama in Khmer)

The palace also has a small hill in the middle called Mount Kailash with a temple at the top. We couldn’t climb it as it was still under renovation but the structure looked impressive. On the other side of the hill is the Silver Pagoda, the official name for which is “Wat Ubaosoth Ratanaram (Khmer: វត្តឧបោសថរតនារាម), also known as “Wat Preah Keo Morakot” (Khmer: វត្តព្រះកែវមរកត, “Temple of the Emerald-Crystal Buddha”).

The pagoda is named such because the entire floor of the structure is inlaid with 5,329 silver tiles each weighing 1.125 KG. Amongst the treasures displayed in the pagoda we have the “Emerald Buddha” which is a 66 centimeters tall statue supposedly carved from a single emerald. Another notable treasure is the gold Maitreya Buddha statue which is a 90 kg life sized statue covered with 9584 diamonds. I was surprised to see that the French who ruled Cambodia till 1953 didn’t end up stealing all the diamonds from the statue the same way that the British stole from India. The statue even survived the Khmer Rouge which is even more surprising as they were rabidly anti-religion.

We also saw loads of other artifacts and treasures in the complex which were beautiful but too many to list out here. One of the exhibits that stood out was the dress code for the palace. There is a dedicated color for each day of the week and everyone dresses in that color for the day.

After the palace we drove over to the Killing Field which was a horrible experience. Not because of any problems but because I can’t understand the mindset that would drive someone to such atrocities. You can read about the killing fields over on Wikipedia if you want, but be aware that it is a grim read. Basically over 2 million Cambodians were killed in just over 3 years, 8 months. Some in the jails, most in fields like this one where folks were killed in what can only be described as an industrial scale. Walking through the fields listening to the audio tour was sobering. There is a tree in there, where kids were killed by bashing their skulls against it and tossing them like garbage into the pit next to it. Others were hacked to pieces or killed with DDT to cover the smell.

Once we were finished at the Killing field, we went over to the Toul Sleng Genocide Museum, which continued the story of brutality. This site was originally a school which was converted to a Jail where confessions were extracted from prisoners using the most brutal torture. After the prisoners confessed or if the prison was overcrowded they were sent to the Killing field for disposal. Only 12 people survived the prison (7 adults and 5 children). The Wikipedia page on the museum has more details if you are interested. I was in no mood to take any pics over there as it is depressing to go to such sites.


Multi-Storied Monument containing skulls and bones from people massacred at the Killing fields

That being said, I am glad that they have this memorial to the atrocities committed there so that the world knows what they went through. We need to have similar memorials built for the massacres that happened India as well, so that our future generations and the foreign visitors know what our ancestors were put through by the Invaders and colonizers especially the British. I know the Jallianwala Bagh massacre has a small memorial dedicated to it but we should explore something like this for memory as well as memorials to some of the other massacres we had to deal with such as the Bengal Famine, Kala Pani jail at Andaman’s amongst others. The really sad part is that British have still not apologized or been held accountable for any of their actions in India and other countries they subjugated.

Once we were done at the jail, we took a break for lunch as it was much needed. This trip was pretty much the first one where we ate a lot of Indian food during an international trip as most of the folks with us were tired of the local food and the lack of vegetarian options in it, or rather the lack of tasty veg options in it. This restaurant was quite good and the food was great.


Group pic at Lunch

After lunch we braved the heat again to go to ‘Wat Phnom Historical Site’ which had a lovely temple with some great views and peaceful atmosphere which was much needed after the earlier sites. We walked about the location and once we were all relaxed headed back to the hotel and pretty much everyone just crashed because the day had been pretty exhausting with the heat and the content.


Wat Phnom Historical Site temple


Full Carrot in the Sauted vegetables we got

Jani and I decided to order room service late at night as we got hungry where she was served a sauteed carrot (amongst other things) complete with the leaves. She liked it is all I am going to say about that but I am happy I didn’t order it 🙂

Day 3 started with a drive over to Siam Reap which was supposed to take us about 6 hours but took almost 7 1/2-8 hours thanks to stops. We ate some weird fruits on the way along with Mango’s and Ice Apple. They also had fried Spiders and Crickets available as snacks but no one in the group took them up on the offer for some reason ;). We got to Siam Reap in the late afternoon and again had Indian food for lunch, after which we reached our hotel (Central Privilege Hotel) and checked in.


The mangoes were a ‘little’ sour

This was an interesting hotel in many ways. Firstly there is no elevator so you have to use the stairs to carry the luggage to your room. We were on the 4th floor and even though they offered to have the luggage carried over to the room we decided to just do it ourselves as we already had the backpacks on. The AC was quite slow to cool the room and we ended up leaving it on the entire time so that when we entered the room after roaming about it was cool enough. The other problem was the shower which barely gave a stream of water enough to take a bath in. All that being said the hospitality of the hotel was phenomenal and they went out of their way to support us during the stay which more than made up for any lack of amenities or issues.


Hanging out at the pool

After freshening up we all walked over to the old market which was nearby and did a little bit of shopping. It was so hot even at 5pm that I felt like I was melting in the heat. Bought multiple cans of Soft drinks from a shop nearby and they were very amused by my exhausted/drained out look when I was ordering. An interesting fact I noticed was that there were so many folks selling paintings that I kept getting tempted to buy one as they all looked phenomenal. Unfortunately as I don’t have space at home to put up more paintings I had to restrain myself. 🙁 We did pick up a few T-Shirts and other things from the market but I felt that the market at Phnom Penh had more varieties/selection of t-shirt designs available. Right next to the market is the famous Pub street which was buzzing with lights, music and lots of people. It reminded me of Walking street in Thailand (without the sex shows).


Walking over to the Pub-Street & Local markets

We tried out a bunch of street food over there and I especially liked the Ice Cream rolls that were freshly made for us. The folks here are very friendly and it was fun hanging out over there. We ended up skipping dinner because we had a late lunch and had been munching on stuff frequently. We did get a massage from a street shop which was actually quite good and cheap. We wanted to get a full and proper massage the next day but ended up not doing that. On the way back to the hotel we crossed a road side stall which had insects and other ‘weird’ things available for munching. Even though most people don’t end up buying the stuff I guess enough like taking photos that one of the stalls decided to capitalize on it by charging 50 cents for a photo. The hotel had an outside pool which was quite tempting but none of us had any spare energy so we just crashed.


Taking a Tuk-Tuk’s to Angkor Wat

The next day we visited Angkor Wat, the worlds largest religious monument at about 9 square kilometers. We took Tuk-Tuk’s to the temple along with a guide and it was a good thing that we did that because he was able to give us so much information about the temple which we would not have known if we had just been roaming around. You have to purchase a ticket for visiting the temples, we got a day pass each for $37. You need to ensure that you don’t loose the ticket as you have to show it at every location. The counter is quite a way away from the temple entrance itself so unless you know the place it is possible that folks would end up going to the temple and then being sent back to get tickets. Just as we got to the entrance of the main Temple, Divya face planted on the floor and twisted her ankle and scraped her knee. Since she wasn’t hurt too badly, I was making fun of her that she ensured that she did a Sakshat Pranam (Step 5/6 in the linked article) before going into the temple.


Group Pic in front of Angkor Wat

It is hard to describe the scale of the temple if you have not seen it yourself. Each block weighs a few tons and the carvings/paintings in the temple are amazing. You can read about the temple and the complex over on their Wikipedia page. There is a lot of restoration work going on at the site and one of the interesting points is that they are restoring using the original material as much as possible. This means that for each block to be restored, they first search the site for the block and then use it. If they don’t find it then they carve a replacement using the same stone but with only about 30-40% of the carvings. This is so that future generations know that that particular block was replaced and is not the original.


View of the temple complex from the top


Me, just about melting from the heat

Since we started our tour at 9:30am which is something our guide told us that we shouldn’t do because of the heat (but he told us that after we started the tour 🙂 ) and sun. By the time we finished walking around the main temple, we were drained and just about ready to have the Tuk-tuk come inside to pick us up… unfortunately that wasn’t possible so we had to walk :(. The Tuk-tuk’s carried cold water for us with was really sweet of them and really required as we all were getting dehydrated in the heat.


Monkeys in the water trying to escape the heat


Carvings at the temple

After the refreshing drink of ice-cold water, we broke for Lunch at one of the local restaurants recommended by our guide. We ordered a varied bunch of stuff at the place and pretty much everything we got tasted awesome. Jani ordered coconut water and they came back with a coconut that was more than double the size of coconuts we usually get. (See below).


Jani with her gigantic coconut

The place was air conditioned so it was hard for us to head back out into the heat but we had to so we drove over to the second stop of the day “Ta-Prohm” temple about a kilometer away from the main temple. It is also known as the Tomb Raider Temple, because the move was shot here. This temple was built in 1186 AD by Jayavarman VII in honor of his family. It was abandoned in the 15th century when the Khmer empire collapsed and was lost in the Jungle. During this time nature tried reclaiming the complex and since the temples were created without the use of mortar, trees took root between the stones.

As you enter one of the first structures you see is a temple with a tree growing on top of it. The roots of the tree have grown around the structure and it is pretty much impossible to remove the tree without the structure collapsing as the roots are key supports for the remainder of the temple.

Another really cool structure was a small room with a base pedestal in the middle where if you stand on the ledge around the edge of the room and thump your chest it creates an cool echo. But only if you hit your chest. (or the chest of the person next to you if you want to be mean). Striking any other body part or clapping etc doesn’t echo. I honestly have no idea how they managed to do that but it shows the skill of the people who built the temple. To make it clear, it was all human effort and ingenuity with no aliens involved or needed.

The western word has this notion that they were the only people who could create things and any of the work done by indigenous people in other parts of the world couldn’t possibly be done by them because that would mean that the locals had an advanced civilization that was destroyed (for the most part) by the invaders. So they have come up with this elaborate tale that other than the ancient structures in the western world (Europe mostly) the rest were created by Aliens. (Watch Ancient Aliens if you want to learn more about the torturous logic they use to explain some of the findings).

We walked around the complex awed by the size of the trees that are growing on and around the structures. Obviously took a lot of pics even though we were sweating like anything almost ready to collapse due to the heat. Even Jani found it to be too hot which is something I thought I would never hear.


The “Ta-Prohm” temple

The final stop of the day was Bayon temple which has over 200 smiling faces of Buddha carved into the rock. As per Wikipedia “The name of Bayon was given by Etienne Aymonier in 1880. According to his report, Bayon was the Latin transliteration of what he had seen written in Khmer as “Bayânt” which he presumed most have been a corrupted form of the Pali Vejayant or Sanskrit Vaijayant, the name of the celestial palace of Indra of which the Bayon was presumed to be the earthly reflection.”


Group pic in front of the Bayon temple

The carvings on the walls in the temple are very detailed and show scenes from the everyday life along with significant historical events. They show the varied culture and people known to the Khmer empire and how well traveled the Khmer people were.

We spent a good amount of time walking around the complex and then were ready to head back to the hotel. Initially we thought we would relax in the pool but it was too hot for that so we all retired to our rooms to cool down a bit before heading out again.

At night, Jani, Divya, Sapna and me again walked over to the Pub street as they wanted to pick up some T-shirts and we wanted to check out the restaurants over there. We ended up having dinner at an Italian place where we ordered Pizza, soup and a Salad. The quantity of the soup given was enough that all 4 of us could have a bowl each but I am not a soup fan so I enjoyed my pizza with a drink. We spent quite a bit of time just hanging out there and could have stayed longer but folks were tired so we headed back to the hotel.


Exploring the Pub Street

For the next day there was an interesting reversal, in that we had the first half of the day free with the tour starting in the second half instead of the other way round. So we had a relaxed breakfast and hung out a bit. Lunch was ordered in via Grab and we all basically relaxed for the first half. Some of the folks did go to the market, even we went over to the Adidas showroom but were back within 20 mins as we didn’t get what we were looking for and it was too hot to walk around the area.

Post lunch we took a van over to the Tonle Sap lake, which is a UNESCO listed biosphere reserve as well as the largest freshwater lake in Southeast Asia. Since it was the dry season, the lake was a lot smaller and shallower with the max depth of only 3 meters instead of the usual 8 meters plus during the rainy season. This meant that we couldn’t take a boat directly to the lake from the parking but instead got to walk through the floating village and interact with the villagers which was a lot more fun.


Stilt houses at the ‘Floating Village’

We tried some local food as well as they had veg options as well. The first item was deep fried potato with some local spices which I loved because potato is pretty much my favorite vegetable. The second item was like a dosa but eaten with literally a lot of leaves of different kinds. It was decent, but a bit bland for my taste.


Local dish that looks like a Dosa

All the houses on this road that we were taking to the lake are built on stilts raising them over 8 get in height. What was really surprising was the fact that even though the road we were walking on is underwater every 6 months for 6 months it was still free of army pot holes and well maintained.

After the walk through the village we got to the jetty and took a boat over to the lake the boat we got had issues with the steering where we got stuck a few times in shallow water and had to be pushed clear using poles. In spite of that we made it to the floating restaurant in good time where we chill out for a little bit waiting for the sunset. Took some lovely photos there.


Posing for pics at the floating restaurant


Posing with my drink at the floating restaurant


Divya, Jani and Me at Sunset


Everyone was too busy taking pics of the sunset to pose


Sunset at Tonle Sap lake


Sunset at Tonle Sap lake

Once the sun set we took the same boat back, and fully justifying our apprehension the boat did in fact breakdown halfway back to the jetty and we got to enjoy sitting in the dark waiting for the replacement boat. Santosh, me and Jani was sitting on the top of the boat so we had a good breeze and surprisingly I didn’t get bitten by many mosquitoes. I did take the chance to experiment with my phone camera settings trying to take some interesting pics. It was too early for the moon to have risen so it got dark pretty soon and I got some cool pics. Found out later that a bat mistook Divya’s hair as its nest, snuggled in and she had to chase it away. That would have been a fantastic pic… After about 20-30 minutes of waiting, while the folks were trying to repair the engine, we finally got a replacement boat and headed back to the jetty and then started back to the hotel.

Since this was the last night we have a small party at the hotel where we picked up some drinks, ordered pizza and just hung out till late night. It was a lot of fun getting to know everyone and share stories and experiences and we ended up staying up till 1am before crashing for the night.


Replica of Bayon temple carvings at the Airport

The last morning of the trip all of us except Santosh were on the same flight. Thanks to the system glitch we talked about earlier Jani again had two different PNR’s so her luggage was again checked in under my name. Thankfully this time she had an eboarding card and didn’t have to leave the transit area and go through Immigration again in Malaysia airport. For the first leg of the flight I got the entire row to myself as the folks next to me moved to another row and was able to nicely stretch out. (Jani was allocated a different seat as seat selection was paid). By the time these folks moved Jani had already settled and didn’t want to move. Plus there was no space near my seat for the carryon luggage to be stored…

The second leg of the flight was much worse as it was a full flight and folks came with multiple carry-on bags so they ran out of room and had to put a bunch of bags in the cargo area. Plus multiple folks were seated away from their group so people were constantly moving up & down and kids were running around like it was a train instead of a flight. I was watching this hilarious show called “I am Nobody” so was able to ignore most of it but still.

Finally landed in Bangalore and were able to head home and crash. It felt so good sleeping in my own bed without feeling like I was going to melt in the heat.

– Suramya

April 21, 2024

Crescendo Method enables Jailbreaking of LLMs Using ‘Benign’ Prompts

LLMs are becoming more and more popular across all industries and that creates a new attack surface for attackers to target to misuse for malicious purposes. To prevent this LLM models have multiple layers of defenses (with more being created every day), one of the layers attempts to limit the capability of the LLM to what the developer intended. For example, a LLM running a chat service for software support would be limited to answer questions about software identified by the developer. Attackers attempt to bypass these safeguards with the intent to achieve unauthorized actions or “jailbreak” the LLM. Depending on the LLM, this can be easy or complicated.

Earlier this month Microsoft published a paper showcasing the “Crescendo” LLM jailbreak method called “Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attack“. Using this method a successful attack could usually be completed in a chain of fewer than 10 interaction turns.

Large Language Models (LLMs) have risen significantly in popularity and are increasingly being adopted across multiple applications. These LLMs are heavily aligned to resist engaging in illegal or unethical topics as a means to avoid contributing to responsible AI harms. However, a recent line of attacks, known as “jailbreaks”, seek to overcome this alignment. Intuitively, jailbreak attacks aim to narrow the gap between what the model can do and what it is willing to do. In this paper, we introduce a novel jailbreak attack called Crescendo. Unlike existing jailbreak methods, Crescendo is a multi-turn jailbreak that interacts with the model in a seemingly benign manner. It begins with a general prompt or question about the task at hand and then gradually escalates the dialogue by referencing the model’s replies, progressively leading to a successful jailbreak. We evaluate Crescendo on various public systems, including ChatGPT, Gemini Pro, Gemini-Ultra, LlaMA-2 70b Chat, and Anthropic Chat. Our results demonstrate the strong efficacy of Crescendo, with it achieving high attack success rates across all evaluated models and tasks. Furthermore, we introduce Crescendomation, a tool that automates the Crescendo attack, and our evaluation showcases its effectiveness against state-of-the-art models.

Microsoft has also published a Blog post that goes over this attack and potential mitigation steps that can be implemented along with details on new tools developed to counter this attack using their “AI Watchdog” and “AI Spotlight” features. The tools attempt to identify adversarial content in both input and outputs to prevent prompt injection attacks.

SCM Magazine has a good writeup on the attack and the defenses against it.

– Suramya

Source: Slashdot: ‘Crescendo’ Method Can Jailbreak LLMs Using Seemingly Benign Prompts

April 20, 2024

Don’t define yourself so narrowly that your wife not being impressed by vim is a reason for a divorce

Filed under: My Thoughts,Tech Related — Suramya @ 4:31 AM

When I first saw the screenshot below I actually thought it was a troll posting, but then I remembered that there are actually people in the world who define their whole personality and existence based on a single tool/movie/series/comics etc. For these people nothing is more important than their pet obsession. Case in point, we have a person here who’s personality is so one dimensional that the fact that their wife is unimpressed by Vim is enough to consider leaving their wife of 10 years.

doobltroobl -  My wife was unimpressed by Vim - please advise. Last evening I made a small demo to my wife. Nothing fancy, just jumping around the page, moving lines around, deleting several words at a time, the kind of things that blew my mind when I first saw Vim. Alas, my wife couldn't care less, and she even told me so. I've been married for 10 years, but I'm starting to have some doubts. So I'm appealing to this fine community in this moment of crisis. Where can I go from here? What path should | take?
My wife was unimpressed by Vim – please advise

I mean I am a geek and I have bored the ears off Jani talking about the work I do. In fact, one of my criteria for a compatible wife (before I married Jani) was that the girl should be a techie so that she can understand what I am talking about when I get excited about things. Then I grew up and realized that the ability to understand tech is not the most important thing in a partner. We both are polar opposites in most things except for the core principles we both live by and that makes/keeps the marriage interesting. She talks to me about Immigration & HR policies and a lot of it goes over my head, but we both support each others interests which is what is needed in a relationship.

I don’t get these people, why would you base your entire existence on a single point/item/thing. The problem is that because they only have this one item that they think makes them special they tend to react badly to people changing it. New people joining the group or even hinting towards liking it as well have to prove themselves to these people as being ‘worthy’ of being called fans.

A constant remark you will hear from these folks is that the change/reboot/continuation has ‘ruined their childhood’. Personally, I don’t think any single change has the power to ruin my childhood because I had so many different experiences and things I did as a child (reading/gymnastics/singing/soccer/mountaineering/family time etc) that even if I don’t like the changes to one of them I can ignore it and go on with my life.

I do realize that not everyone has had a happy childhood and that can cause people to fixate on things, but that is no way to live… Therapy is not just for weak minded people, it is a legitimate tool that helps you. Once you stop trying to fit everything into a single point of view obsessing about things you will find that there are so many more things in the world that you can consume and people you can meet.

Don’t define yourself using a single data point, go out and explore this amazing world we have and have fun in it.

– Suramya

April 19, 2024

Would Tesla cars still work if Tesla went out of business?

Filed under: Computer Software,My Thoughts,Tech Related — Suramya @ 9:18 AM

Dave Winer asked the following question on MastodonIf Tesla went out of business, would my Model Y stop working??” and at the first glance it sounds like a ridiculous question. In fact, if you told someone even 15 years ago that you were worried that your car would stop working if the company that manufactured it went out of business they would laugh at you. But thanks to the over proliferation of Things as a Service which is used by a lot of manufacturers to control and profit out of stuff that should be included this is no longer the case.

Auto manufacturers are now adding functionality as a service to their cars for things that were included for free earlier. For example, BMW started selling Seat Heating as a Service in 2022. Tesla has subscriptions for Premium connectivity and ‘self-driving’. Mercedes goes even further and charges an extra $1200/year to unlock a fully functional accelerator.

However the big problem with Tesla (and other cars) is that all the critical software components are protected by DRM. Once a device has DRM on it, Section 1201 of the DMCA makes it a felony to bypass that DRM, even for legitimate purposes.

We have already seen cases where owners are unable to start their cars from the mobile app when the Tesla servers went down (Apparently the manual key worked in this case). Others have seen problems starting their car when they lost connectivity during software updates. I do seem to remember reading somewhere that there is a phone home system built into Tesla’s that would stop the car from working fully if it could no longer talk to the company servers but I can’t find the link to the story anywhere.

So long story short, if Tesla went out of business a lot of the functionality in the car would stop working. As per a forum post on ‘Tesla Motors Club’ from 2021 the following would stop working if the car didn’t have connectivity (I can’t verify this because I don’t have a Tesla and no desire to get one):

  • control aircon remotely turn on/off adjust temperature
  • turn sentry mode on/off
  • control heated seats and heated steering wheel
  • open/close trunk
  • check location/speed of the car
  • unlock remotely
  • allow someone to drive the car (while you’re in a different location to the car)
  • Smart summon
  • vent or close the windows
  • sentry mode alarm alerts
  • restrict speed
  • valet mode

I think some of these might work with physical controls but not sure. I think I will stick with my Honda City for now 🙂

– Suramya

April 18, 2024

Debris from Space Station crash into Florida home destroying two floors

Filed under: Astronomy / Space,Science Related — Suramya @ 11:38 AM

A long time ago I watched a show called ‘Dead Like Me‘ where the main character (George) is killed in the pilot episode by a toilet seat falling from the deorbiting Mir space station. At that time it was portrayed as an absurd way to die and George is understandably upset about it.

Showing that at times life does imitate fiction, last month a piece of space junk from the International Space Station crashed through the roof and two floors of a Florida home. This was confirmed by NASA earlier this week. NASA and others have been dumping things into orbit with the assumption that they will burn up during re-entry and this debris was from a cargo pallet intentionally released from the space station three years ago.

The piece of space junk is roughly cylindrical in shape and is about 4-inches tall and 1.6-inches wide. NASA said agency staff studied the object’s features and metal composition and matched it to the hardware that had been jettisoned from the space station in 2021.

At that time, new lithium-ion batteries had recently been installed at the space station, so the old nickel hydrogen batteries were packed up for disposal. The space station’s robotic arm released the 5,800-pound cargo pallet containing the batteries over the Pacific Ocean, as the outpost orbited 260 miles above the Earth’s surface, according to NASA.

I think that this habit is a bad idea and should be reconsidered. When items burn up in the atmosphere they release toxic byproducts that pollute the environment and if the item doesn’t burn up completely (as was the case here) they can cause significant damage when they crash into the Earth.

– Suramya

April 17, 2024

When an Engineering Manager submits a PR

Filed under: Humor — Suramya @ 10:48 AM

Saw this in my feed and it made me laugh:

When the team lets the engineering manager submit a PR. 33 year old fruit bat with arthritis goes on 'flights' to keep him active
When the team lets the engineering manager submit a PR

Dedicated to all the other EM’s out there. 🙂

– Suramya

April 16, 2024

Creating a Tic-Tac-Toe game using a single printf statement in a loop

Filed under: Computer Software,Interesting Sites,My Thoughts,Tech Related — Suramya @ 12:19 PM

The printf statement in C/C++ (and other languages) is a fairly innocuous command that prints information to the screen (or any other output stream). Reading over JWZ’s blog post (The Turing Police say “X Wins”) I found that I was mistaken as it is much more powerful than that. In fact, a single printf statement in a loop can be used to create a full interactive game of tic-tac-toe and this is demo’d by Nicholas Carlini, who has implemented this and you can view the code over at their GitHub Repo: tic-tac-toe in a single call to printf.

Apparently, this was inspired by the International Obfuscated C Code Contest. The repo has an explanation on how this works and I am still going through it to wrap my head around how it works and understand it fully. Check it out if you have some time.

– Suramya

April 15, 2024

Hiring goons to beat up your manager when they pressure you to work harder is a bad idea

Filed under: My Thoughts — Suramya @ 8:00 PM

All of us have had managers who push you to do more work and work harder and there are various options on how to deal with them depending of the situation. Two folks in Bengaluru had a very unique approach to this, instead of working with the manager or switching jobs they decided the best option was to hire goons to beat up the manager. Once hired, the Goons attacked the manager in the middle of the road in daytime and the whole thing was caught on camera and the video has since then gone viral.

The victim, identified as Suresh, is said to be an auditor in a private firm. He joined the firm about a year ago. He reportedly has been pressuring two other employees of the firm, Umashankar and Vinesh, to work faster. He reportedly used to pressure the duo to clear transactions daily, which they used to take days to complete.

Feeling aggrieved, they purportedly engaged goons to attack the auditor.

I do get the temptation to have a manager beaten up when you feel that they are putting undue pressure on you but that is a wrong way to deal with such a situation. They could have reached out to more senior leaders and reported the pressure being put on them by the manager so that they can address it. Or complained to HR or looked for another job. There are so many other ways to handle this that I am stunned they thought this was a good idea.

– Suramya

April 2, 2024

Soon it will be possible to update Apple Devices while still in the box

Filed under: Computer Security,My Thoughts — Suramya @ 11:43 PM

Apple has come up with an interesting new technology that allows stores to install the latest updates to an iPhone without removing it from the box. If the technology works (and it looks like it does) it will remove one of the major hassles of buying a new phone or device which is to install the latest updates and patches on the phone.

This device can wirelessly turn on the iPhone, update its software and then power it back down. We still don’t have a full explanation on how it works but based on at a guess, it leverages the fact that the NFC chip in the phone can work potentially work even when the phone is switched off (it already works with a low battery). Placing the phone in the device would potentially trigger the NFC chip which would then start the phone in a special mode that allows it to connect to the WiFi and download the updates. Post completion the system would shutdown the phone and it would be ready to use.

In theory this sounds like a great enhancement but I fear that unless the system has sufficient controls and checks around it it will open up a whole new attack vector. Previously, there have been attacks where Nation States or Criminal organizations would intercept hardware being delivered to a target open the package, make changes and then reseal and send it on to the target. This is a sure shot way of ensuring that a device is compromised before it reaches the target, however it requires a lot of resources and manual effort to implement and there is a risk of exposure since multiple folks are involved. With this new update option an attacker just has to have physical access to the device and can be done by simply taking the packaged device and putting it in the updater for a little while.

This assumes that the security checks and authentication built around the process can be bypassed. That being said, once the tech is live there are going to be a lot of very smart people trying to bypass the checks to be able to update the phone. Keep in mind that there is nothing stopping anyone from updating the phone using this method even after someone is actively using it.

Source: Mastodon.social: arstechnica

Older Posts »

Powered by WordPress