Senger CodeLab 🚀

: All Posts

It is currently in use by another Gradle instance

It is currently in use by another Gradle instance

I want to do some basic functions Im runningbuilding it in command line I am referring User guide And doing some simple tasks When I start to run simple tasks

Read more →

Linear Layout and weight in Android

Linear Layout and weight in Android

I always read about this funny weight value in the Android documentations Now I want to try it for the first time but it isnt working at all As I understand it

Read more →

Logging levels - Logback - rule-of-thumb to assign log levels

Logging levels - Logback - rule-of-thumb to assign log levels

Im using logback in my current project It offers six levels of logging TRACE DEBUG INFO WARN ERROR OFF Im looking for a rule of thumb to determine the log

Read more →

MySQL - How to select data by string length

MySQL - How to select data by string length

SELECT FROM table ORDER BY stringlengthcolumn Is there a MySQL function to do this of course instead of

Read more →

ng-app vs data-ng-app what is the difference

ng-app vs data-ng-app what is the difference

Im currently looking at this start tutorial video for angularjs At some moment after 1240 the speaker states that the attributes ngapp and datangapp are more

Read more →

Nodejs cannot find installed module on Windows

Nodejs cannot find installed module on Windows

I am learning nodejs at the moment on Windows Several modules are installed globally with npmcmd and nodejs failed to find the installed modules Take jade for

Read more →

Optimal number of threads per core

Optimal number of threads per core

Lets say I have a 4core CPU and I want to run some process in the minimum amount of time The process is ideally parallelizable so I can run chunks of it on an

Read more →

ORDER BY the IN value list

ORDER BY the IN value list

I have a simple SQL query in PostgreSQL 83 that grabs a bunch of comments I provide a sorted list of values to the IN construct in the WHERE clause SELECT FROM

Read more →

Presenting a UIAlertController properly on an iPad using iOS 8

Presenting a UIAlertController properly on an iPad using iOS 8

With iOS 80 Apple introduced UIAlertController to replace UIActionSheet Unfortunately Apple didnt add any information on how to present it I found an entry

Read more →