Kilka słów o konferencji GET.NET w Łodzi + konkurs ;)
Strona głównaUżytkownik
dpawlukiewicz | użytkownik
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...
Daj się poznać 2017 2583 dni, 16 godzin, 39 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 2596 dni, 21 godzin, 40 minut temu 69 ź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 2602 dni, 10 godzin, 12 minut temu 49 ź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 2607 dni, 15 godzin, 44 minuty temu 49 ź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 2613 dni, 3 godziny, 8 minut temu 27 ź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 2626 dni, 4 godziny, 36 minut temu 140 ź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...
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...
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 2665 dni, 7 godzin, 36 minut temu 330 ź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...
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 2694 dni, 14 godzin, 56 minut temu 187 ź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 2700 dni, 5 godzin, 46 minut temu 187 ź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...
When coding web applications we sometimes come to the point when we need to perform some action during user’s navigation. One of the most common examples would be authorization and checking whether the user has appropriate roles. Fortunately, Aurelia provides an access to route pipeline so it’s super easy to add some extra steps Let’s get to work! Inspecting RouterConfiguration In order to add our custom pipeline steps, we need to create some routing for the application. I won’t describe the whole pr...
A few days ago I was playing with Entity Framework when suddenly an Exception popped out on the screen: Additional information: LINQ to Entities does not recognize the method ‚System.String GetFullName(User)’ method and this method cannot be translated into a store expression. That was because accidently I treated Expression
Sztuka programowania 2728 dni, 12 godzin, 6 minut temu 271 źrodło rozwiń
In the previous post, I presented to you the Aurelia – new, great JavaScript framework created by Rob Eisenberg. We also used its Command Line Interface (CLI) to create new Aurelia project with all its dependencies, unit tests, and HTTP server. As I announced back then, we’re going to play with CLI to generate some code inside our project. So, let’s get started!Aurelia CLI generator Okay, before our implementation, let’s find out what kind of code we can generate using Aurelia’s CLI. To do that, just ty...