Linux . Mint, Apache and APC UPS Daemon adventures :)


Hey there peeps… :)

Another day, another wtf story on my beloved penguin..

So, I had APC Smart-UPS SC 620 for very long time and just now I had bravery to try to make some use of it and use it in Smart way. But then the crap started to make its shape all over the horizon.

First of all – all installation is flawless. But is misses some normal MAN here, so I will try to summarize everything in one single blog/spam/post.

The Linux Mint description of package: http://community.linuxmint.com/software/review/apcupsd

The Ubuntu Community info: https://help.ubuntu.com/community/apcupsd

The tutorial for using CGI: http://www.techrepublic.com/blog/diy-it-guy/diy-enable-cgi-on-your-apache-server/#postComments or http://www.fiz-ix.com/2012/12/configure-apache-mysql-and-cgi-bin-on-an-ubuntu-lamp-server/

To get this damn CGI, I had to:

  • Read Apache2 config and adjust correct syntax for ScriptAlias and Directory ; Also find out that I had to use Require all granted instead of old ( v2.2 premission granting syntax ).
  • And use this command: sudo a2enmod cgi

My issue: http://stackoverflow.com/questions/21352218/apcupsd-not-respecting-timeout-in-linux-mint-16-petra-x64

Posted in Datori un internets | Leave a comment

A Candybar that just catched my heart in most unexpected moment…


linardsliepins:

Qt/QML Mobile Application Development

Qt/QML Mobile Application Development (Photo credit: thp4)

And they did it!!! Sailfish OS on Nokia N9 – I will buy new phone just for fun :)
Check it out here:  http://www.jollausers.com/2013/12/sailfish-ported-to-n9-mini-tutorial/

Merry Christmas!!!

Originally posted on Linards's space - the place where miricles may take a place:

English: Screenshot of Android Emulator for SD...

English: Screenshot of Android Emulator for SDK (latest version, now v2.3) (Photo credit: Wikipedia)

It is the Nokia N9.

Why .. ?

IT IS based on Linux platform … it fits my hand ideally … and thes of all – it is simple in its UI.

Oh .. I forgot this one, too:

http://www.allboutn9.info/2012/06/openmobiles-acl-for-meego-harmattan.html?showComment=1347893058115#c2304715518081846229

Support ‘em to beat a crap outta Android. You know … just 4fun … because penguins are friendly, no matter in what color you are :)

View original

Posted in Datori un internets, Hobiji, Izklaide, News and politics | Tagged , , , , , , , | Leave a comment

Some CI and non-CI ramblings out there….


Well… again…some time since last post…

What was in my focus recently was some optimizations of what I do and how I do stuff and eventually found same real gaps between expectations and reality.. what a surprise, ai’? :)

So… here is one interesting blog post:

http://www.finalbuilder.com/Resources/Blogs/PostId/699/integrating-dunitx-unit-testing-with-continua-ci.aspx

Well … It caught my eye because of the project I assisted a bit recently …

https://code.google.com/p/delphi-code-coverage/

And was curios for the options to have such tests running within CI infrastructure.

Other activities, you may ask … well, there is this petition:

http://www.change.org/petitions/hp-eprintcenter-enabled-printing-devices-for-home-and-commercial-use-sign-this-petition-to-shout-out-loud-that-hp-and-google-must-keep-their-device-s-built-in-integration-solution-s-working-until-the-device-s-goes-end-of-life-or-end-of-support-state

… which is just as irreveleant as it can be… no one seems to care anymore of such things big Corps do .. :( Of course – end user has no way to influence this situation also.

If I will get other insights of my time wasting life fiving approach, I will spam… here, most likely. :)

Hm,. Yes – remembered – I just updated my LinkedIn profile. :)

Posted in Datori un internets, Hobiji, Izklaide | Tagged , , , | Leave a comment

The times are changing…


Well … it is been a while since my last post here …

But .. hey … it is beem hell of a rolling time for me … hard to say what did not happen :)

In general … I don’t know how much individuals reads this blog … but – still – it is just to free my mind … :) Hope you will enjoy my leaking thoughts…

So:

- I did some web stuff again for WordPress … got info about a lot new … about robots, humans, xfn, w3c standards, p3p … a lot has changed since the google came in :)

- I did some coverage of new and interesting fields … liek continuous intergation … and installer technologies … and web development on Sailfish OS / Android … iOS is in the schedule …

- Oh, of curse, helped a lot for my family business to refresh their web-site … it now looks superb imho. Even googlebot cant say nothing bad … and PageSpeed Insights got 94/100 score. Also some interesting info about Modern Marketing techniques and ways people use it …

- Oh, and finally and not last … “Fuck yeah!!!”

Thanks for reading.

Posted in Datori un internets, Hobiji, Izklaide | Tagged , , , , , , , , , , , | Leave a comment

Rambling to get commit shared across wiki and jira – [Roundup 3] – “the awakening”.


During my time using NSIS, there is these things noticeable:

I have found out that nothing is more powerful than parsing !verbose 3 level output with self-made tool ;)

I have found out that you can NOT depend on any NSIS-based debugging method. It may crash .. and your installer will crash along with it. No pretty, eh’? :(

I have found out that enabling/disabling debugging on-demand is also very powerful weapon against idsses as it allows to distinguish between unstable and failed NSIS build ( it is easier to use CI terminology though… :) ).

I have found out that verbose output w/o realtime automated NSIS testing is like driving Cadillac with bicycle engine :)

Hope it helps for those accidentally visiting this question :)

EDIT: It’s always good idea to start with 3rd party tools. For example, no need to hassle around GUI as it is always easier to use tools like:

EDIT #2: I have found out that pretty effective method for debugging is to use direct documentation automatization. Currently I use the following components:

The result is that I got screenshot after nsDialog:Show plus I got updated images in wiki :) .. only stuff left is to fetch info from svnlook :)

EDIT #3: And the need of svnlook is also worked-around by building a svn log –xml exporting DLL using NSIS v2.44 header for Delphi and Lazarus IDE 0.9.30.2 :) Kudos to Lazarus!

Woohoo! :)

>>> Original post @ SO: http://stackoverflow.com/questions/1630841/methods-for-debugging-nsis-installers/10087385#10087385

Posted in Datori un internets, Izklaide | Leave a comment

Tonight will be the night for my first ever linux-based phone OS hacking…


Gonna try to make this one happen…

http://talk.maemo.org/showthread.php?t=81240

Got to cross fingers not to screw up ./etc in filesystem :)

P.S. You may ask – Why? What? Some answers are here: http://wp.me/p15JAu-3p

Posted in Datori un internets, Izklaide, Uncategorized | Tagged , , , , , , | Leave a comment

A Candybar that just catched my heart in most unexpected moment…


English: Screenshot of Android Emulator for SD...

English: Screenshot of Android Emulator for SDK (latest version, now v2.3) (Photo credit: Wikipedia)

It is the Nokia N9.

Why .. ?

IT IS based on Linux platform … it fits my hand ideally … and thes of all – it is simple in its UI.

Oh .. I forgot this one, too:

http://www.allboutn9.info/2012/06/openmobiles-acl-for-meego-harmattan.html?showComment=1347893058115#c2304715518081846229

Support ‘em to beat a crap outta Android. You know … just 4fun … because penguins are friendly, no matter in what color you are :)

Posted in Datori un internets, Hobiji, Izklaide, Uncategorized | Tagged , , , , , , , , | 3 Comments

Clover – an OpenCL 1.1 support for your Linux AMD Radeon GPU – Please help testing.


Fedora logo

Image via Wikipedia

http://tstellar.blogspot.com/2012/03/how-to-test-clover-with-r600g.html

Please check it out. Maybe we can puh it further to have a support in upcoming  Fedora 17 !?

Posted in Datori un internets, Hobiji, News and politics | Tagged , , , , , | Leave a comment

Help community fixed very odd and hard-to-track bug with Compiz


Official Compiz logo

Image via Wikipedia

http://www.omgubuntu.co.uk/2011/06/help-compiz-rockstar-sam-spilsbury-squash-a-bug

Posted in Uncategorized | Tagged , , , , , , , | Leave a comment

Detect Aero Glass using Delphi (via The Road to Delphi – a Blog About Delphi Programming (mostly))


Issue that has been Troubling SEDev Patch Studio 1.2 for a long time ( since version 1.0.4.10 ).

Maybe you, dear reader, can give straight answer – why it is so … ?

To detect if Aero Glass is enabled we must use the DwmIsCompositionEnabled function. See this example

[/sourcecode]

program DetectAeroDelphi; {$APPTYPE CONSOLE} //Author Rodrigo Ruz 2009-10-26 uses Windows, SysUtils; function ISAeroEnabled: Boolean; type _DwmIsCompositionEnabledFunc = function(var IsEnabled: Boolean): HRESULT; stdcall; var Flag : Boolean; DllHandle : THandle; OsVersion : TOSVersionInfo; DwmIsCom … Read More

via The Road to Delphi – a Blog About Delphi Programming (mostly)

Posted in Uncategorized | 1 Comment