All Blog Posts
I was working with a dataset of tens of millions of rows of data, which is using UUIDs as identifiers. UUID is not supported natively in Pandas. One option is to convert these to 128-bit integers, but those caused problems as they are not supported ...
"This presentation cannot be edited because it contains one or more read-only embedded (restricted) fonts. To edit the presentation you must remove the restricted fonts, or you can open the presentation as read-only."...
I finally got around to move this blog from Wordpress to more modern solution. This has been a long time in making. I ended up using Astro as the framework. With little bit of help from bolt.new, the framework for the blog was ready in no time....
Azure AD user had been initially created with a typo on his name. All the attributes had since then been fixed or so it looked like....
I was building a simple tool to automate some uploads to Azure Blob Storage in Azure Functions. Decided to use PowerShell for that, since well, sounds like a job for PowerShell!...
After setting up point-to-site VPNs on Azure, I thought I'd just throw in quickly also a site-to-site connection between the office Meraki MX device and the Azure VPN gateway....
Sometimes it is handy to run ping on the background to monitor network connectivity. Combine Microsoft PowerShell and the [PsPing utility from Microsoft](https://technet.microsoft.com/en-us/sysinternals/psping.aspx) and you get a nice logging soluti...
I'm using Github 2FA and git on Windows with the Windows Credentials store credential helper. This can be configured with:...
I started investigating pairing problems with my Bose QC35 headphone/headset and Windows. At first, I was wondering why I actually see two separate QC35 devices with different icons in the pairing list. Soon I figured out the other one was "headphon...
Steps for getting SSL certificate in pfx format (suitable for Azure for example)...
Azure now supports multiple IP addresses per cloud service. This means you can, for example, host multiple websites, each running on a different IP address within one cloud service (1..n virtual machines)....
After installing Azure CLI tools and trying to use them for the first time on Windows, I started getting "Credentials have expired, please reauthenticate Detailed error message from ADAL is as follows: Error: Entry not found in cache." error message...
Check if SELinux is enabled:...
When creating a new project based on Maven archetype, IntelliJ IDEA wants to know certain Maven-related directories. It took a few minutes to figure out what IDEA actually wants here, and answering incorrectly gives the not very informative "Maven h...
SPSS alternative, GNU PSPP includes a very easy-to-use tool that can convert the SPSS SAV file to CSV. This can be further read into Excel. Just open the CSV file in Excel. If Excel does not automatically split data, choose the first column, go to t...
Too-long-don't-want-to-read--give-me-commands-to-paste-to-my-terminal:...
Azure Storage Emulator has logging capability but this is not enabled by default and it does not seem to be available via user interface....
I installed Ubuntu under Hyper-V and for some reason the UI with all the effects is S-L-O-W....
When you install SQL Server Express you can select the authentication mode. If you want to enable SQL Server authentication mode (username and password) later on, you can use T-SQL to do it:...
I fell in love with the full size Apple keyboard. It is low profile and I really like how it works. Plus it's pretty affordable (compared to premium keyboards)....
In order to investigate certain issues I wanted to find out the journal categories directly from database....
set ($logFactory = $portal.getClass().forName('com.liferay.portal.kernel.log.LogFactoryUtil'))
set ($log = $logFactory.getLog('myTemplate'))
$log.info('Here we go again')
...
Drop something to the drawing surface, all other shapes freak out, running away from your new shape which you just wanted to throw in the background. Sounds familiar?...
I recently ran into issues with a third party application that had certain issues with threadlocals. Namely certain parts of the application were using threadlocal to store information, but did not clean up the stored information. This information t...
Creating a self-signed certificate is simple - when you know the correct commands....
I'm using multiple monitors and sometimes it would be useful to have hotkeys that would position the active window to certain place on certain screen. I took a quick look at ready made software but those did not seem to solve my specific problem....
Few Windows 8 hotkeys I have found useful:...
Quite many vendors brag about the AES-256 encryption capabilities of their SSD drives. This sounds good, everybody likes to keep their data safe and secure. But how does this encryption really work, and what does it protect you from? Easy questions,...
With calculations in binds, it is easy to run into NaN (Not-a-Number) or INF values showing on the form....
A simple processor for Orbeon forms that extracts locale information from request....
Not one of my favourite problems as it is sometimes difficult to figure out what is the actual cause. In general, the "content is not allowed in prolog" indicates there is some content in the XML file or stream before the <?xml ...> declaration....
Orbeon XPL is a way of describing processing flows using XML syntax. Since there is no debugger, the debugging mostly happens by putting something in and looking at what comes out....
Quite often I end up in situations where I need to use a value from an HTTP request (either parameter or header) inside a configuration element for another Orbeon XPL processor....
Liferay service builder code generation is based on Freemarker templates. The default templates come packaged inside the portal jar files. You can take a look at them for example in [Github](https://github.com/liferay/liferay-portal/tree/master/port...
When you create a new service with Liferay service builder, the system generates a whole lot of boilerplate code based on the few lines you put into the service.xml. Part of the code deals with the problem related to passing objects between differen...
Working with application servers, it is not uncommon to encounter strange ClassCastExceptions that seem to have no reason. You are trying to cast an instance of MyModel to MyModel, yet the JVM is having issues with it....
Simple instructions for setting up git so that you can push new versions to server from the comfort of your workstation. This is based on [article](http://toroid.org/ams/git-website-howto) by Abhijit Menon-Sen. If you need more details, take a look ...
Creating a new portlet project in Liferay IDE may result in a NullPointerException and complaints about no IModelProvider being found for Dynamic Web Module 3.0. An example of the stack trace is below (you can see this in your $WORKSPACE/.metadata/....
Tim Smart describes in his article a great way to use [upstart on Ubuntu to startup node.js applications](http://howtonode.org/deploying-node-upstart-monit)....
Some D-Link models support updating selected dynamic DNS services. The support is, however, limited, and it seems that, for example, you can't configure it to push updates to ZoneEdit....
The MongoDB version available from the default Ubuntu/Debian repositories can be fairly old. Luckily it is easy to get a newer version directly from 10gen repository...
I wanted to replace multiple occurrences of underscore with single in one bash shell script. With regular expressions this is pretty simple, but by default they are not available directly in bash (using awk, sed and other tools would have obviously ...
A quick'n'dirty<sup>1</sup> way for transferring MongoDB collection from Linux to Windows, using [plink](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) as the ssh client....
Install Apache and Enable relevant Apache proxy modules...
Quick instructions for enabling firewall on Ubuntu using Uncomplicated Firewall (ufw). The resulting rules are quite obvious. Incoming traffic is denied, except for ssh, http and https (these refer to /etc/services) and outgoing is allowed....
Quick install script for installing MongoDB as a service on Windows. Further instructions are available in official MongoDB [docs](http://www.mongodb.org/display/DOCS/Windows+Service)....
bash
Release existing
sudo dhclient -r
Get new
sudo dhclient
Restart networking
sudo /etc/init.d/networking stop
sudo /etc/init.d/networking start
...
Sublime Text stores settings and packages in %APPDATA%\Sublime Text 2 folder by default. Quick search did not reveal any way of forcing it to use some other location. In order to sync the settings by using Dropbox, the files should obviously reside ...
Resent news tell that Nokia has already in November acquired Smarterphone, a Norwegian company that makes a lightweight platform that turns feature phone hardware into smartphone user experience. There's not that much information available about the...
Encountered annoying MySQL problem when trying to dump database from a backup server....
[Loggly](http://loggly.com/) is a fairly new cloud-based log management service. You can think about it as a lightweight and hosted version of Splunk. I find it pretty interesting, especially because it provides a pay-as-you-go licensing model which...
Job postings are always the best way to glance to a future of company, aren't they? Maybe this reads as further evidence about the Linux future of Series 40....
Rumours are saying that Nokia's "Meltemi" project is about melting Linux and Series40 and adding some Qt magic in the process of doing it....
Red Hat is the latest company to join the big happy cloud provider family and they have interesting stuff to bring. OpenShift is a "portfolio of cloud services for deploying and managing applications in the cloud". Basically with OpenShift tools you...
Think about how the cloud changed the way startups were run when we went from 20th century Web 1.0 to Web 2.0. During the dot-com boom it was all about money and big hardware. Success started with $1M set of Sun hardware. Then came the cloud and cha...
Zendesk provides a very nice JIRA integration widget that allows creating JIRA cases directly from Zendesk and keeps them in sync....
For security and other reasons, browsers put limitations on what sites you can access from JavaScript. The basic rule is: if the web page containing the script originates from mysite.com, then the script is only allowed to access mysite.com....
This is exactly what the world was waiting for! Amazon published [Beanstalk](http://aws.amazon.com/elasticbeanstalk), their first PaaS offering. Beanstalk allows customers to easily deploy standard Java web apps to the AWS cloud....
In my quest to free my colleagues from unnecessary passwords, I created a simple web application for integrating Zendesk to Atlassian Crowd....
Few interesting v7 related things....
Nulls are not created equal - except in Jasper. In some cases, you want to do grouping on the report based on some field that might also contain null values. Jasper treats these null values as equal, meaning that they go to the same group. This mean...
Making a band stretch according to the height of its contents is simple. First, you need to have some content that is stretching, for example, a text field with "stretch with overflow" property set to true....
1G
It all started with cgi-bin applications that really did not separate the templating from the rest of the logic....