This website is the result of the merge of all my personal websites: Kirys Tech 2000 (kt2k.com), kirys.it, kirys.no-ip.org. It does contain's two blogs one in english and the other in italian where i share my thoughts on software, developing, information security and technology.

Privacy is not just a word

Privacy is one of those concept that for most people are not really understood.

Most people don’t read privacy policies and terms of services of the various website/apps they use, moreover many of the ones who do read them don’t understand their meaning, and between the ones who do understand them most don’t have really the freedom to choose to accept them.

Most of times TOS and Policies are endured and not accepted, this because if you don’t use those services you are cut out of the world. I don’t have a WhatsApp account and neither a Facebook account and this means that I am cut out from most social interaction. When asked why I don’t have WhatsApp “since is free” I answer that: “I would not mind to use WhatsApp if the price was only a fair amount of money”, for me the price of using those services is too high and there are also many, more privacy wise alternatives, like Signal.

There is a person who never contacts me simply because she only communicates via WhatsApp and Facebook, so I understand the price of my choices and why most people just don’t want to know what happens with their data, nevertheless I consider this a form of violence from those companies that uses the unawareness of the most to force the others into submission.

Be aware of your privacy choices and choose consciously.

Bye

K.


Disconnected from the cloud

I had a network outage at home from the 1st of February till the 11th, it was a long period (the longest since at least 2010), and this event make me think about how much we depend on internet and on the cloud for so many things.

Luckily most of my home systems don’t need cloud services to work (as an example I use ownCloud for files sync and mercurial for code versioning on a server at home) but of course I could not watch netflix or downloads games from psn and I had only the mobile for news sites and casual browsing (and I almost depleted the bandwidth).

But I was thinking of those people that buy systems that highly depends on cloud to work (there are also lamps that needs the cloud to be turned on and off!), what will happen during an outage?

Internet become a service we depend on like electricity, and it does rely on standards that allow to replace a provider with another quite easily.

On the other end most cloud services are not based on standards so is not trivial to move from one to another, of course many of them provide some exports functionalities but yet again not based on any standard so you don’t see as much import functionalities. There are of course exceptions: for services like dropbox, is just a matter of moving files from a directory to another (losing history thought) but most are not as easy.

Lets return to the cloud lamps, if the company that provides the service cease operation the lights will stop woking and you have to replace them all, and what if all your house lights are based on it? You will be left alone in the dark…​

The cloud is a valuable resource but also a risk due to lack of standards and security/privacy concerns, I’m not saying that people should avoid it but I think that we should all be aware of related risks.

Bye

K.


Propositions for 2017

2016 is coming to an end, and my proposition for the 2017 is I have to take again this blog to share my thoughts about technology and computer security.

For now I’ve started with a small reorganization of the website, introduced tags and joined news and English blog. Not much but it’s a start.

Happy new year to everyone.

Bye

K.


Let's Encrypt

I've decidiced to go full https thanks to Let's Encrypt

Let's Encrypt

This website is composed only of static files but nevertheless I’ve decidiced to go full https thanks to Let’s Encrypt


jBaking a new website

Finally I’ve started to rebuild the website (again) from scratch.

The truth is that I abbandoned it in 2013 due to lack of time, and till today all the time I’ve spent on it was spent for drupal mainenance. So I decided to drop dupal and move to something that required little effor for mainenance.

My choice went to jBake that generate a static website, that have not need for patching or similar security mainenance. Another advantage of jBake is that uses a template system common in JEE world that I already know.

Just a final note: Drupal is a really good platform, but it is just too powerful for a simple website like this is now.


Querying Job status on SQL Server 2005 without using OPENROWSET

Where I work the main DB engine is SQL Server 2005, today we had to find a way to check the status of a job started from a stored procedure (following this tutorial).

The tutorial show the usage of OPENROWSET for checking the job status, but for many reasons we could not use that function in our environment so we had to find another way

After many experiments I've written a query that could replace the OPENROWSET without incurring in the "nesting problem" of calling sp_help_job directly.

declare @CurrentJobs table
(
[Job ID] uniqueidentifier,
[Last Run Date] varchar(255),
[Last Run Time] varchar(255),
[Next Run Date] varchar(255),
[Next Run Time] varchar(255),
[Next Run Schedule ID] varchar(255),
[Requested To Run] varchar(255),
[Request Source] varchar(255),
[Request Source ID] varchar(255),
[Running] varchar(255),
[Current Step] varchar(255),
[Current Retry Attempt] varchar(255),
[State] varchar(255)
)
insert into @CurrentJobs
EXECUTE master.dbo.xp_sqlagent_enum_jobs 1,''

select *
from @CurrentJobs cj 
join msdb.dbo.sysjobs sj on cj.[Job ID]= sj.job_id
OUTER APPLY
        (
        SELECT  TOP 1 *
        FROM    msdb.dbo.sysjobhistory hj
        WHERE   cj.[Job ID]= hj.job_id
        ORDER BY
                [run_date] DESC, [run_time] DESC
        ) h
WHERE name='my_job_name'

Hope someone could find this useful

Bye
Kirys


Pass the same params to all drives of a Linux mdraid

I have two raids on my home server, one of them is used just as a backup staging area.

So I wanted to set all disks that compose that raid with higher power saving settings.

The result is this simple script


#!/bin/bash
mdadm --detail $1 | grep -o /dev/sd. |xargs hdparm ${@:2}

It make no checks but it gets the job done.

Bye

K.


A new home server

At home I've a server that I use for file serving, developing and making experiments but it is really old, has no virtualizzation support built'in (I'm using virtualbox but it is desktop oriented and I need something more oriented to server), and the available HDD space is almost out of space.

So my requirements list is:

  • at least 4Tb of raid protected hdd space
  • low power consumptions on idle (at least no higher than current setup)
  • lowest possible noise
  • full HW virtualizzation support
  • two gigabit Ethernet cards
  • full centos 6 compatible (that is the hardest part)

It was not easy, expecially the noise requirement since that information seldom provided into the hw specifications, my main source for this kind of info is Silent pc review but you can sill have bad suprises.

My current server configuration has 3 HDDs (raid 5) + a 2Tb hdd for "slow changing data" and an ssd for booting.

To achieve larger capacity and lower consumption I decided to use only 2.5 hdds. This is a setup that is now also common for enterprise servers, obviously I don't want to buy enterprise grade 2.5 HDDs (those are pricey) and this will also need a proper backplane for assure a good heat dissipation (so no plastic case).

I've selected the Samsung Spinpoint M8 1T hdd the spinpoint series was always a silent one so I've ordered a sample and make some tests, the result into an usb box was quite satisfactory. To reach the 4tb size in raid 5 i need 5 HDDs, so to have those plus the boot SSD I needed a MB with at least 6 sata ports.

 

Another important subject was the CPU, this is not a gaming PC, I just want to host some virtual guest for making clustering experiments so two physical core should be enough and power consumption have to be as low as possibile. This seemed simple but I soon discovered that there are not many low power consumption desktop cpus.

After a long research I found two candidates:

I have to admit that i liked the idea of using the E3 expecially due to the ECC memory support but I was unable to find a MB that officially supported that (and was compliant to my other requirements) so I had to buy the i5.

 


Happy Easter

Happy Easter to all


Migration of the content still in progress

Most of the content has been migrated, and reorganized.During the process I've lost all the tags of the old posts, but this is a minor issue for me cause this site needs new content ;)

Now i need to decide the best way to use Drupal for my projects

Cya K.


Migration to drupal in progress

Joomla 1.5 is in end of life, so I had to migrate to a new product. Joomla is really nice but I've found myself to like Drupal much more so I've started the migration. It'll take some time to complete.


Tweeter....

Google removed the share functionality of Google Reader to push Google+, I'm really upset by this choice cause I used that functionality for sharing news and articles that I thought were interesting on this website.
Today I've thought that twitter could be a effective replacement for it, so from now onward I'll be a twitter user too.

Cya
K.


Rilego status report

The first steps of the Rilego project are done, most of the features of JE-Comics are completely ported to Rilego 0.4.0 plus the multi-threading engine is active.

Now before continuing adding new features (the next feature planned is ePub output support) I need to consolidate the code (clean up, adding comments, and bug fixes).

Meanwhile I hope to get some testers soon ;)

Bye

K.


Is Microsoft going to buy Skype?

There are rumors that Microsoft is about to buying skype for $7bn, my only worry is that this could mean the end of Linux support (like it happened before).

Let's hope for the best

Cya

K.


Rilego Downloads

Rilego Downloads Page

{loadposition RilegoDownloads}


Rilego v0.4.0 Alpha Released

One of the most requested features for JE-Comics was multi-threading but due to its architecture it cannot have it but now Rilego does!

You can grab it at project download page

v0.4.0 Alpha

  • MAJOR: Multi-threading support.
  • GUI-MINOR: Split mode selection is now a Combo Box.
  • GUI-FIX: Now the gui uses Split Mode selection.

 

 


Older posts are available in the archive.