How to organize the software in classes and modules (aka packages, namespaces)?

For a long time, I have been intrigued by the “rules” that guide someone in properly organizing the software code into modules (aka packages, namespaces) and classes. I imagine that after applying those “rules”, one should obtain the same output […]

HTML 5

Documentation https://developers.google.com/web/ https://www.html5rocks.com/en/tutorials https://www.html5rocks.com/en/tutorials/file/xhr2 https://www.html5rocks.com/en/tutorials/file/dndfiles/ http://blog.teamtreehouse.com/reading-files-using-the-html5-filereader-api https://www.html5rocks.com/en/tutorials/workers/basics/ https://stackoverflow.com/questions/6778360/whats-the-difference-between-shared-worker-and-worker-in-html5 https://www.sitepoint.com/javascript-shared-web-workers-html5/ https://github.com/coolaj86/html5-shared-web-worker-examples http://coolaj86.github.io/html5-shared-web-worker-examples/ https://www.html5rocks.com/en/tutorials/appcache/beginner/ https://alistapart.com/article/application-cache-is-a-douchebag https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/Client-SideStorage/Client-SideStorage.html https://developer.apple.com/library/content/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html chrome://appcache-internals

JPA inheritance performance improvement

This article is about improving JPA’s performance when working with large/thick hierarchies. Let’s suppose that for some reason you have a similar (or larger) hierarchy to one I encountered in one of my projects: – InheritanceType.JOINED also using DiscriminatorColumn – […]

Compiling google’s mod_pagespeed for nginx

This post is intended mainly to Zyxel NSA310 users. Prerequisites See first https://adrhc.go.ro/blog/common-commands-when-building/ for building environment, x.sh script and other things not defined here. Before starting do declare the environment variables specified to the link above. Environment & other preparations […]

Linux media conversion

sudo apt install libav-tools webm to mp4 http://askubuntu.com/questions/323944/convert-webm-to-other-formats ffmpeg -i “Jurjak – Bucuresti.webm” -qscale 0 “Jurjak – Bucuresti.mp4” ffmpeg -fflags +genpts -i “Jurjak – Bucuresti.webm” -r 24 “Jurjak – Bucuresti1.mp4” -> change to 24 FPS ffmpeg -i “Jurjak – Bucuresti.webm” […]

Linux hardware information

sources: # http://askubuntu.com/questions/18372/how-can-i-find-out-what-ram-a-computer-system-has RAM sudo lshw -short -C memory sudo lshw -C memory sudo dmidecode -t memory VGA memory sudo dmesg | grep Reserving [ 0.000000] Reserving Intel graphics stolen memory at 0x5ef00000-0x7eefffff compute now using a hexadecimal calculator […]