My Travel Checklist and Tips for Safranbolu

Greetings from Safranbolu, the city that still looks like an historical Turkish city. I am on vacation with my wife for three days here. I will share my “Places to visit” checklist and provide short comments about there to help others thinking to visit Safranbolu.

Transportation Advices 

Safranbolu is at west of Black Sea region near Karabük. You can arrive here with a car or a coach. My checklist includes places of a range of nearly 100 km’s. So I recommend to have a car with you. But no problem otherwise, there are buses to most of places nearby with a frequent schedule.

Karabük Kilcioğlu Pide 

It is my first checkpoint. Kilcioğlu really knows how to make a delicios pide. Each kind is worth eating so you can order a mixed pide if you don’t have a specific choice. The dough of pide was so unique that I have never eaten a pide in my whole lifetime before. Your stomach will love these pides for sure. One pide is 15 TL. Also drink a “Bağlar Gazozu” with it for only 2 TL.

Hotel – Çeşmeli Konak 

I am staying two nights here, 50 Euros a day. It is a classical historical Safranbolu building. It is quite clean and close to town center. Rooms are also designed as a historical Turkish style just as old village house rooms. If you are not familiar with old Turkish rooms, you will be surprised a lot. Restroom and shower are inside the room behind the closet. The room has a Quran translated in English and each verse has comments written by a scholar Ahmet Hulusi. A good breakfast is included in price. There is also free Wifi Internet connection.

Eski Çarşı (Old Bazaar) 

Since Safranbolu is an important historical trade center in the past, it has a still-live bazaar. At the bazaar, different kinds of foods, fabrics, woodcrafts and coppercrafts are being traded. I recommend to you try lokum (Turkish Delight) from “İmren Lokumcusu” and drink a Turkish coffee from Arasta Cafe there. Also there is Hıdırlık Hill stands near Safranbolu. You can drink a tea while enjoying the city view.

Yörük Village

“Yörük” is a name of a Turkish Tribe. There is a village named “Yörük Köyü” at a few kilometers west of the city. You can taste “Gözleme” and “Ayran”. They are very delicious.

Amasra

Amasra is a great coastal city with a peninsula. It is 90 kilometers north of Safranbolu. It is difficult to find a natural-port on Black Sea coasts because of geographical position of mountains. But Amasra is one of these rare cities that having a natural-port. You can view the great scene with an island from a highland “Ağlayan Ağaç”. Also there is a fish restaurant named “Canlı Balık”. You can eat delicious fishes there.

Canyon and Kristal Teras

There is a canyon a few kilometers north of Safranbolu. You can first visit “Kristal Teras” and view the canyon from the top. There is a transparent hard glass where you can walk on it above the canyon. It is really exiting. Then you can have a walk on hiking trails made of wood and go down where there is a small stream.

That is all I am telling. I wish it helps anyone reading this. Please add your comments if you have something to add. See you on another post.

My Youtube Channel: Programming Sessions

video production toolsI am planning to produce and share videos about programming and internet. In this purpose I ordered a microphone for recording audio and get a Cam Studio software for screen capturing. You can see my production environment on the right side. I also ordered an short intro video from a web site for $5.

In the early hours of today my first video is out on my YouTube Channel. It is about to setup a virtual machine and publish a web page on Google Cloud. I hope I will keep doing this regularly.

I think the recording of my voice is to be improved. Until I get a better microphone I will enter captions to help audiences understand better what I say.

About Benimfontum

Yesterday I terminated my first profit-oriented start-up, Benimfontum. Benimfontum is a web site where anyone can convert your own hand-writing to digital font. It generates a font file from the scanned hand-written template and so enables people to type their digital content such as blogs, e-mails and documents (any kind of document that you can select font).

Logo

The story started exactly 5 years ago. When I was surfing Internet I came up with a web site called as “Your Fonts” [1] that generates font file from hand-writing. I was interested with this idea and I thought that lots of people will like this feature as well. Also web site had a re-seller kit that you can build your own web site and sell their feature adding a commission. So I decided to do this business and applied for being a re-seller.

My own font sample
My own font sample

All the ordering progress was programmatic. Customer downloads, prints the template which has a space for each character to fill. After filling, customer scans the template, go for a test-type and complete the order paying with Paypal. Then the font file is sent the customer via e-mail. I would make a profit of $8 each font is sold.

Turkish Language is using Latin Alphabet but has a few weird extra characters like İ, Ş, Ğ. The font service has to be adapted to support them or I could not sell even one font to Turkish people. They added these characters to template and I built the web site so the business started.

The next step was to promote. I requested some of my friends to spread the word in crowded online communities like Ekşi Sözlük [2], Friend Feed and their personal blogs. Thousands of hits came to my web site and hundreds of them tried the demo. But no order was given. According to blog comments the main reason was they do not like their own hand-writing. I was disappointed.

However 2 orders are given within whole life time. All were one years later, in 2010, the time that I was completely forgotten the existing of the web site.

No more orders in 4 years so to reduce my server costs I decided to shut it down. I noticed that it is not even working still because Paypal keys were dead. I tweeted this news to inform the followers [3].

Bundan tam 5 yıl önce kurulan @benimfontum kapandı. Kar edemedi ancak insanlara faydalı olmaya çalıştı. Hepiniz hoşça kalın.
BenimFontum (@benimfontum) October 2, 2014

Aftermath

Lost money, gained experience. It worth trying :)

References

  1. http://www.yourfonts.com
  2. https://eksisozluk.com/benim-fontum–2209866
  3. https://twitter.com/benimfontum/status/517549386868748288

Twelve Days of Christmas – An Obfuscated C Code

Today when I was cleaning my a decade-old mails of my early college years, I came up with a mail received from my programming instructor. Just like the file name (mystery.c) the content of the file was quite mystery. He might be expecting us (students) to put it on compiler and hit run.

Ekte bir C programi yolluyorum. Durumun vehametini anlamak acisindan faydali
olabilir. Merat etmeyin sinavda cikmayacak :)
erkan

Code

#include &lt;stdio.h&gt;</p>
<p style="text-align: justify;">main(t,_,a)
char *a;
{return!0&lt;t?t&lt;3?main(-79,-13,a+main(-87,1-_,
main(-86, 0, a+1 )+a)):1,t&lt;_?main(t+1, _, a ):3,main ( -94, -27+t, a
)&amp;&amp;t == 2 ?_&lt;13 ?main ( 2, _+1, "%s %d %dn" ):9:16:t&lt;0?t&lt;-72?main(_,
t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+
,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/
+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){n
l]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#
n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;
#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}##(!!/")
:t&lt;-50?_==*a ?putchar(a[31]):main(-65,_,a+1):main((*a == '/')+t,_,a
+1 ):0&lt;t?main ( 2, 2 , "%s"):*a=='/'||main(0,main(-61,*a, "!ek;dc
i@bK'(q)-[w]*%n+r3#l,{}:nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}

The output is a poem. I am not going to share it, just put it on compiler and hit run. You can find online c compilers with a little effort.

If you are interested, see this web page for more obfuscated codes like this.

How many colors are required to color a graph?

Selam.

Today I will talk about an interesting theorem in maths. It was my homework to prepare a paper summarizing “Four Color Theorem” in high school, many years later I am doing the same thing again.

Four Color Theorem

Here is a brief summary of Four Color Theorem from Wikipedia:

The theorem states that given any separation of a plane into contiguous regions, producing a figure called a map, no more than four colors are required to color the regions of the map so that no two adjacent regions have the same color. Two regions are called adjacent if they share a common boundary that is not a corner, where corners are the points shared by three or more regions [1].

In 1852 a South African mathematician and botanist Francis Guthrie claimed the theorem for the first time. Then in Fallacious proofs were given independently by Alfred Kempe in 1879 and Peter Guthrie Tait in 1880. Kempe’s proof was accepted for a decade until Heawood came.

Heawood’s Formula

The following image represents Percy John Heawood’s generalized formula where γ(g) (as known as the chromatic number) is the smallest number of colors needed to color the vertices of a graph so that no two adjacent vertices share the same color. Heawood’s formula also approved Gutherie’s theorem for g=0 (g is for genus, which has a value of 0 for planar space [5]). This result was finally obtained by Appel and Haken in 1977, who constructed a computer-assisted proof that four colors were sufficient. Then a shorter, independent proof was constructed by Neil Robertson.

Heawood-Conjecture-Formula
Heawood Conjecture Formula

In December 2004, Georges Gonthier verified Appel and Hakken’s proof by representing all 1,936 possible situations of generating a map using a computer program. Initially, their proof was not accepted by all mathematicians because the computer-assisted proof was infeasible for a human to check by hand. Since then the proof has gained wider acceptance, although doubts remain. So, if you can find any planar map that can not be colored at least by four colors your name will be included in the chronology of this theorem. Good luck.

Featured Image

Map of provinces of Turkey can be colored using only four colors.

References

  1. http://en.wikipedia.org/wiki/Four_color_theorem
  2. http://mathworld.wolfram.com/Four-ColorTheorem.html
  3. http://mathworld.wolfram.com/HeawoodConjecture.html
  4. http://mathworld.wolfram.com/ChromaticNumber.html
  5. http://en.wikipedia.org/wiki/Genus_(mathematics)

Hello world!

Hello world, I will put my words here in this blog. Anyone is free to read them.

class HelloWorld
{
    static void Main()
    {
        Console.WriteLine("Hello world!");
        Console.Read();
    }
}