jLuger.de - Blog

Video reencoding
2017-06-01

All started when I've got a new toy: a GoPro Hero 5. So I went out and took a 37 minute video. It turned out to be 13GB splitted in multiple chunks of 4GB. That is a lot of memory especially when you do make serious backups. As I knew that the were encoded in H.264 and that H.265 should reduce the file size about 50 percent I've started to look for a way to reencode.
more


JavaFX: Printing TextView content
2016-09-15

This post is about printing in JavaFX. To be more precise: About printing the contents of a TableView. While printing the screenshot of any node is quite easy I was struggling with the TableView and a google search told me that others have difficulties too. After some more search I found the reason on the OpenJFX wiki:

"Rendering of large tables etc is not best handled by rendering a TableView directly. A reporting package might be a better approach."

more


JavaFX: Text rendering in TableView
2016-07-31

This post is about text rendering in JavaFXs TableView. The TableView uses TextCells that descend (indirectly) from Labeled. You may expect that this way it should support text rendering but unfortunately this is only true when you have basic requirements. As soon as you want fancy things, like displaying long lines of text completely, you are out of basic support.
Please note that all samples were created and testet with jdk1.8.0_102. I hope that later versions won't have this bugs and thus this post may become irrelevant.
more


Editable combobox with jqueryui
2016-07-14

For one of my projects I needed an editable combobox in a web app. As I had already included the date picker from jqueryui I've searched there for it. There was no obvious solution but when going to autocomplete there was an example that looked and felt like the needed editable combobox. Unfortunately it turned out to be only a code sample and not a ready to use component. As the sample includes a lot of code I made this post to point the two important issues and to show my implementation.

The two import issues are:

My HTML:

more


Firefox error: No element found
2016-06-15

Today I've got a strange error message in my JavaScript console in Firefox: No element found. It appeared while a GET that was done in the callback function of a POST and had the first line and first character of my script file as source.
more


Fun with Java EE, JavaScript and date
2016-06-14

Recently I had some fun with dates while developing an app with a JavaEE Backend and a JavaScript Frontend. Here are my notes about it.
more


Ubuntu 16.04 and Owncloud
2016-05-14

Today I've updated my ubuntu 15.10 to 16.04 and wanted to start my owncloud. It didn't start. The error was pretty obvious. There was no php5. To get it back working I've looked up my install instruction and replaced the version 5 packages with the one from version 7. That didn't help at all. Now you need more packages. The complete list:

The last three are new. I've found out about php-zip and php7.0-xml by installing a fresh copy of owncloud. The last one (php7.0-mbstring) is only needed for contacts.


more


Setting up owncloud and your android device to sync
2016-03-28

This post is about syncing data between owncloud and your android device. With data I mean contacts, calendar and backing up pictures.
more


Creating your own CA and certificates to sign with
2016-03-27

As I was taking actions to increase my privacy I found it wrong to use unencrypted connections. It is a proven fact now that everything that can be intercepted will be intercepted. I had already used self signed certificates and knew all the trouble you get with them. I expected things to get worse as I planned to set up some services on other computers in my home network. The solution for this is to be my own CA (Certificate Authority). This sounds difficult but I've found plenty tutorials explaining everything in detail. I've decided to start with https://jamielinux.com/docs/openssl-certificate-authority/index.html.
more


Owncloud in home directory
2016-03-26

This is the first of three blog posts about moving data back from the cloud to my local network. With the rising of smartphones and tablets more and more people got the need to synchronize data between computers (yes, I see tablets and smartphones as computers). Even the tech-savvy user got troubles as the traditional ways of syncing didn't work with the new devices. Cloud providers where happy to get a chance for business and offered solutions. There is only one big problem. As FSFE says it There is no cloud, just other people's computers. Putting data on other peoples computer means to give other people access to your data. Here I describe my effort to keep some of my data in my own network and not to just switch the person to which I give them (as other articles about Google tend to do it). As a tool for this I've chosen owncloud.
more



PreviousNewer