Stefano Tommesani

  • Increase font size
  • Default font size
  • Decrease font size

AltaLux filter for IrfanView is now open-source!

E-mail Print PDF

I have just released the new version of the AltaLux plug-in for IrfanView on GitHub, clone it now!

There are some good reasons for taking a peek:

  • having a look at how to write a plugin for IrfanView
  • discovering how the AltaLux algorithm works
  • comparing different ways to divide the computation kernel in various threads

And don't forget to download the new version of the plugin, in both 32- and 64-bits versions, from the download section!

StefanoT_AltaLux-IrfanView

 

The best Diff so far

E-mail Print PDF

We recently heard about two really far branches in our codebase. Your mission, should you choose to accept it, is finding the changes and merging them.

So I try a GIT diff within Atlassian SourceTree, my GIT client of choice, and the result is unusable: the developers not only made a lot of changes within the same functions, but they also moved functions across the source file, and diff is trying to reconcile different pieces of code that have some similarity.

Enter WinMerge. More or less, the result is comparable to what I had with GIT, back to square one.

After a search on the net, I have found DiffMerge from SourceGear. Running it on the same code, I got a vastly better result, as it recognizes that is parsing C++ code and seems to use function definitions to resynch changes, this way avoiding reporting similar lines of code from different functions as a match. Of course, it does not track functions moved across the source file, but it is fairly easy to spot them, as they appear as code blocks appearing only on the left or right column in the trackbar on the left.

Mission accomplished!

Diff

 

How you rank for profile views in LinkedIn

E-mail Print PDF

#1 of 100 in Professionals like me

LinkedInRank1

Last Updated on Sunday, 18 March 2018 23:47 Read more...
 

Opening password-protected PowerPoint presentations

E-mail Print PDF

PowerPoint presentations can arrive in different file formats:

  • PPT is the default file extension for saving presentations in PowerPoint 2003 and earlier versions.
  • PPTX is the default file extension for saving presentations in PowerPoint 2007 and later versions.
  • PPS is the the show mode extension in PowerPoint 2003 and earlier -- these files run in "play-presentation" mode when double-clicked.
  • PPSX does the same thing in PowerPoint 2007 and later -- it runs in "play-presentation" mode when double-clicked.

For editing a PPSX file, instead of double clicking on it, as it would start the "play-presentation" mode, open PowerPoint and then open the file:

PPSXpowerpointopen

Still, if the PPSX file is password-protected, you have to enter the correct password to unlock it and be able to alter the contents and paste them in other presentations:

PPSXopenfile

Or not?

Last Updated on Sunday, 23 November 2014 12:49 Read more...
 

Visual Studio installer getting stuck

E-mail Print PDF

When installing or uninstalling Visual Studio 2012/2013, the installer might get stuck right at the beginning:

VS2012Install

Last Updated on Saturday, 22 November 2014 15:59 Read more...
 

Fixing DB problems in Joomla

E-mail Print PDF

Sometimes, this site goes down, and the following homepage appears:

JoomlaDBerror1

The jos_session gets corrupted, a frequent issue with Joomla 1.5.x installations. Luckily, fixing this issue is quite simple, just log into the phpMyAdmin site (usually at the following address: http://www.mywebsite.com/phpMyAdmin) and open the joomla database

JoomlaDBerror2

Locate the jos_session table, then click on Empty to solve the issue.

JoomlaDBerror3

The state of the jos_session table returns to normal, and the Joomla website is back online.

 


Page 3 of 10
View Stefano Tommesani's profile on LinkedIn

Latest Articles

A software to stand out 27 January 2018, 14.35 Web
A software to stand out
Standing out of the pack starts by being visible, and being noticed by the right group of professionals. No matter how good your profile is, it is lost in a sea of similar profiles, so you need to show up and start attracting
Web page scraping, the easy way 07 January 2018, 00.46 Web
Web page scraping, the easy way
There are many ways to extract data elements from web pages, almost all of them prettier and cooler than the method proposed here, but as we are in an hurry, let's get that data quickly, ok? Suppose we have to extract the
Scraping dynamic page content 06 January 2018, 23.57 Web
Scraping dynamic page content
One of the most common roadblocks when scraping the content of web sites is getting the full contents of the page, including JS-generated data elements (probably, the ones you are looking for). So, when using CEFSharp to scrape
Unit-testing file I/O 26 November 2017, 12.09 Testing
Unit-testing file I/O
Two good news: file I/O is unit-testable, and it is surprisingly easy to do. Let's see how it works! A software no-one asked for First, we need a piece of software that deals with files and that has to be unit-tested. The
Fixing Git pull errors in SourceTree 10 April 2017, 01.44 Software
Fixing Git pull errors in SourceTree
If you encounter the following error when pulling a repository in SourceTree: VirtualAlloc pointer is null, Win32 error 487 it is due to to the Cygwin system failing to allocate a 5 MB large chunk of memory for its heap at

Translate