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 deal with exceeding memory limits while dealing with really large lists?

While implementing and testing a text document Java-based index, one of my main problems was an OutOfMemoryException. This happened quite often since the size of the collection was pretty large. I did try to increase the heap size, but this did not really solve the problem. How do you handle processing large batches of data without exceeding the memory limits?

Challange I

Open PDF files on browser by default instead of prompting users to download.

Sometimes it might be more convenient for the user to just open a pdf document on the web browser instead of the classic popup prompting them to open or download the file. Although more advanced users know that there exists an option to always display pdf files on the browser side, it might be necessary to provide that option by default.

CSS Tooltip

I once had to deal with the tooltip of a dropdown menu. The button which opened the menu right below it (on mouseover) had a tooltip which always appeared below the button as well, covering part of the first menu item, which made it annoying for the user to deal with.

Challange III

Challange III

Editable SVG text

HTML5 has introduced contenteditable attribute. This attribute specifies whether the content of an element is editable or not. How to make svg text editable? To put html elements in an svg element, we need to use <foreignObject>. Within that object we can add any html element, for example div that has attribute contenteditable. The problem is that we want svg text to be editable, and not div. Solution is to add svg elements inside contenteditable div. When the contenteditable attribute is not set on an element, the element will inherit it from its parent.

SVG text align browser support

I had a task to build an online editor for creating graphic content, like visit cards. I chose to work with svg. All svg elements (e.g. line, rectangle, circle etc.) are positioned in a parent component with x and y attributes (like in a coordinate system). I wanted to have a text element with a rectangle around it which indicates that the text is in edit mode. In order to position the text inside the rectangle, I had to calculate x and y values.

Installing TrueCrypt on mac

Working on an assignment for a Digital Forensics course, I had to open some TrueCrypt container. In order to do so, I downloaded TrueCrypt zip and extracted it. The version I downloaded was 7.2. I then proceeded to install it, but I got an error saying: “TrueCrypt requires MAC OS X 10.4 or later”. Just to be sure, I checked my MAC OS version - it was 10.14.0. Apparently, the logic condition that tests the OS version was not correct and I found myself unable to install TrueCrypt.

Copy text without formatting from PDF or other Rich Text source

I want to copy a text from a Rich Text source (like PDF, Word document, Notes taking app, etc), but without the formatting, so I can copy-paste like normal text.
 Most of the time when I copy text from PDF, it is copied with a lot if new lines, but I want to just make a list of technologies or quotes to use in my articles/documents. What is nice and quick way to copy formatted and paste as unformatted text, when there is no such option in the context menu?

Java Async testing

A Java Spring Boot powered REST Api has operations, which require minutes to finish, because of multiple HTTP connections and database queries with lots of data. These tasks are executed Asynchronously. 
The functionality needs to be tested in the integration tests (using less data, so the operation runs in seconds). Now we use Thread.sleep(…) and the tests take 10minutes to finish every time, while we see the operations finished sometimes for 2-3 seconds and the overall required time would be 5minutes.

Pages

Subscribe to TechScreen Revised RSS