Skip to main content

Posts

Java JDK Installing and Removing in Linux

Anytime with following command in Linux terminal you get to know the version of Java JDK installed java --version Installation There are two Java deployments available for you install (1) Oracle Java (oracle-java) (2) Java Open SDK (openjdk) OpenJDK Most of the linux distributions either come installed with OpenJDK however just in-case if you get it pre-installed, you can run below command to get it easily. sudo apt-get install openjdk-default Oracle JDK Add the repository first sudo add-apt-repository ppa:linuxuprising/java Update the changes sudo apt-get update Initiate installer sudo apt install oracle-java11-installer Then set the installed version of Java as default sudo apt install oracle-java11-set-default Now, running below command can help you check that the installation was successful java --version Uninstallation Below link has the detailed information: https://novicestuffs.wordpress.com/2017/04/25/how-to-uninstall-java-from-linux/

Hangfire with In-Memory Storage (ASP.Net MVC 4/5)

This is in continuation to my previous post:  Hangfire with ASP.Net MVC : Simplest Code To Start with . In this post we will see how Hangfire can be configured without the SQL Server as its backend for job scheduling, instead, manage all in-memory 1) Create ASP.Net MVC 4/5 Projects 2) in web.config file 3) Run  Install-Package HangFire -Version 1.6.17 or visit here for latest version:  https://www.nuget.org/packages/Hangfire/1.6.17 3) Run Install-Package Hangfire.MemoryStorage -Version 1.5.2 or visit here for latest version  https://www.nuget.org/packages/Hangfire.MemoryStorage/ 4) I am simply updating a table with a primary key (auto incremented), and string field "StampTime" with current date and time. 5) Open Global.asax.cs and paste below shown code. 6) Run the app and check the database. using Hangfire; using Hangfire.Common; using Hangfire.MemoryStorage; using System; using System.Collections.Generic; using System.Linq; using System.Th...

Hangfire with ASP.Net MVC : Simplest Code To Start with

It seems many are looking for using Hangfire with ASP.Net MVC 4 / 5+ SQL Server here is the simplest code example for you to start quick. I am using Visual Studio 2017 Community Edition 1) Create ASP.Net MVC 4/5 Projects 2)  <add key="owin:AutomaticAppStartup" value="false" /> in web.config file 3) Run  Install-Package HangFire -Version 1.6.17  or visit here for latest version:  https://www.nuget.org/packages/Hangfire/1.6.17 4) From the sample code, make sure you create database in SQL Server DB and update the connection string. 5) I am simply updating a table with a primary key (auto incremented), and string field "StampTime" with current date and time. 6) Open Global.asax.cs and put this code. 7) Run the app and check the database. The example code also showcase a hack on how to run jobs with few seconds interval. namespace HangFireDemo { public static class MyTasks { public static async Task< int > ...

Installing MySQL on Windows using a noninstall zip archive

At-least for me, configuring MySQL zip archive on server by reading MySQL team's unfriendly, multi-navigational  document  has been quite a challenging task. Here is my simplified version: Download mysql noninstall zip from here:  http://dev.mysql.com/downloads/mysql/ Extract do C:\mysql folder Under c:\mysql folder you will find my-default.ini file, make a copy of it and rename it to my.ini Open my.ini in notepad, You will find basedir and datadir as commented statements, just uncomment them (by removing # from the starting position of each line) and do the changes shown below basedir = c:\\mysql #installatin directory datadir = c:\\data   #data directory, it can be in some other drive too! Open cmd.exe as administrator and type below commands one after the other Go to bin folder where mysqld.exe file is present cd c:\mysql\bin Below command will initialize the data directory, by reading my.ini file (in our case its in c:\mysql folder) ...

How a university is saving 2.5 tons of paper every year?

Considering the current environmental imbalances, many non-profit organizations (like The Nature Conservity , SayTree …and many others) around the world working desperately to save plant  and trees. It is our responsibility too. We felt starting with universities is the better place to spread the awareness. With this, we also made universities administrative work more manageable and effective. The story I am going to share tells you how a university quietly worked and stands as a role model by saving tons of paper and millions of rupees of its own and its students. In the year 2012, VT University (Visvesvaraya Technological University also popularly known as “ VTU ”) Belgavi (India), has moved its thesis evaluations to online to effectively reduce its use of paper and streamline the process online. University’s this decision made it save several Lakhs of rupees (~ tens of thousands of dollars) every year in paper cost while giving faculty and administrators more direct a...

Hosting your website? Know the Darkside of Big Brands

Please note, Below mentioned hosting providers are reputed organizations with well established infrastructure. This post is for your information and only intended to keep you informed about their 'policies' that turn evil when you have cut throat challenges. Hostgator We heard a lot about Hostgator and we registered one of our customers website with them without giving a second thought. Few months later, during our support phase on our customer's website, we encountered Hostgator feature and support challenges which I think not many experience unless they do some hardcore technical activities with their website. Many said hostgator has good support track. For us it was always waiting for 20 or more minutes to connect Hostgator support executive for online chat. This can be excused if it is ones in a while, but that was not the case for us. If you are running an e-commerce kind of website or offering online services every minute, then 20 minutes wait time feels ...

Startup Notes: Software Sales and Product Quality

When I visited a potential customer (their minimum monthly business transaction is more than 10 Lakhs) to discuss about our software products and services, they showed interest to spend only 12K for the product worth 70K. I denied to sell our software solution to him. Few days later they succeeded to get one for 10K (from some other startup) for their business. Few months later the same business owner called me back and told me that the software he purchased for low cost, is with many defects and support from vendor is not up to the mark. He also expressed that “I started hating software startup companies. Are you a startup?” For next few days we had several exhaustive discussions and finally we managed to deploy our software solution to the customer with our previously offered price. Now, he is our happy customer. When I checked, the software vendor who sold software for 10K is a 2 years old startup and he is struggling to get more customers bothering least about his software quali...

So, That's it!

2 months back If you are like me, then there is a list prepared by your mother or wife sitting in your pocket reminding you to purchase some items on your way back home in the evening :) I slightly deviate from my regular walking route and reach the shop where I buy most of the household items. By the time I finish shopping and reach home I am almost dead tiered and never dare to imagine to sit and document how much money I spent few hours back. 1 month back When Srushti's lab released a private beta version of Expense management application,  ServeEase  and suggested me to use. I am reluctant to use it until I explored the following feature. Today I always suggest my wife to include purchase items to " Expense " section of ServeEase. She does add items marking their price as zero. So, everyday evening on my way back home, I make sure to check expense section on my mobile and get all items that are with zero price tag. That clearly hints me these are the items...

Windows forgets visual effects settings on log-out or reboot for non-administrator account

Steps given here worked for me with Windows 7 SP1. Hope you may find it useful. Start -> Run-> cmd (press enter) -> type SystemPropertiesPerformance.exe This gets you the "System Properties" window, go to   Advanced tab -> Performance Settings -> Visual Effects tab and choose "Adjust for best performance" and click OK. Note: While doing all these UAC doesn't show-up as all changes you are doing will be saved in your logged-in profile account. Reference material used:  http://msdn.microsoft.com/en-us/library/ee330866.aspx Feel free to comment your findings.

Top 10 checks before buying question paper setting and generation software

When an educator start searching for question paper generation software, he/she will find plenty products claiming they are the best in automating paper setting and generation process. As the number of similar type of software is more, complexity to settle down to one product increases. Let me put some helping points to simplify software selection process.  Software price tag is bit more expensive than your planned budget   -   but wait!   Many of us feel that software price is fixed and not negotiable, In-fact, some companies do offer discounts if they are selling product under promotion period . so make sure you check with them regarding the discount. It's a customer right to negotiate, nothing bad about it! You checked features list, all competing software has all-most all features! Which one to pick for analysis?   - Really, this is a puzzled situation. In that case, Look for the product screen shots or ask for a demo. Take a scenario, such as, how...

Hiring a Super Programmer?

When it comes to programming, I noticed most of the super programmers share similar attitude and thought process. I started identifying similarities whenever I took interviews. After meeting 3000+  potential candidates (thanks to all my previous companies choosing me as interviewer), I dared to have a quick points to spot a 'Super Programmer' from the pool of programmers. When I shared these points with my colleagues, they found it useful during their interviews. Please note These points are strictly valid for 'Rock Star Programmers' only. If you apply these observations to a good programmer, you may loose him.  I always don't follow these points very strictly in interviews as there will be many other aspects to consider, However these can just be used as indicative pointers if you feel good.  So here it goes, They may be little nervous in the beginning. When you ask them about their interesting project, their eyes glow and for a moment they...

Openness with Free Web Fonts

If you want to design a webpage with stylish font. There are few important things to consider before using graphical text images. If you prefer search engines bring traffic to your web page, it has to be  Search engine friendly , as of  now crawling engine ignore text written in images. (BTW, can search engines improve to extract text from image and index? like  Quick Quest  does ;) The font should be rendered and displayed consistent across multiple browsers . When viewed through mobile browser, it should wrap (as normal text do) to fit the small screen. Its now old fashion to choose the most common font (either Times New Roman or Arial, that are for sure exist in users computer) and design the page accordingly to stay safe. Things have changed, so the approaches. To respect above points, HTML font embedding became essential need to design impressive web page ( SrushtiSoft.com  home page is using font embedding. Its live now!). Bac...

In This World - 16

"Relationship shouldn't be complicated, if it so, then its time to look at it from a different perspective and attempt to resolve challenges, if that doesn't work at any cost, put a period and move on." Well..I have one more view to share which may sound bit contradictory to what I expressed above, but its indeed an unarguable truth! "Move on - is the simplest one to say and most difficult to go through!" :)

Windows Service or Windows Task Scheduler?

Are you planning to create long running background process (in C#) and thinking to build a Windows service? Then wait for a moment! Windows Task scheduler (Start->Programs->Accessories-> System Tools-> Task Scheduler) can also be a decent choice! "Windows Vista and higher windows (server) operating systems are offering matured Task scheduler with many advancements like Triggers, Actions, Conditions, failure recovery, email notifications, security and much more." Its obvious that many programmers think Windows Service is easy to maintain and what it can do, task scheduler can’t . But now, it’s time to look at Windows Task Scheduler [also at Microsoft white paper ] and see what great features it is offering. When to go for Windows Service? Okay, let me try to answer this popular question in one line.  Windows Service is suitable for receiving service request ' anytime ' and process ' instantly '. Just think of anti-virus scanner, netwo...

Tracking Downloads in Google Analytics

I wanted to track download count of Quick Quest demo version hosted on SrushtiSoft through Google analytics. I faced obstacle during the implementation process and wanted to share here, hoping to save your sometime if you are also trying to do the same for your website or blog. Google neatly guide you how to do it, http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55529 with a slashing message "This article is for the latest version of the tracking code". But it just doesn't work at one-shot!  I had to spend sometime to find a way to troubleshoot "pageTracker is not defined" javascript error . Finally, the post on StackOverflow puts you on right path: http://stackoverflow.com/questions/3503511/google-analytics-pagetracker-is-not-defined Though google talks about the approach in detail here: http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html chances of it going unnoticed is more.

Buck

"Ice Age 3: Dawn of the Dinosaurs" is a neat pack of humor, adventure with be on the mind characters. The fun begins when alone, One-eyed, dino-hunting weasel called 'Buck', who is sophisticated yet not so complicated, agrees to find 'floppy green thing' with his set of rules and killing his life time enemy Rudy (T Rex Dino). After that there are many eye catching events and nice animation work. In the end Buck kill Rudy and says "He is gone! What am I suppose to do now?". In that very moment, I see him losing excitement in life. Not so fascinatingly, he agrees to come to the world of Ice age. All of a sudden when  Rudy roars!! Buck finds reason to go back to his world and fight with Rudy all alone.      Its been many weeks, Buck is still in my thoughts and there is no sign of him stopping his blabbering. His existence has no meaning if there is no Rudy. He only knows living for finding opportunity to defeat Rudy. That's his purpose and he i...

Opera Unite - Browser with New Possibilities

When Microsoft, Mozilla and Google are competing hard to increase browser share by tweaking their products, opera silently concentrated on innovation and sprung with neat free stuffs. Opera’s new suite ‘Unite’ lead the way in defining how we can maximize our internet experience through its impressive capabilities. This amazing software is not just a ‘browser’ loading web pages lightning fast with Turbo technology; it’s a web server in the browser, messenger, media/file/photo sharing host, a fridge (people can leave a message for you) and can be more in future!!! If you are using FireFox, Chrome or Safari and you have set of strong technical reasons for why you are using it over Internet Explorer, then it’s time for you to checkout Opera Unite 10. From the technology point of view, your satisfaction is guaranteed.

2 'Why's

1. Why Microsoft is still using Flash when its own baby- Silverlight light is out there? 2. As shown above, having popup menu open on IE8, why Windows Start menu does not appear when windows key (on keyboard) is pressed? (Windows Vista with SP2 Operating system ) Grr...