Burak Ozdemir 's Blog
Computer Science & Softwares - Latest Technology


Where people meet new technology !


Men vs Women

Fun No Comments »

menvswomen

Is it a war? Maybe it is true maybe not. Who cares? Complexity may be a disadvantage or a power to rule, or simplicity rules? Who cares? Is it a war or just mutualist way of living? Who is the boss ? Look to the picture and you decide but remember men are easy to shut down.

Technorati Tags: , ,

C# and Inline Assembly

Programming 1 Comment »

Inline assembly was a technique to use I386 assembly language directives in a C++ code. Programmers often use this technique to gain speed at intense calculations. However C# is far away from this concept, being lack of such a need, C# stands as a limited programming language against C++. According to some gossip, they are considering to add this in Whidbey.

However you may not want to wait for Whidbey, yes it is said to be there exist some solutions, (I heard this from one my programmer friend). Surprisingly the idea seems very interesting to me. The point is that you call assembly functions from a DLL, so the only thing that differs is coding, you just call some functions to make your calculations in machine language, and as a result. you acquire the indispensable augmentation in performance.

Never tried this method, but I will definitely try, in the following posts I may expose it with some code samples. Another important point that you may use this method in VB.NET also, as you can use the DLL in a same manner. Goodbye until to next post!

Technorati Tags: , , , , , , ,

.NET & MySQL - F(r)iends?

Programming No Comments »

Hi, in my previous post I discussed and compared IIS and ASP against PHP and Apache. In this post I’ll be discussing diffuculties about communicating with a MySQL database in ASP.NET on a shared hosting. As you know if you have a direct access to your web server, nothing is impossible but in most cases you can not.

For example, I am using GoDaddy’s shared hosting plans and I’m really happy with.However I am discovering the limits lately, and I am understanding what are you capable of to do with shared hosting using ASP.NET.Chances are that if you are using PHP, you have greater freedom and everything becomes possible.

Yesterday I was trying to connect to a MySQL database with .NET, I accomplished this on Windows very smoothly without having any problems.(I used ByteFX .NET library to connect MySQL).On the other hand, on Web, this is nearly impossible, you can not use external dlls on many of the shared hostings (security issue).I tried to use ODBC to connect MySQL, I didn’t use any DLLs and again I couldn’t connect to MySQL database (By the way this MySQL database is not on my shared hosting, on a completely different host), because thanks to GoDaddy, they have blocked outgoing connections to other database hosts.So I was only able to connect an inner MySQL database.You may ask why MySQL? Because you may not find free database hosts that give MSSql (there are lots of hosts that provides free MySQL databases), and also you may not have any other options other than MySQL, so in such a case your all hands are tied.

Briefly I am really considering to use PHP rather ASP.NET, day by day I discover something that is possible in all the way with PHP and not possible with ASP.NET.
This is really driving me nuts.As you see PHP gains another +1 against ASP.NET.See you next time…

Technorati Tags: , , , , , , , , ,

ASP.NET Url Rewrite - ASP.NET/IIS VS PHP/Apache

Programming 1 Comment »

Have you ever realized how difficult url rewrite can be in ASP.NET which is hosted in IIS?
If you are coding php and hosting it on an apache server, your job is pretty easy. You may just write appropriate
matchings for your urls ( this is typically done by regular expressions ) in htaccess file. However this is not just that easy on IIS. You may ask, why the subject contains “ASP.NET”, this is because IIS is just used to host ASP.NET in usual. You may host ASP.NET on your apache, but the hosting firms in the market do not use apache servers for ASP.NET. They use IIS.

Url rewriting can be made in few ways, with ISAPI modules, or you may configure IIS to direct .html or anyother extensions to ASP.NET dll. However you need to access your IIS server.If you are using a shared hosting like me :) , you may be disappointed but you should accept that you can only do url rewrites which ends in .aspx extension, because IIS directs .aspx extensions to asp.net dll, and your custom rewrites in your global.asax will run before IIS gives an “404 Not Found Error”.

Yes I hate .aspx/.php or any other extensions different than .html. Not only me prefer .html , but also Google prefers .html extensions, and most likely to index that pages.Briefly the same situation can happen if you host php on IIS (which is pretty a dumb action to do), as a result this is not related but .NET, but again If we consider php/apache bros. they gain +1 against asp.net/IIS .

Technorati Tags: , , , ,

Nokia E65 - A swiss knife

Technology No Comments »

nokiae65

Why Nokia E65 ?
There are many reasons, especially WiFi. If you are looking for a WiFi phone, E65 is the best choice currently.Just because many other phones with WiFi have stupidly high price. Consider N95, if you are not going to use a 5 MegaPixel camera, why would you buy that phone for a fortune ?

In E65 there is a 2-Megapixel camera which is pretty enough for most shots. Beside WiFi, and its acceptable price there are many other advantages like its OS. E65 uses symbian S60 3rd version. This means you will likely to use MSN instant messenger (Windows Live), check your Gmail inbox, surf the web with a pretty nice browser.Also E65 comes with lots of useful applications, to aid your business like word,excel,powerpoint(also you may use E65 as a remote controller for presentations) and pdf applications, welcome to E65 pocket office.Since it is Symbian S60 3rd version, there are incredibly many applications for your taste, gaming, office, personal, internet, security and many others.Travellers will really like this phone.It comes with navigation apps, you may connect to your gps with bluetooth or use network to locate your position and draw a path to other location and you may also use Nokia maps application for a detailed road map of your city.

Briefly this phone is for those who wants internet,instant messaging, emailing, office and gaming, this phone is a little computer in your pocket.

Technorati Tags: ,

Back to the work after a long break

Social No Comments »

hammock.jpg

Finally I returned to blogging after a long while, during this holiday I havefound time to do many things.In the following days you will find manydifferent articles on variety of topics.Thanks to all for your the patience.See you soon,Burak.

Technorati Tags: ,

Vacation is a nice way to boost your blogging

Webmaster Tips No Comments »

If you have a laptop or hand-held device with internet connection, then you are lucky that you are able to blog in peace. Human brain thinks in a different way on resting. This means that when you are on a holiday, you may be more creative and think different. This is like a natural brain storming. You can use this as a nice way to boost your blogging. Just carry your laptop or hand-held with you whenever possible. Put your ideas into your favourite text editor. Collecting and organizing ideas is a beginning of an article.When you have enough ideas then you can start expand each idea to cover the topic. You may come across with different ideas when you are on a holiday. So it is a better way if you carry at least a paper and a pen with you, because you don’t know when lighting strikes in your head. So if you have time to sit and drink something, then you can think about your ideas and expand them to form the story.

List:

  • Carry your laptop/hand-held with you
  • Collect ideas
  • Write down the ideas you collected
  • Organize them
  • Drink something, complete the story

Technorati Tags: , , ,

Multiple Find & Replace

Software No Comments »

I have made a special tool called ” Multiple Find & Replace ” . This tool will help you with working many files, especially if you are coder and want to change the same thing on multiple files, so this little tool will save your time. What is special about this tool is that it supports regular expressions, so you can use a regular expression to specify what you want to change. It also creates auto-backups and then replaces the backups if you want. In a log window you can easily track which files you have opened and what how many replacements made on this files. This little ” Multiple Find & Replace ” tool is completely free! But I will appreciate if you donate some penny :) , below there is a screen shot of the tool. (You have to have .NET 2.0 Framework to be installed.)

Download Now Multiple Find & Replace.rar (Compressed - 32 KB)

mfr_scr.jpg

Technorati Tags: , , , ,

Golden Rule ‘Content’

Webmaster Tips No Comments »

content

Many bloggers are hopeless, they just work hard and run their blogs for months, but they still don’t get any valuable amount of visitors. This is just because something is wrong with your content. Maybe the most anticipated subject by bloggers.Catching a good content and idea must not be so easy, because among those millions of bloggers only some of them earn much.Problogger,John Chow,etc..

So have you ever think that what if you spend your time on your content rather than your design? Probably you will start to get some loyal readers, and your feed chicklet will show a number greater than 10. If you still lack of ideas what may your content be, you have to ask for yourself, you know the things that you are better on.

Searching other sites, browsing many blogs in your niche can be very helpful, to do so, get a feedreader, add your favorite blog feeds and it will be much more easier to follow many blogs.This week Problogger touched an interesting point Go Shopping and Improve Your Blog , this was really an interesting experiment for me. He asked for his readers go shopping, observe the people and note their ideas about what is going on around. Problogger himself did the same thing, he went the nearest shopping center and catched some ideas. The most important point is that he related the ideas with blogging.

An example is :

3. Lines and Waiting in Queues Kill Customer Loyalty

(He related this with slow load times of sites.)

To catch some ideas, the only thing is to look around something, go away from your computer.Think about your content, how to improve it, or maybe you have to change your niche.You have to know your professions and skills, and choose your niche accordingly.People who are successful are the people who aware of their environment, having a good reasoning, and relating every experience with their jobs by catching common points.
Sitting and waiting will not inspire you, do different things and read a lot.

Tags:

FileStuff

Social No Comments »

filestuff

Many of the newbies (once I was a newbie too) are suffering from weird file extensions and what are they for? They are just tired of Google hopelessly to find some thing about .xyz .abc. But what is this FileStuff for? It is easy and pratic, just bookmark this url http://www.filestuff.co.uk and use the search box on the left upper side for searching a file extension, so do not waste on time for searching on search engines.The site has some great features besides searching extensions, you can also search for softwares to find out their file extensions.You may be a software developer and you want to publish your software’s file extension, so you can do it simply by filling the form on this page http://www.filestuff.co.uk/add-file-ext.html. Just try !

Tags: , ,

Copyright Protected ©2007 http://www.buraak.com
Contact info : <burak [at] buraak [dot] com>
Entries RSS Comments RSS Login
eXTReMe Tracker

Privacy Policy