8 Aralık 2013 Pazar

New blog

Hi,

As I said before I was using this blog as a showcase when I was seeking new jobs. Now I want to try and see if I can write tutorials and howtos and stuff like that to make some "internet advertisement" money.

When I look at most posts in this blog I see they are more about  my learning period about a topic and they are pretty confusing for teaching purposes.

Also this blog as a whole does not have a very consistent topic. Also some posts are in Turkish, other are in English. Therefore I will be moving the useful content to the new blog. Meanwhile I will also try to make the content more precise and clear.

This blog will continue to exist. I think I can use it to rant about Linux or development stuff.

If you see something you need mentioned in this blog is missing just send a comment under this post.

New blog is located in: elinuxdev.blogspot.com

25 Ağustos 2013 Pazar

About previous blog posts

I wrote in a previous post (in Turkish) I use this blog to seek jobs. I certainly like sharing information which may be valuable to others. But my main purpose is to show that I know some stuff about the the type of job I am applying to.

However when I look back at my old posts I see most of them are based on whatever piece of code I was trying to write at the time which makes them pretty hard to read. From now on I will write more generic posts which does not include details about how I thought I would code something.

This way I hope my articles will actually help someone. I realize if they can't help someone who is looking for information they can't show if I know some topic or not.

Also I won't announce any blog posts ever again. I wrote I would continue Linux network driver article "tomorrow" in my last blog post more than seven months ago. 

I would love to post regularly, just to share info. Maybe some day I will. But until that day I won't update this blog unless I am looking for a new job.

Nevertheless you can expect some new posts these days, especially on Linux network drivers. As I said I use this blog to seek jobs and I'm job-hunting again.

18 Aralık 2012 Salı

A threaded server implementation

Hi, today I want to write about a server and a client program I developed under GNU/Linux [source]. And I will write a longer post about what I learned about server design later.

I started off to write a chat server and client but in the end I thought anything related to chat cannot be coded in C easily. I may use the code to make a chat server with C++ someday. Right now the server has a message log and all incoming messages are recorded there. A message coming from one client is sent to all other clients which are connected to the server. Each client records the messages coming from the server to its own message log. The server doesn't use select, poll or epoll. Instead it uses threads. I chose to assign new threads per connection to practice pthreads.

There are three topics I can write about the programs. The queue struct which works as a message buffer, the client application and the server.

12 Aralık 2012 Çarşamba

Bu haftasonu katılınası etkinlikler

Ne zamandır evde kod yazıyorum. Haliyle sıkılmaya başlamıştım ve sosyal etkinlikleri iple çeker olmuştum. Şansa bakın ki bu haftasonu üç etkinlik birden üst üste geldi. Fırsatım olsa (mesela gerçek hayatta clone() syscallu çağırabilsek) üçüne de katılmak isterdim ama maalesef yalnız birini seçmek zorundayım.

Hepsinin değerli etkinlikler olduğunu düşündüğümden burada biraz bahsetmek istiyorum. Bakarsınız ilerde blogun trafiği artar da hem etkinliklere hem de etkinliklerden haberdar olmayan insanlara faydam dokunur.