Your search did not yield any results.

Feel free to contact us in the event that the training you require is not listed. We may be in a position to offer this training by way of our partners or by creating a tailored class.

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

Blog Entries publications that: entertain, make you think, offer insight

 
 
Python is a powerful tool that can be used for many automation tasks in the workplace. It’s notorious for being one of the most simple and versatile options available in the world of programming languages. For this reason, many people choose to automate an enormous amount of their workflow with Python. We’ve compiled a few ideas for automating the boring stuff using Python. Let’s take a look.
 
Managing Emails
 
Most businesses rely on emails being sent out regularly in order to ensure everything runs smoothly. Doing this by hand can be boring and time-consuming. To alleviate this, there are packages written with and for Python that enable you to automate certain aspects of this process. Adding and removing individuals from mailing lists can be automated as well, especially if your business has a policy to automatically add and remove people from certain mailing lists when certain conditions are met. For example, after a customer of yours doesn’t interact with your company after an extended period of time, it may be prudent to remove them from your mailing list, or you can send them a premade email reminding them of your services. This is just one way that you can save your company time and money using automation with Python.
 
Repetitive File System Operations
 
Even for personal tasks, Python excels at performing repetitive file system operations. For example, it can convert files, rename, move, delete, and sort files as much as you need it to. This can be useful in many ways. If you have a folder of mp3 files that you need to compress, this can be sped up using Python. Additionally, you can create a set of criteria that need to be met in order for a given file to be considered useless, and then delete it. As a side note, be extremely careful when automating any sort of file deletion or altering, because a bug in your program can cause severe damage to your data and even to your computer. Still, these tools are extremely powerful and can be life-saving when used properly. 
 
Start-up Tasks
 
Whether you’re running a server or just using your own personal computer, there are always tasks that need to be done when your computer starts up, or you’re beginning a certain process. For example, you can automate the task of backing up your email inbox. This can ensure your files are being kept safe, and it can be triggered whenever your start up your computer. Additionally, if you need to collect or create any sort of logging data in order to document daily operations, you can use Python to alleviate some of these time-consuming processes. 
 
Web Scraping
 
And finally, we have Web Scraping. This process may be slightly more advanced for a beginner Python user, but it doesn’t take a terribly long time to learn, and it opens up a whole new world of opportunity in terms of data collection and management. Web scraping is extremely important because it not only allows you to automatically search for certain pieces of content on the internet, but it can also alert you to changes and updates to existing websites. If your business relies on certain trends on social media, you can scrape sites while searching for the presence of certain keywords, and if you’re a stock trader or bitcoin guru, you can automate some of your price-checking and set custom alerts for price changes. The field of web scraping is enormous, and there is a practically infinite amount of content written on this particular subject. If you’re interested in learning more, there are vast amounts of free resources on the internet that can help you get started. Web scraping is certainly one of the most important skills to have in almost any line of work.
 
Get Creative!
 
At this point, we’d like to advise you to get more familiar with the libraries and APIs that are available to you. Each individual workflow is different and requires familiarity with different technologies. Because of this, you will know better than anybody else which items are worth automating and which aren’t. Some people try to automate everything, and some people prefer to do certain tasks manually, but sometimes spending a few hours automating a job that takes one minute will end up being a time-saver after only a few months.
 
We’ve gone over quite a few options in this article, but no single human alive is familiar with absolutely everything Python can do. Hopefully, you’re now more familiar with the options available to you, and you should now be better equipped to search for further information that is more relevant to your specific use case. Have fun digging into the many nuances and functionalities that the Python language has to offer!

In programming, memory leaks are a common issue, and it occurs when a computer uses memory but does not give it back to the operating system. Experienced programmers have the ability to diagnose a leak based on the symptoms. Some believe every undesired increase in memory usage is a memory leak, but this is not an accurate representation of a leak. Certain leaks only run for a short time and are virtually undetectable.

Memory Leak Consequences

Applications that suffer severe memory leaks will eventually exceed the memory resulting in a severe slowdown or a termination of the application.

How to Protect Code from Memory Leaks?

Preventing memory leaks in the first place is more convenient than trying to locate the leak later. To do this, you can use defensive programming techniques such as smart pointers for C++.  A smart pointer is safer than a raw pointer because it provides augmented behavior that raw pointers do not have. This includes garbage collection and checking for nulls.

If you are going to use a raw pointer, avoid operations that are dangerous for specific contexts. This means pointer arithmetic and pointer copying. Smart pointers use a reference count for the object being referred to. Once the reference count reaches zero, the excess goes into garbage collection. The most commonly used smart pointer is shared_ptr from the TR1 extensions of the C++ standard library.

Static Analysis

The second approach to memory leaks is referred to as static analysis and attempts to detect errors in your source-code. CodeSonar is one of the effective tools for detection. It provides checkers for the Power of Ten coding rules, and it is especially competent at procedural analysis. However, some might find it lagging for bigger code bases.

How to Handle a Memory Leak

For some memory leaks, the only solution is to read through the code to find and correct the error. Another one of the common approaches to C++ is to use RAII, which an acronym for Resource Acquisition Is Initialization. This approach means associating scoped objects using the acquired resources, which automatically releases the resources when the objects are no longer within scope. RAII has the advantage of knowing when objects exist and when they do not. This gives it a distinct advantage over garbage collection. Regardless, RAII is not always recommended because some situations require ordinary pointers to manage raw memory and increase performance. Use it with caution.

The Most Serious Leaks

Urgency of a leak depends on the situation, and where the leak has occurred in the operating system. Additionally, it becomes more urgent if the leak occurs where the memory is limited such as in embedded systems and portable devices.

To protect code from memory leaks, people have to stay vigilant and avoid codes that could result in a leak. Memory leaks continue until someone turns the system off, which makes the memory available again, but the slow process of a leak can eventually prejudice a machine that normally runs correctly.

 

Related:

The Five Principles of Performance

In Demand IT Skills

Recently, the new iOS update had added Reminders to the iPhone. If you ever found yourself setting notes on your iPhone to remember to do things, such as buying milk while at the grocery store, this process has become leagues upon leagues simpler, and faster. On your iPhone is an application named “Reminders”. Tap on this application and experience the new world of To-Do lists.

 

Right away, you are greeted by a screen that looks similar to a notepad, where you would be scribbling down reminders for this, and for that. To start off, tap on the plus button, and you are able to input the reminder you want. Say you want to be reminded to “Buy Milk.” Just type that into the application and you’re good to go.

But wait, there’s more. What this new application brings to the table that is extremely useful is the fact that your iPhone can remind you to do that task at a certain location, which, in this case, is buying milk. If you had saved your regular grocery store in your Maps application as a favorite location, you are able to do so. (To save a favorite location, go into your Maps application, search for your nearest grocery store that you regularly shop at, tap on the pin, tap on the blue arrow to get more information, and “Add to Bookmarks.”) In order to remind you to buy milk at your favorite grocery store, slide the “Off” to “On” and you are now able to set where you would like to be reminded at, and at what point in time. Now, you will never leave the grocery store without buying milk!

One of the most anticipated features that came on the iPhone 4S was a new thing called: Siri. Zooming out before concentrating on Siri, mobile assistants were the new rage. Beforehand, people were fascinated by the cloud, and how you could store your files in the Internet and retrieve it from anywhere. You could store your file at home, and get it at your workplace to make a presentation. However, next came virtual assistants. When you’re in the car, it’s hard to send text messages. It’s hard to call people. It’s hard to set reminders that just popped into your head onto your phone. Thus, came the virtual assistant: a new way to be able to talk to your phone to be able to do what you want it to do, and in this case, text message, or call people, and many other features. Apple jumped onto the bandwagon with the iPhone 4S and came out with the new feature: Siri, a virtual assistant that is tailored to assist you in your endeavours by your diction.

 

Getting started with Siri

To get Siri in the first place, you need an iPhone 4S; although you may have the latest updates on your iPhone 4 or earlier, having an iPhone 4S means you have the hardware that is required to run Siri on your phone. Therefore, if you are interested in using Siri, check into getting an iPhone 4S, as they are getting cheaper every single day.

 

training details locations, tags and why hsg

the hartmann software group advantage
A successful career as a software developer or other IT professional requires a solid understanding of software development processes, design patterns, enterprise application architectures, web services, security, networking and much more. The progression from novice to expert can be a daunting endeavor; this is especially true when traversing the learning curve without expert guidance. A common experience is that too much time and money is wasted on a career plan or application due to misinformation.

The Hartmann Software Group understands these issues and addresses them and others during any training engagement. Although no IT educational institution can guarantee career or application development success, HSG can get you closer to your goals at a far faster rate than self paced learning and, arguably, than the competition. Here are the reasons why we are so successful at teaching:

  • Learn from the experts.
    1. We have provided software development and other IT related training to many major corporations since 2002.
    2. Our educators have years of consulting and training experience; moreover, we require each trainer to have cross-discipline expertise i.e. be Java and .NET experts so that you get a broad understanding of how industry wide experts work and think.
  • Discover tips and tricks about programming
  • Get your questions answered by easy to follow, organized experts
  • Get up to speed with vital programming tools
  • Save on travel expenses by learning right from your desk or home office. Enroll in an online instructor led class. Nearly all of our classes are offered in this way.
  • Prepare to hit the ground running for a new job or a new position
  • See the big picture and have the instructor fill in the gaps
  • We teach with sophisticated learning tools and provide excellent supporting course material
  • Books and course material are provided in advance
  • Get a book of your choice from the HSG Store as a gift from us when you register for a class
  • Gain a lot of practical skills in a short amount of time
  • We teach what we know…software
  • We care…
learn more
page tags
what brought you to visit us
nstore/product,  , nstore/product,  Classes, nstore/product,  Courses, nstore/product,  Course, nstore/product,  Seminar
nearsourcing, reshoring and insourcing
developing talent and expertise at home
Companies are beginning to realize that talent and skills developed within the United States are exceedingly more important for the growth of an organization than the alternative: outsourcing. Considerations include: security, piracy, cultural differences, productivity, maintainability and time to market delays.
In the past, the reason for outsourcing centered on cost savings, lack of resources at home and the need to keep up with market trends. These considerations are proving to be of little merit as many organizations have, consequently, experienced productivity declines, are now finding considerable talent within their immediate location and have realized a need to gain more control over product development.
As strong advocates of Agile/Scrum development, HSG whole heartedly embraces this new entrepreneurial spirit because we know it works and because we believe our country's future weighs in the balance.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.