It’s been almost a year since I did my first public speaking (related to programming). During that, many things changed including my personal point of view on that profession. It is nothing new that the first steps are the hardest, so in this post, I’ll describe my first feelings, mistakes, and moves which started my personal journey as a speaker. Since I’m still at the beginning of my way, this post will probably evolve from time to time but even thou...
Strona głównaUżytkownik
dpawlukiewicz | użytkownik
Daj się poznać 2017 2811 dni, 23 godziny, 19 minut temu 39 źrodło rozwiń
Last week, I finally started working on my „Get noticed” project called gifty. If you have absolutely no idea what I’m writing about you can go read my introduction to the project which I link here😉 Anyway, one of the first things I wanted to do was to create some kind of ServiceBuilder for every microservice, since all of them (or at least majority) will have to go through some steps before the actually run. The steps are:Initialize Kestrel wi...
Daj się poznać 2017 2825 dni, 4 godziny, 20 minut temu 70 źrodło rozwiń
I’m not a big enthusiast of hard-coded values in my apps, mostly because of three things. First, it’s really annoying to change their value if necessary (especially if one is used in many places). Of course, we can use some „find and replace tool” but to be honest I don’t fully trust them. Another thing is that in many cases we have absolutely no idea what do they represent. Let’s say we have the following of code: PaymentService.Create(or...
Daj się poznać 2017 2830 dni, 16 godzin, 52 minuty temu 51 źrodło rozwiń
Today’s post is going to shortly discuss entire architecture, I’m going to implement in next three months. Since I’m not microservices master, some of my current decisions might be stupid or just not efficient. I so, please let me know in the comments. This would definitely help me out 😉 ! What are microservices? Let’s start with defining the microservice term. In a common approach, we design our system as one huge „being”. Of course, there mig...
Daj się poznać 2017 2835 dni, 22 godziny, 25 minut temu 50 źrodło rozwiń
As some of you might notice, I’ve not posted any new post since two weeks. There are few reasons for that including my vacations (finally) and other. But the most important one is the fact that I wanted to rest before huge programming competition. If you are not familiar with this even keep reading 🙂 Get Noticed One of the most recognizable Polish .NET developer – Maciej Aniserowicz – came up with really great and simple idea. Why not create some kind of competi...
Daj się poznać 2017 2841 dni, 9 godzin, 49 minut temu 29 źrodło rozwiń
Yet another week, yet another code tip for you folks! Today’s post is going to be short and easy but I hope that useful at the same time (at least for the C# beginners). Let’s start! C# logical operators One of the first things we learn when starting discovering some new programming language are operators. There are plenty of them including arithmetic operators, bitwise operators and… logical operators. In C# two most common ones are „&&” for conjunc...
Sztuka programowania 2854 dni, 11 godzin, 16 minut temu 141 źrodło rozwiń
I’ve been working as software developers since July 2014 and during that time my point of view of IT industry have changed several times. Before starting my career I had absolutely no idea about this profession but even though I loved that! Why? Simply because of my friends who talked about tons of money they were earning, lots of benefits in the office including snacks, coffee, PlayStaion, alcohol and so on. That seemed awesome! Infamously, I must admit tha...
I’m a really big fan of Scott Hanselman and the way he manages his personal/work time. While watching his „soft” talk titled „Scaling Yourself” I was surprised when he described his way of answering some questions coming from all over the world (via email). He said that each of us has a limited number of keystrokes until we die so, it’s such a waste to write a dedicated email with long answer and examples in the code. Why? Because we could optimize that process and share our knowledge with other folks ou...
This is one of those "I had to explain this couple times already so next time I want something I can redirect people to" kind of post. What I want to write about is difference in behavior between using new() and DbSet.Create() for instantiating new entities.
Sometimes it happens that knowing well some tool we suddenly discover an option that seems completely „exotic” but when we sh...
Przy okazji konferencji PolCaster 2016 (na której byłem w zeszłym roku) usłyszałem dość interesującą informację, a mianowicie: statystycznie podcast kończy się po 7/8 odcinku. Później następuje wypalenie, lub brak pomysłów i bum…koniec. O ironio mój podcast również przez chwile mógł wydać się kolejnym kandydatem do zamknięcia, ale tak jak zapowiadałem w podsumowaniu roku… POWRÓCIŁ! Nie będę się tu zagłębiał i rozpisywał nad przyczynami tak sporej przerwy (bo trwa ona on września), ale z tego miejsca wszy...
Aggregate is one of the most fun and powerful methods in LINQ. Sadly it's also of of the most underused and "scary" ones. I hope that after reading this post you will understand Aggregate a bit more, know when to use it and won't be afraid of doing so.
Sztuka programowania 2895 dni, 20 godzin, 36 minut temu 261 źrodło rozwiń
Nowadays, asynchronous programming isn’t something unusual. We all know that when it comes to do some I/O operations or HTTP request, we should do it async. Why? There’re several reasons but two most important are:Efficiency. In many cases, the code might work faster. That’s because it’s not forced to wait for the result. Instead, it can work on some other stuff and then come back for the response when it’s ready. Simple is that.Comfort. Async improves the comfort of using our applications. We don’t blo...
Sztuka programowania 2893 dni, 14 godzin, 16 minut temu 334 źrodło rozwiń
Hi folks, it’s me again! Well, I was kind of inactive for a while and to be honest, I did it for a purpose. 2016 was an absolutely crazy year for me, full of new challenges, projects and personal changes (hope that most of them were those positive). Therefore, at the end of December, I decided to take a short break and flush my thoughts related to the blog, podcast and… programming. But don’t be nervous, I’m not gonna give it up! Anyway, I guess that with the new year it’s finally time to do some summar...
Niektórzy w tej chwili lepią pierogi, próbują nie wrócić do domu z pangą, latają za zapomnianym prezentem niczym Arnold za Turbo-Manem lub w ciepłym, przytulnym domku wieszają na choince bombki. Ja z kolei mam cały dzień dla siebie i jego część postanowiłem na napisanie krótkiego posta o tym jak możecie wykorzystać enumy jako flagi i obwiesić nimi swoje obiekty tak bardzo jak tylko chcecie, a żeby zachować choć pozory świątecznej atmosfery zrobię to z małym świątecznym akcentem (takim tycim).
Sztuka programowania 2910 dni, 22 godziny, 7 minut temu 214 źrodło rozwiń
Often developers as a log store use text files, system events, output console or database. In some cases they use distributed systems such Splunk or Elasticsearch. In this article I would like to present how to store logs in the form of objects, rather than plain text, which also offers all sorts of graphs and charts called dashboards.
Sztuka programowania 2917 dni, 22 godziny, 54 minuty temu 212 źrodło rozwiń
One thing that surprised me the most about the C# was the fact that it does not support multiple inheritances (which I knew from the C++). How can we deal with that? Of course, we use interfaces, since one class can implement more than one. But quickly we come to the very common problem...
Sztuka programowania 2922 dni, 21 godzin, 36 minut temu 188 źrodło rozwiń
Sometimes it happens that we use mechanisms/features of specific language without beeing aware of it. That’s fine, but if you’ll want to discuss your code in a future to the audience or coworkers, soon or later you’ll be forced to learn it and understand (or at least name it using technical nomenclature). Therefore, today I’m going to discuss two related „mechanisms” of C# which are covariance and contravariance. Covariance Covariance is a type conversion from the specific type to the more general (ba...
Sztuka programowania 2928 dni, 12 godzin, 26 minut temu 189 źrodło rozwiń
In today’s post, we are going to explore another feature of the Aurelia framework or more precisely aurelia-fetch-client. So, in many cases, it would be nice to perform some specific actions when doing an AJAX request. For instance, before sending a request we want to log it into browser database like PouchDb. A more common example is calling a toastr on some error like 404, 500, 401. The problem with such a scenarios is that many developers duplicate their code in every single request/callback so they b...
I’ve been using Windows OS since I remember. I guess the first version I used was ’95. Why Windows? Well mostly because of simplicity. When I wanted to install some application, all I needed to do was to download that and run the .exe. No struggling with some weird „sudo” like commands that I didn’t understand. It just worked fine. Things changed when I went to university and discovered Debian which is a Linux distribution. My first moments with UNIX family wasn’t very enjoyable but after few days I unde...