Posts

Showing posts from 2019

JSON handling (extrapolated)

Image
Json can be a great pain in the memory:) .I've worked with JSON files up to 4 GB ,and believe me ,regular text editors start overflowing ,its like the whole PC gets frozen on JSON ,like its importing data not just loading it . It took me a good day about 18 hrs to figure out there is a great json viewer ,and guess what its called ,"JSON viewer" Except that its made by MiTeC .so its called MiTeC  JSON viewer . It loads the script not in a text editor but just a neat and dev friendly environment ,you can see distinctly icons that differentiate between the super objects blocks ,elements and attributes. It also doesn't deny you from looking at in neat text if you want to copy it without editing ,and still it doesn't lag a second. Now it also has an editor button, if you press it ,it will take some time to show the text but it isn't an awful amount of time ,I've hidden some of the JSON info here as it was for a critical client ,so don't worr

Dual monitors with benifits

Image
My coding setup Optimized coding setup As you see I prefer ambient lighting ,as dual monitors can blind you over time or cause you to live in an alternate universe.Using dual monitors is a life saver ,specially when you have this old raged core 2 due PC that you cannot gain anything from by selling .You can just use it for browsing taking off some good ram off  ,as well as saving some code resources and other programs that aren't the IDE or antivirus,except games of-course ☹️ . So how can this happen ?.How can the IDE cook without stack-overflow ? .How can fil;)es be transferred from one pc to another without using some messenger app And the solution developer ladies and gentlemen  is ..... "Input director". Link Its  very simple app ,you just download it on both PC's and it magically works on both as one PC ,you can transfer files by dragging ! and copy text effortlessly ,using the laptop you are working on ,you can also type on one l

The clean hands strategy

Image
Testers can be a great bug inside the developer's head .Vis-versa is also true ,there is no reason why people should lose their friendship because of code .The code needs to be regarded as a separate entity that doesn't belong to the developer.The dev has to tell the tester ,"Man this code has its own personality ,its like an artificial intelligence thing you know ".This is the first step because testers think the developers are doing it on purpose ,like they know the problem but don't think right because regression is always there.Or because the dev is a lazy coke addict . Devs also have a paradigm about testers ,they think testers are always seeking to find their bugs not only in code which some devs consider their property but in the dev himself .They think the tester is a spoiled brat who nags about the existence of a red asterisk or a stylish title in the middle of the night,not knowing the amount of hard work that was necessary for more important stuff

Pair programming

Image
The advantage of right  pair programming over lone programming is epic ,whole modules can finish in a matter of days .That other wise would take weeks only to debug.So how does this happen . Basically a couple of developers work on one station ,one of them codes and the other contemplates ,then they switch sides every now and then ,one dev can use his right brain and the other his left .This has constructive implications on overall momentum of the project .As flowing inside code as well as contemplating about project goals are both essential to effective programming and clean code. Not only is this faster but also the devs get motivated because both are thinking about the same problems ,also this decreases coffee usage by almost 51%,and overall workload by 60% .I had worked with a senior dev and coding hasn't been more effective ,we were able to finish the most complicated module in our project ,accompanied with its debugging and tests in less than a week .

Coders fate

Image
Truly we developers feel so limited by frameworks , guidelines and documentations .If we can just work in total freedom from all that,if we don't have to think about that ,we can be more free  of technicalities.People would understand that we are artists and very dedicated ones indeed. We can go through so much just to implement a concept that can be considered insignificant.We can pay a high price for our imagination . That's why the best programming is no programming and the best code is no code .The very best, the finest ,is utterly spontaneous.Just an idea ,an imagination ,manifesting itself without much technicality.But this is how life teaches us . Now Google is providing support for Flutter so it can be truly cross platform for both  Windows & web . https://dev.to/carminezacc/google-s-flutter-framework-could-change-software-forever-by-bridging-mobile-desktop-web-and-embedded-563j This is good news for us because ,this means that creativity will

The ultimate discovery

Image
Imagine if you can code without coding , type without typing,do without doing ,this is the ultimate discovery. There is real love in coding . Its this feeling of being totally synchronized , like you're connected to a super computer that compiles in your head ,the journey starts mattering more than the results .And If Adam ate the fruit of knowledge ,you've eaten the garden. But what's wrong then ,why sometimes do I feel tired ,used up,dragging myself like a drug addict till next day ,with low productivity.Why sometimes did I feel frustrated that nothing is going to ship in time of deadlines .Why did I get Irritated when the tester told me about a previous issue at 4:00am .Or about this old bug that really shouldn't show up after all this time.Really this is the monumental struggle a software developer faces. So how to deal with that ,why does this happen so ferociously for us developers.It turns out we have been feeding our ego for so long ,we cannot accep