Saturday, November 29, 2014

Healthy to change your programming language occasionally ?

I did a bit of programming in Python last night. It was fun to get back into it after a year break when I did my original Python tutorial. The factory patterns is something I have done many times in .NET using C#, but I wanted to see if I can develop it in Python without cheating and finding solutions online. It was a fun exercise. My ultimate goal is to set up a little framework for building enterprise-level applications. Having this accomplished in .NET, I really want to do this in Python. The requirement for myself is:

  • the framework needs to be n-tier
  • at least the client and server tiers to be able to run on two physical servers
  • each vertical slice or entity in this framework needs to be lightweight and it should ability to run as a service on its own

What I am trying to say that it is ok to step out of your comfort zone and attempt to build enterprise-level applications in a different programming language. It is healthy for us.


- almirsCorner.com -

#tech #programming #coding #code #Python #DotNet #Csharp #SoftwareDevelopment #SoftwareEngineering

DIY is becoming harder from day to day

I changed the battery on my Mini Cooper today. The engine bay is so compact that the battery is placed very close to the windshield under the plastic that is the base for the vipers. It is a 2009 model and I bought this car about 2+ years ago and this is the first time changing the battery. It took me a while to get to the battery. After I changed the battery, I quickly consulted with a tech at the Mini dealer and he told that I would need to have the car programmed to accept the new battery specifications. The computer needs to know when to start and stop charging based on the specifications.

Cars are getting more complicated these days and many components are controlled by the car computer. When my car could not start, I could not even put the car in Neutral to push it out the parking spot. These type of things make me get a car that has minimal electronics. Mini Cooper is just an example. I like my Mini Cooper, but I now totally understand why Magnus Walker sticks to 1960s and early 1970s Porsches.

DIY is becoming harder from day to day.


- almirsCorner.com -

#tech #diy #cars #ECU #computer #carbattery 

Wednesday, November 26, 2014

Reaching the milestone of 7,000+ views / month on my YouTube channel (almirx101)


Another milestone is reached on my YouTube channel http://www.YouTube.com/almirx101

Lifetime views: 152,276
Thank you for watching.



- almirsCorner.com -

#almirsCorner #almirx101 #youtube #milestone

Sunday, November 23, 2014

Software Design and IKEA - what do they have in common?

Software design and integration could be compared to building IKEA furniture as long as the granularity of your modules is down at the low-level as IKEA parts and configuration.

What is the sweet spot? You can only achieve it if you put the "Keep It Simple Stupid" hat on as you are designing your software. Don't worry; it is not an exact science.


- almirsCorner.com - 
#tech #programming #software #softwaredesign #architecture #coding #integration #softwareengineering 

Sunday, November 9, 2014

Battery life of your smartphone - can it last 48 hours?

A lot of times we get frustrated how the battery life of our smartphones is not good enough to get us through the whole day. That is true if we use our smartphones as a computer replacement or as a tablet replacement.

If we used our phones for what they were originally invented then we would get much better results. I turned off notification services on my iPhone 5c and used it ONLY for:

  • quick phone calls
  • quick SMS messages
  • quick glance at emails
  • taking a few pictures

After 1.5 days, the battery is 88%.

We should have a 48-hour battery-life challenge.


- almirsCorner.com - 

#smartphone #iPhone #battery #batterylife #48hourBatteryChallenge #tech 




Sunday, November 2, 2014

Gas prices are going down. Are you buying a truck or an economy car?

Gas prices are going down. You could afford that truck and the fuel for it even though your drive to work is 20+ miles. Right?

However, it is time to buy that economical car now because you can negotiate better price and it will pay off in the long term.

Here is a good Gas Cost Calculator that I put together to help you with these decisions:

http://almirscorner.blogspot.com/p/gas-cost-calculation-comparing-costs.html


Here is an example of comparing a random economical car with a random truck using the current gas price of $3.27 per gallon:






- almirsCorner.com -

#gas #MPG #gascost #fuelconsumption #consumption #cars #carreviews #calculator


How to purge files on your server with automated batch script?

If you are constantly running out of space on your server and you need to purge older files that you don't need, then here is an example of how to do this with batch scripts on Windows platform:

http://almirscorner.blogspot.com/p/purging-deleting-files.html



- almirsCorner.com -

#batch #script #batchscript #forfiles #commandline #command #dos #doscommands #purgefiles #delete #tech #scripting #programming #devops 

Monday, October 27, 2014

Invoking a batch script on a remote machine using a script on the client

I have been doing software development for 17 years. I started on Unix platform with C++ and then moved to C++ on Microsoft platform and eventually transitioned to .NET and C# programming. In the meantime scripting has always been a fun thing to do on the side. Scripting is just means of accomplishing something quickly in order to simplify the development for the team and the deployments for the team. For example, some of the scripts that I will eventually share with you are:

  • Quick scripts that deploy code to a server and start/stop services
  • Scripts that monitor the changes on the server throughout the day
  • Scripts that notify you when there is a change on the server and what change it was
  • Scripts that monitor the logs for your application and send you the daily summary on the type of errrors
  • etc.....

The following example is how you can start scripts on a server by sending a signal from the client computer. There are many different ways to implement. This is one way of doing.

http://almirscorner.blogspot.com/p/invoking-batch-script-on-remote-machine.html



- almirsCorner.com -

#batch #batchscript #scripting #doscommand #commandline #programming #devOps #automation

Wednesday, October 22, 2014

Cars & Coffee in Irvine - Oct 18, 2014

Here is the album with a few pictures:

Album - Cars and Coffee in Irvine on Oct 18, 2014








- almirsCorner.com -

#cars #CarsAndCoffee #Irvine #OrangeCounty #SoCal #California 

Normally Aspirated Engines - Are they becoming collectibles?

Have we reached the era where normally aspirated engines become collectibles?

Everybody is introducing turbocharged engines across all models of their cars. Benz and BMW have done it. Mini has done it. I now hear rumors about Porsche doing it and base Carrera having 2.9L turbocharged engine. I understand that reducing the size of the engine and adding a turbocharger improves efficiency and gets you better gas mileage. On the other hand we have some Japanese manufacturers (Mazda, Honda, Toyota) who are sticking to NA engines and they are building high-compression engines which also increases efficiency and improves gas mileage. 

So the NA engines are still here to stay.


- almirsCorner.com - 

#turbo #cars #Porsche #Benz #BMW #VW #carreview #turbocharger #MPG #fuelconsumption 

Tuesday, October 14, 2014

Programming - How good are you in null checking?

We all have written code where we did not do proper null checking and in special scenarios it ends up getting "null object reference" errors.

This post is just to remind myself and you about this so you can think about it as you are coding. I hope that the following video will resonate with you. Thanks.

https://www.youtube.com/watch?v=THNoJeBxhDE





- almirsCorner.com -

#programming #programming101 #softwaredevelopment #null #NullObjectReferenceError #code #coding #coding101 #tech

Saturday, September 27, 2014

Cars and Coffee - Sep 27, 2014

The link for the album: Cars and Coffee - Sep 27, 2014

1st Place:   Porsche 356




2nd Place:  BMW 2002



3rd Place:  Swag Van




- almirsCorner.com - 
#cars #CarsAndCoffee #Irvine #OrangeCounty #SoCal


Wednesday, September 24, 2014

Reaching the milestone of 6,000+ views / month on my YouTube channel (almirx101)



Another milestone is reached on my YouTube channel http://www.YouTube.com/almirx101

Thank you for watching.





- almirsCorner.com -

#almirsCorner #almirx101 #youtube #milestone

Sunday, September 14, 2014

Comment your code, or NOT?

There is a saying: "Real programmers say to not comment your code. They say if it is hard to code, then it is hard to read". 

However, the problem is when bad/average programmers follow this directions believing they are real/great programmers; then you end up with unmaintainable code that does NOT have comments




- almirsCorner.com -

#programming #coding #code #codereview #codecomments #softwaredevelopment #softwareengineering #tech #almirsCorner 

Friday, September 12, 2014

Doing technical things right and not for the sake of process. Right?

Doing technical things for the sake of process is wrong, but doing technical things right that enables trace-ability in your process is awesome. This saves money, time and your end customers win.

- almirsCorner.com -


#tech #SDLC #PDLC #softwaredevelopment #softwareengineering #almirsCorner