Skip to main content

Posts

Showing posts with the label network

How to block online ads with the hosts file

Am I the only one who is skeptical clicking on ads I see online? Yes, I know it is the lifeblood of entrepreneurs , but I really don't care to view more than I have to. We all know the 7 +- 2 rule ; we have a limit of the amount of information we can take in at a single time. It's a fact. We are not infinite in our abilities alone - let's just let the computers do the thinking for us .   Inline Adsense ads While I recently tried to set up a more elegant solution, I wanted to share with you how you have the power to block ads (in case you didn't know already) and regain [more] control of what you are looking at online. Extensions This is the easy answer, just install Adblock Plus ( Chrome ). Adblock Plus on the Chrome web store Adblock does it all for you. Ads? No more. It's really a golden bullet. However, if you want to grow as a developer, sometimes it pays to try and do things in a different way in order to learn how more things work und...

Building a networked, multiplayer .NET Core console application

I felt a desire to do something I hadn't tried yet, and that was to make a multiplayer game over the network within a .NET Core console application. Because - why not? Programming allows us to create anything we can think of . Let's have a look at making our game, Packet Battle! Packet Battle! Overview The format of this article is we will approach different aspects we need to solve in order to make Packet Battle, and at the very end I'll share the entire source you can run and play Packet Battle with your friends. Playing video games with friends You likely won't have as much fun as these people, but games are as much as you put into them . Let's begin. Defining "server" and "client" Before we go further, it is essential to understand the difference between a server and a client. In the terms of a game, each player is typically a client that joins a server that hosts multiple clients. Examples of these types of games are...