Preslav Mihaylov

Speaker, Software Engineer, Technical Trainer. Passionate about computer science, presenting and playing board games

Page 2 of 4

How to start your own blog and why?

I recently started this blog with the idea of posting some things I find useful with the purpose of helping out people. But I also found a blogging course from a very famous software development blog called Simple Programmer. It is maintained by John Sonmez, a developer dedicated to helping out other developers with topics such as Finance, Fitness, Specialization and all sorts of other useful stuff. You should definitely check out his blog.

Continue reading

Is reading books going to make you successful?

When I was little, my parents used to tell me how reading books will make me successful. How I should stop playing games all day and start reading. Well, nowadays I am reading various books all the time and it really helps me out. I guess I should thank the old ones (No, I’m not referring to Cthulu) for this one, even though they didn’t put this idea in me in the best possible way.

However, there is a huge misconception in this philosophy.

Continue reading

What you need to know about character sets and encoding

This article is part of the series What you won’t learn in the basics courses and is aimed at people who have an understanding of programming, but want to gain a more deeper insight on how things work and why do they work that way.

My last article was about different data types and some tricks with them. We talked a little about characters as well. However, working with them can be a little bit strange due to the presence of a fancy term in computing called encoding.

Today, my friend asked me to go and fix the subtitles for his movies. He had been telling me that some strange symbols appear all the time. So he tried reinstalling windows and changing all sorts of options but nothing seemed to work. He clearly had no idea what an encoding is. However, I guess that is normal since he doesn’t have a CS background. But there seems to be a lot of developers out there (me, including, in the old days) who don’t know what encoding means. Surely, they might have heard of UTF-8, but what is it? We have ASCII right?

Well, I am going to address the issue of encoding in this article as I think it is fundamental to anyone getting his hands dirty with programming and computing. It seems not many programming basics courses cover this topic in much detail.

Continue reading

How the binary nature of computers affects our data types

This article is part of the series What you won’t learn in the basics courses and is aimed at people who have an understanding of programming, but want to gain a more deeper insight on how things work and why do they work that way.

In the past few weeks, we have discussed the different ways computers deal with binary numbers in order to represent the numbers we are used to see – positive, negative and real. This time, we will take a step back from diving in the details of how the hardware deals with such issues and focus on how the design decisions, taken by computer architects, affect the way we represent data in our code. Particularly, we shall explore the different “features” that data types, that we use in our code, have hidden for us.

Continue reading

Floating point numbers

This article is part of the series What you won’t learn in the basics courses and is aimed at people who have an understanding of programming, but want to gain a more deeper insight on how things work and why do they work that way.

Hey, it has been a while since I last wrote an article on these series. Last time, we covered negative binary numbers and the different ways of representing them in a computer. This time, we will explain how to deal with real numbers. More specifically, we will briefly discuss fixed point numbers and then we will move on to the core of this article – floating point numbers.

Continue reading

« Newer posts Older posts »
BulgariaEnglish