iostat ile CPU ve I/O ölçmek

Ekim 25, 2011 § Yorum yok § Kalıcı bağlantı

sda için her saniyede çalışır. Toplam 3 çıktı ver:

iostat -p sda 1 3

Daha detaylı bilgi için

iostat -x


Ekim 24, 2011 § Yorum yok § Kalıcı bağlantı

Grep ile OR yapmak

grep 'pattern1\|pattern2' filename
grep -E 'pattern1|pattern2' filename


$ grep 'Tech\|Sales' employee.txt
100  Thomas  Manager    Sales       $5,000
200  Jason   Developer  Technology  $5,500
300  Raj     Sysadmin   Technology  $7,000
500  Randy   Manager    Sales       $6,000

Grep ile AND yapmak

Önce pattern1 sonra pattern2 gelecekse:
grep -E 'pattern1.*pattern2' filename
Pattern1 ve 2 herhangi bir sırada gelecekse
grep -E 'pattern1.*pattern2|pattern2.*pattern1' filename
grep -E 'pattern1' filename | grep -E 'pattern2'

Grep ile NOT yapmak

grep -v 'pattern1' filename

File sistem ve Postgresql Linkleri

Ekim 24, 2011 § Yorum yok § Kalıcı bağlantı

File sistem parametreleri

File sistem karşılaştırmaları

File sistem benchleri

Postgresql için donanım seçmek

Postgresql kernel resources

Performans wiki

Database journal

Performans wiki

IBM kernel parameters

Postgresql performans

tcp parametreleri


RAID Yapılandırması

Ekim 21, 2011 § Yorum yok § Kalıcı bağlantı

Terörü Lanetliyoruz

Ekim 19, 2011 § Yorum yok § Kalıcı bağlantı

Vedat Abi Hem Yer Hem Bakar!

Ekim 18, 2011 § Yorum yok § Kalıcı bağlantı

Vedat Milor telefona üzülüyor ama yemekden de vazgeçemiyor.

Facebook, facebook, facebook ….

Ekim 17, 2011 § Yorum yok § Kalıcı bağlantı

Facebook: Releasing your personal data reveals our trade secrets

By Emil Protalinski | October 12, 2011, 11:27am PDT

Summary: Facebook says it is not required to give you a copy of some of your personal data as it could adversely affect the company’s trade secrets and intellectual property.

Update: I followed up with both organizations. See Facebook: The law reasonably states you can’t have all your data and Europe versus Facebook: The law protects program logic, not data.

An Austrian group called Europe versus Facebook has so far made 22 complaints regarding the social network’s practices. In the process, the organization has stumbled upon an important tidbit: Facebook says it is not required to give you a copy of some of your personal data if it deems doing so would adversely affect its trade secrets or intellectual property.

On its website, Europe versus Facebook shows how to request a copy of your personal data on the social network. It explains that because of Ireland’s 1988 Data Protection Act (DPA), Facebook has to send you your data on a CD within 40 days of a request.

The organization managed to accidentally get Reddit involved, whose users recently overwhelmed Facebook with data requests by following a slightly altered version of the instructions. The company was forced to e-mail all users requesting data to say it was experiencing a significant delay in processing the requests and will be unlikely to respond within 40 days of the initial request.

Before Reddit found out about Facebook’s request tool, Max Schrems of Europe versus Facebook managed to receive a reply to his request. It was in the form of a CD-ROM storing over 1,222 pages. As he looked through the ridiculously long document however, Schrems noticed that important information was missing, and so he contacted Facebook again asking for the remaining data. Here’s Facebook response:

Dear Mr. Schrems:

We refer to our previous correspondence and in particular your subject access request dated July 11, 2011 (the Request).

To date, we have disclosed all personal data to which you are entitled pursuant to Section 4 of the Irish Data Protection Acts 1988 and 2003 (the Acts).

Please note that certain categories of personal data are exempted from subject access requests.
Pursuant to Section 4(9) of the Acts, personal data which is impossible to furnish or which can only be furnished after disproportionate effort is exempt from the scope of a subject access request. We have not furnished personal data which cannot be extracted from our platform in the absence of is proportionate effort.

Section 4(12) of the Acts carves out an exception to subject access requests where the disclosures in response would adversely affect trade secrets or intellectual property. We have not provided any information to you which is a trade secret or intellectual property of Facebook Ireland Limited or its licensors.

Please be aware that we have complied with your subject access request, and that we are not required to comply with any future similar requests, unless, in our opinion, a reasonable period of time has elapsed.

Thanks for contacting Facebook,
Facebook User Operations Data Access Request Team

When Reddit users started getting e-mails from Facebook about a delay for their data requests, Schrems got one as well. He also got the response above, but I only picked up on it now, after TechDirt linked to the a PDF of both e-mails.

It’s worth noting that also last month, Billy Hawkes, Ireland’s Data Protection Commissioner, announced that he will conduct a privacy audit of Facebook’s activities. Since Facebook’s international headquarters is in Dublin, all users outside the US and Canada could be affected by his findings.

His office decided to investigate the company after Europe versus Facebook’s 22 complaints were covered repeatedly in the media. For reference again, here are all the complaints:

  1. Pokes are kept even after the user “removes” them.
  2. Facebook is collecting data about people without their knowledge. This information is used to substitute existing profiles and to create profiles of non-users.
  3. Tags are used without the specific consent of the user. Users have to “untag” themselves (opt-out). Note: Facebook has announced changes for this.
  4. Facebook is gathering personal data e.g. via its iPhone-App or the “friend finder”. This data is used by Facebook without the consent of the data subjects.
  5. Postings that have been deleted showed up in the set of data that was received from Facebook.
  6. Users cannot see the settings under which content is distributed that they post on other’s pages.
  7. Messages (incl. Chat-Messages) are stored by Facebook even after the user “deleted” them. This means that all direct communication on Facebook can never be deleted.
  8. The privacy policy is vague, unclear and contradictory. If European and Irish standards are applied, the consent to the privacy policy is not valid. Facebook tried improving it earlier this year.
  9. The new face recognition feature is an disproportionate violation of the users right to privacy. Proper information and an unambiguous consent of the users is missing.
  10. Access Requests have not been answered fully. Many categories of information are missing.
  11. Tags that were “removed” by the user, are only deactivated but saved by Facebook.
  12. In its terms, Facebook says that it does not guarantee any level of data security.
  13. Applications of “friends” can access data of the user. There is no guarantee that these applications are following European privacy standards.
  14. All removed friends are stored by Facebook. This was reconfirmed recently.
  15. Facebook is hosting enormous amounts of personal data and it is processing all data for its own purposes. It seems Facebook is a prime example of illegal “excessive processing”.
  16. Facebook is running an opt-out system instead of an opt-in system, which is required by European law.
  17. The Like Button is creating extended user data that can be used to track users all over the internet. There is no legitimate purpose for the creation of the data. Users have not consented to the use.
  18. Facebook has certain obligations as a provider of a “cloud service” (e.g. not using third party data for its own purposes or only processing data when instructed to do so by the user).
  19. The privacy settings only regulate who can see the link to a picture. The picture itself is “public” on the internet. This makes it easy to circumvent the settings.
  20. Facebook is only deleting the link to pictures. The pictures are still public on the internet for a certain period of time (more than 32 hours).
  21. Users can be added to groups without their consent. Users may end up in groups that lead other to false impressions about a person.
  22. The policies are changed very frequently, users do not get properly informed, they are not asked to consent to new policies.

The Irish Data Protection Commissioner will have a tough time going through all of these complaints. Still, I would argue it will be even more difficult for Facebook to show that sending you certain parts of your personal data “would adversely affect trade secrets or intellectual property.”

I have contacted Facebook for more information about this issue and will update this article if I hear back.


Rest in Peace Dennis!

Ekim 16, 2011 § Yorum yok § Kalıcı bağlantı

#include stdio.h

int main()
    printf("goodbye, dad\n");
    return 0;

“UNIX is very simple, it just needs a genius to understand its simplicity.”
Dennis Ritchie

Rest in peace GREAT MAN!

Steve Jobs ve Aptalların Özgürlüğü!

Ekim 10, 2011 § Yorum yok § Kalıcı bağlantı

“Steve Jobs, the pioneer of the computer as a jail made cool, designed to sever fools from their freedom, has died.

As Chicago Mayor Harold Washington said of the corrupt former Mayor Daley, “I’m not glad he’s dead, but I’m glad he’s gone.” Nobody deserves to have to die – not Jobs, not Mr. Bill, not even people guilty of bigger evils than theirs. But we all deserve the end of Jobs’ malign influence on people’s computing.

Unfortunately, that influence continues despite his absence. We can only hope his successors, as they attempt to carry on his legacy, will be less effective.”

Yazının çevirisi

Aptalları özgürlüklerinden etmek için tasarlanmış hapisanemsi şık bilgisayarların öncüsü Steve Jobs öldü.

Chicago Belediye Başkanı Harold Washington’ın yolsuzluğa bulaşmış eski belediye başkanı Daley’in ölümü üzerine söylediği gibi “Öldüğüne değil ama gittiğine memnun oldum”. Kimse ölmek zorunda olmayı haketmiyor-Jobs, Bay Bill veya onlardan daha büyük kötülükler yapmış kişiler bile. Ama hepimiz Jobs’ın halkın bilişimi üzerindeki kötü etkisinin sona ermesini görmeyi hakediyoruz.

Maalesef onun yokluğuna rağmen bu kötü etki devam ediyor. Efsanesini sürdürmeye çalışacak haleflerinin daha etkisiz olmasını umut etmekten başka yapabileceğimiz bir şey yok.

R.Stallman (

Aynen katılıyorum.
Jobs’un verdiği kadar özgürlükle yetinmek istemiyorum…

Kimsenin ölümüne sevinecek değilim.
Ama popüler kültür emrediyor diye üzülecek de değilim!

Askıda kalmış queryleri öldürmek

Ekim 7, 2011 § Yorum yok § Kalıcı bağlantı

select * from pg_stat_activity;
select pg_terminate_backend(procpid);

Neredeyim ben!?

Ekim, 2011 arşivinde geziniyorsun.