Welcome to TechScreen

Welcome to the TechScreen site. This side shall support the exchange of knowledge in the domain of Web Engineering and related aspects. As a side effect, this side is used for research on knowledge management technologies. User can pose challenges in the problem domain and can participate in quizzes. Further a bibliography about arcticles in different related domains is continously extended. Finally, questionnaires on different issues are provided. To be able to participate you need an account and a password from TU Wien's TISS system.

How to find the commit that broke something after a merge in Git?

SOLUTION: Git offers a great binary search facility in the form of git-bisect. First you have to perform the initial setup: • git bisect start #starts the bisecting session • git bisect bad #marks the current revision as bad • git bisect good revision #marks the last known good revision After this git will automatically checkout a revision halfway between the known “good” and “bad” versions. Specs can be run again and commit can be marked as “good” or “bad” accordingly. • git bisect good # or git bisec bad This process continues until we get to the commit that introduced the bug.

How to write Arabic words in between English words in Latex

Writing Arabic words in between English words, in Latex.

Repairing the corrupt pivot table of MS Excel File

How to repair corrupt pivot table of MS Excel file? SOLUTION: • Open the Excel File in a safe mode and then check if you can access the Pivot Table. • If you can, save all its contents to a new Pivot Table in the latest version of Excel so that this problem doesn’t arise anymore.

Extracting the data points from a plot using the MATLAB.

How to extract the data points from a plot using MATLAB? 1. Open the figure 2. In the MATLAB Command Window type the following commands: h = findobj(gca,'Type','line') x=get(h,'Xdata') y=get(h,'Ydata’) Instead of using the "get" function, it is recommendable to use the following: x = h.Xdata; y = h.Ydata; The FINDOBJ function locates graphics objects with specific properties. If there is more than one line on the plot, the GET function will return a cell array. To retrieve the numbers inside of the cell array, indexing has to be used.

Extracting the data points from a plot using the MATLAB.

How to extract the data points from the plot using the MATLAB?

How to Aggregate the Tweets by User

Hot to Keep the connection open and gather the upcoming tweets, when using the Twitter API for mining Twitter Data with Python.

Control4 Driver Migration

Background: Control4 is a proprietary home automation system, installed at the customer by 3rd party installers. Devices (TVs, lighting systems, HVAC...) need drivers in order to be supported by the system. Many drivers are provided by Control4, others come from 3rd party companies. Installers can program devices using a simple graphical programming interface, depending on what operations the device driver offers (e.g. if switch_1 is pressed, set lights_TV to 50%). Our company was one of these 3rd parties writing drivers (i.e.

Wrong character encoding in XML file

After my Java code finished editing an XML file using JDOM2, the resulting project.xml has an incorrect encoding. Special characters (like italian "è") are not represented correctly, resulting in an unreadable character. XML Explorer (and sometimes even WinMerge) refuses to open the file.

For a long running process on a website, provide the user with live feedback

We have a webtool (written in Java EE, using log4j for logging) where users can upload files that are then processed and migrated to a new version, which users can download. Since this process can take quite a while and might fail, users should have live information about the process. Even in case of an overall success there might be errors the users should be informed about.

Fix Java OutOfMemoryError

Problem: For a university project I had to implement a simple Java application that uses the Twitter4J Java library for the Twitter API to collect data (tweets) based on different criteria and then analyze those data and generate statistics. For the data analysis I used the natural language processing toolkit developed by Stanford (called Stanford CoreNLP). The problem was, that the data were too large and when running the NLP algorithms I encountered the OutOfMemoryError. Solution: increase the heap size of the Java virtual machine JVM using the flags -Xmx and -Xms.

Pages

Subscribe to TechScreen Revised RSS