Category Archives: Software Development

Code Formatting

Looking into Dart programming language, and I just want to record some of my thoughts. Dart language comes with dartfmt tool that does not bug you about any incompliances you’ve committed. No – it will fix them for you. When … Continue reading

Posted in Clean Code, Software Development, Tools | Tagged , | Leave a comment

Git – setup tracking properly

OK, there are a number of ways to setup tracking remote branches with git. We need that so we can use push and pull commands without long explaining what to push/pull where… I’d say that normally all we mortals need … Continue reading

Posted in Software Development, Tools | Tagged | Leave a comment

Digitalocean review

Being a web developer with clear lamp preference, I believe it was a trivial task for ad servers to target digitalocean.com ads at me. Those ads are just all over the net. In my gmail, on my basecamp account, my facebook … Continue reading

Posted in Hardware, Infrastructure, Software Development, Tools | 1 Comment

Thread was being aborted / IIS Application Pool Idle Time-out (minutes) Setting

Idle Time-out (minutes) [idleTimeout] Amount of time (in minutes) a worker process will remain idle before it shuts down. A worker process is idle if it is not processing requests and no new requests are received. So, if you are … Continue reading

Posted in Infrastructure, Software Architecture, Software Development | Tagged , , | 2 Comments

NHibernate: undefined alias or unknown mapping

I must note that I’ve wasted considerable amount of time on this error message. When copy/pasting, I’ve failed to close a bracket in a HQL query, and even more – the bad expression exceeded the screen space and without an … Continue reading

Posted in Software Development, Tools | Tagged , , , | Leave a comment

Command line registry permissions

Yesterday I’ve done a small change in a deployment script that was supposed to “only” allow write permissions to a registry key values.  I’ve had little luck with regini.exe and cacls.exe, so I’ve quickly found a free replacement – setacl.exe. … Continue reading

Posted in Free Software, Software Development | Tagged , , | Leave a comment

{“There is an error in XML document (2, 2).”}

An extremely undescriptive error message took hours of my valuable time. Of course, we are talking about XmlSerializer trying to parse an XML file. What actually happened was that an inherited piece of code caught and ignored this error, while … Continue reading

Posted in Software Development | Tagged , , | 1 Comment

Git – how to remove remote branch

Seemingly obvious action got me more than once. git push origin :branchname is the way to go. Of course, I’ve expected something like: git branch -d origin/branchname but it wouldn’t work.

Posted in Software Development, Tools | Tagged | Leave a comment

NHibernate “Could not find the dialect in the configuration” “Could not compile the mapping document”

These are the show-stoppers for me for quite a while. I was using the example from the book trying to replace App.config (in my case Web.config) with hibernate.cfg.xml so I can have different configuration in a test project, but these … Continue reading

Posted in Software Development, Tools | Tagged , , | 3 Comments

Gedit adding newline at the end of file

Recently I’ve been checking out PHP sources of a friend’s web application. I’ve decided to use Gedit, as we needed a quick solution and eclipse was not in place (yet). We’ve managed to setup file permissions and database pretty fast and … Continue reading

Posted in Free Software, Software Development | Tagged , , , , | 1 Comment