Skip to main content

Life is a mistake

 Life is finding the answers from mistakes.

人都在錯誤中找到答案。


I have written a few thousands line of code. I do not want to clear it away despite having many errors. I would patch it up when I found the errors and adding more ridiculous code to it to correct them. Then it caused another problems like a jigsaw puzzle having similar parts and colours. I patched one side but it was more fitting on the other side and you do not know which one has been missing. I looked back at the code, there is actually a shorter better way. I ironed up my heart, delete the code…. and with all the iron heart I have just ironed out, do the edits with clearer picture and a few hundred lines less. Well, could I have done it earlier on? Maybe know. The understandings and realisation of a mistakes came from the patching and they gave me a clearer picture when I am finally tired with patching and catched enough errors to know how bad my code was. Though it is still bad but at least the problem handling is still predictable. Not like a surprise. The only release is to change early and probably save more time than the endless patching of code to fix the mistakes. The structure is first. Like my first program, I realised the structure that I cannot change like I did in test environment. Then my code was done in that environment. If it is different from production, problem will arise. I think the first step is to ensure all structure is same before developing and it should be set first before developing. Never put yourself in a loop also. I tried to do something that I kept on looping myself and actually that loop was very unnecessary. Because it doesn’t matter but because the code is there and I have just that idea out of nowhere it would make it better. Turned out, I only need a few of that line and enough to make the code and checking work.


Story short. My eyes are tired today. I felt wide awake at night. Have been doing work at night. Most of the time I think better at 2 - 3 am… I changed the code around 11-12 pm last night. Successfully implement the first change until 3 am. Now adding more because of that stupid loop in the design. It gave me a lesson, never to design a loop if I were to design. If I did, hell. Summing it up, it is all about learning from mistakes but the answer is, do you get out of it or you decided to continue to dwell in it. 


After travelling down the roads, if you found a shortcut, probably that’s the best answer. If you found it but not use it, that’s another thing. 

Comments

Popular posts from this blog

Bank

 A bank asked me to apply for their job. I was a bit skeptical whether it was scam. After a few conversations, it seemed legit. They needed my updated resume. I didn’t have. Go back to my old canva, then dragged out the old one. I realised I have a Word document ones after I sent the pdf ones. I should have just used the Word document because it was the latest. Anyway, I don’t have finance background so I might not get it. Based on their requirements, I think there are lots of things I have not yet explored. However, if I can finish my task earlier, maybe I can go for a test or two to see what are the skills that I lacked of. I felt a bit off because I just kept on doing uwp… I also needed to back up against my current job because I felt insecure about it, based on the recent months I was there. I am not sure if they want me there just to solve few issues then once solved then don’t need me anymore. Because every moment I was there, I felt a bit like it. They are also spending quit...

Peculiar

 Not sure how I should feel. Good or bad. Mum used to be very good with tech. Well, yesterday, have spent two hours over the phone just to help her log in to my account. In the end, she only managed to download and update her Netflix app on her iPad. iPad actually a bit different from Android so she has lots of difficulty linking App Store is equivalent to Google Play… When I said search, she literally search by her eyes… I cannot help but laugh at myself. Programmer and code did the same. I am not around so I can only do these for her. Sigh… Should have gave her a tutorial during CNY…  My screen is back… The touch screen I bought previously so that it is easier for me to do work. The pc that I bought previously is a good investment in the end. Thank God or the manufacturer that both working fine so far.

Funny Things

 Scam has definitely affect everyone daily like never before. When my cousin got my number and wants to connect, she put a photo on whatsapp’s profile photo and also sent me her picture to verify she wasn’t a scammer. The fact is that scammers did that too. In fact the more professional the photo was, the more likely it is a scam. When I applied a job, I will also worry it is a scam. Especially no email and I cannot find much on the internet. The only thing that makes the interview sounded right was the interview ways of speaking and a more lifelike profile picture. I chose to believe it and if it hadn’t post on mycareersfuture, I wouldn’t have believe the job was legal when email has problem. I thought email was always the sign of legitimate business or scam. In 2024, anyone can doubt now. I can receive a legitimate email or message that was scam and also non-legitimate as not scam… How inconvenient so I treated all as a scam. Better safe than sorry. Most people fell to the scam i...