Czas naprawdę "szybko leci". Prawie jak wczoraj pamiętam udział w konferencji .NET Developer Days 2015, a tutaj już na poważnie rozkręciła się organizacja tegorocznego wydarzenia. Było ciekawie, więc z dużym zainteresowaniem śledziłem doniesienia organizatorów na temat tego, co szykują w tym roku.
Imagine that you have a service, which receives requests to execute specific methods, possibly from a number of different underlying libraries that you don’t want to expose directly. Possible examples are web services. The request comes in as a number of string values (method name, parameters etc.) and you need to respond with results. So you have inherited a project with API that starts with a method: object Invoke(string methodName, object[] parameters); You now have to call variety o...
Do you ever feel like (well, you should) these huge switch + case statements or too many ifs seem to be wrong? What if I told you, there’s one simple trick that will change your life, by getting rid of them? Ok, seriously – I have nothing against switch or if as the way of controlling the flow (I use them quite often) however, there are certain occasions at which the things could be done better. And let me show you another way to achieve the same goal which is much cleaner in terms of code readability a...
Sztuka programowania 1699 dni, 16 godzin, 28 minut temu 360 źrodło rozwiń
Rozpoznawanie twarzy na zdjęciach, emocji jakie wyrażają, opisywanie zawartości fotografii, przetwarzanie języka naturalnego – te i wiele więcej tematów powiązanych ze sztuczną inteligencją znane są nam od dawna. Jednak od niedawna są one tak bardzo na wyciągnięcie ręki. Rzućmy okiem na Microsoft Cognitive Services.
ELMAH, czyli Error Logging Modules And Handlers (ELMAH) - jest to biblioteka/moduł dostępny za darmo służący do zarządzania oraz monitorowania błędów w oprogramowaniu. Moduł ten oparty jest na śledzeniu zdarzeń i można go podpiąć do istniejącej aplikacji bez zmiany ani jednej linii kodu (zmiany wykonujemy tylko w konfiguracji). Główne zadania ELMAH-a, to obsługa, zarządzanie, monitorowanie, eskalacja błędów, ze szczególnym uwzględnieniem błędów nieobsłużonych. Główne zalety/funkcjonalności ELMAHA: ...
Xamarin nie jest gwarantem trzykrotnie szybszego developmentu. Nie zachodzi tutaj żadna równość typu, że niezależnie ile platform docelowych będziemy chcieli obsłużyć, to w praktyce i tak piszemy jedną aplikację. Xamarin tak nie działa. Nawet w sytuacji gdy korzystamy z Formsów to i tak nie jesteśmy w stanie skrócić developmentu na inne platformy do zera. Na ten temat szerzej pisałem we wpisie w ubiegłym tygodniu.
Mobile development 1699 dni, 16 godzin, 28 minut temu 198 źrodło rozwiń
Co wyróżnia C# od innych języków? Co sprawia, że C# jest nadzwyczajny? Co sprawia, że C# jest taki jak inne języki? Jakie są cechy (nie)szczególne C#? No i czym jest to dziedziczenie i czy w ogóle się go używa? Zapraszam do lektury i to nie tylko tych początkujących programistów. Czym jest dziedziczenie? ...
Sztuka programowania 1701 dni, 17 godzin, 5 minut temu 173 źrodło rozwiń
NDepend is one of these tools, that I have ever wanted to try out, but somehow couldn’t find the right moment to do so. Quite recently, I’ve eventually decided to give it a shot and I can honestly say that I’m very impressed with the outcome. This tool provides so many statistics and analytics that I’m still wondering what else can be checked in terms of .NET projects complexity, structure, layering, readability and other important things which in the end make a real difference between the great, good, ...
Nie wiem czy macie prawo jazdy, ale nawet jeśli nie, to pewnie zrozumiecie wysublimowaną analogię, którą zaraz przeczytacie. Otóż jeżdżąc samochodem i mniej więcej kojarząc przepis drogowe, możemy jeździć z powodzeniem całe życie. (...)
In this article I’ll focus on Android development, describe how Xamarin achieves its goals and present simple code example.
Mobile development 1713 dni, 6 godzin, 37 minut temu 76 źrodło rozwiń
Kojarzycie Incepcję? Według mnie był to naprawdę dobry kawał kina - jedna z tych pozycji, o których mówimy i myślimy również po wyjściu z sali kinowej. Film na rynku polskim nazwano Incepcją, choć oryginalny tytuł brzmi Inception - zrobiono tutaj prostą kalkę językową zamiast zastosować właściwe tłumaczenie. W ten sposób dystrybutorzy filmu dodali do naszego codziennego słownika ten nieformalny zwrot (termin ten nie występuje w SJP - info na dzień pisania wpisu), który dla wielu osób oznacza "wielokrotne...
Hey, do you remember one of my latest posts in which I’ve described how easy it is to integrate the C# with Slack? I’ve taken this concept a little bit further and created a new type of integration which can do pretty much the same thing but in a more sophisticated way in terms of configuration and available options. So, are you ready to integrate your Warden with the Slack?
Od czego zacząć naukę programowania? Z jakich źródeł korzystać podczas nauki programowania? Jakie strony programistyczne są warte uwagi? Gdzie znaleźć informacje na temat .NET/C#? Jak się uczyć programowania? Jakie poradniki/filmy dotyczące programowania wybrać? Chcesz się przekonać jakie mam zdanie na ten temat? Zapraszam do lektury.
On my track from Zero to Hero I was looking for an idea of a meaningful, profitable online business. As there are various ways of achieving that goal I was wondering which path should I take. I’ve gathered my ideas and wrote this blog post. Some time after, one of the readers of that particular post (and also my colleague) asked me to be a co-founder of a new online business. I took it into consideration, examined pros and cons and finally decided to accept the offer. We’re starting this business fr...
In this post we will implement basic memory allocator which will be able to allocate any object from scratch. We will also hijack new operator in order to be able to decide where objects should be allocated by .NET platform.
Postów, felietonów czy filmów mówiących o tym jak zostać programistą jest przynajmniej tyle ile odcinków "Mody na sukces", ale każdy dokładnie taki sam. Tutaj prezentuje inne podejście do tego zagadnienia. Zapraszam do lektury i dyskusji.
Hello folks here comes another one Watcher which is responsible for the process monitoring. This one isn’t really sophisticated, as there isn’t not much to do in terms of the process validation, yet you might find it useful under certain situations.
Good morning, this is gonna be a very short post, as it’s truly super easy to integrate the C# with the Slack API. We’ll make use of the latest .NET Core version listed as the dnxcore50 and build a console application that you can use to send the messages to the particular channel.
Trochę o moim nowym projekcie SportTacticsBoard (C#), motywacji oraz o importowaniu projektu z SVN do Git i jaka jest sytuacja z licencją...
JSON format has been a standard used amongst many different framework and languages for quite a few years now. It’s so cool, that even the .NET Core team have decided to include it in its framework which results in e.g. being able to store the application settings within a JSON file, which is much more human readable and less bloated than the old one App or Web.config written using the XML. In today’s post, I’d like to present how easy it is to create your own JSON configuration reader and move the appl...
Sztuka programowania 1728 dni, 17 godzin, 23 minuty temu 157 źrodło rozwiń