Posts

Showing posts from March, 2023

Is Solana dead? Another network outage....

Image
Is Solana dead? Bitboy Crypto recently uploaded a video on Solana's network outage. On February 28, 2023, Bitboy Crypto wrote: "Did this top 20 project just get exposed for lying? The answer to that question is yes. It's no surprise... We're talking about Solana, everybody's favorite rug pull. Solana has been lying. I've been trying to tell you guys, this project is dead and people do not want to accept it."- BitBoy Crypto Solana posted an article on its website regarding the network outage. Solana wrote: " At approximately 05:46:16 UTC 2023-02-25, Solana Mainnet Beta suffered a significant performance degradation, eventually leading the validator community to opt for a restart of the network. The cause of this is still unknown and under active investigation. Due to the performance degradation, validator nodes automatically entered vote-only mode, a 'safe mode' designed to help the network recover in the event of data unavailability. While con...

Refactoring code

Image
I worked on refactoring my code today. I have been importing several CSV files and decided to generate a function to do the work. At the beginning of the project, it was better to import the files individually because each file is different, and it was better to check the integrity of the file before appending it to the primary dataset. However, as time passed, the datafiles' layout became more consistent, and it was better to create a function to do the heavy lifting. I had problems creating the function, and this was due to differences in the files and coding errors, but after a few iterations, it was done.  While the program still takes the same time to run, the function makes the code cleaner, shorter, and easier to read. Overall, today shows the benefits of working on long projects. These projects tend to grow over time, and it is crucial to refactor the code periodically, try to automate processes, and use new techniques. Here is the code :