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...
Every experienced developer knows how important is to cover your code with tests (or at least business logic). However, not everyone likes to do that once code is already written, because, why should we do that? The work is done, it was tested and it functions correctly, right? I never liked to cover the code with tests once it’s already there. That’s why in this article I’ll present TDD and describe how I use it day to day.
Sztuka programowania 2264 dni, 19 godzin, 43 minuty temu 95 źrodło rozwiń
W tym tygodniu dużo usług osiągnęło status General Availability (GA), zatem z pełnym przekonaniem i wsparciem ze strony Microsoft można wykorzystywać je produkcyjnie! 🙂Azure SQL Database – 10-letnia retencja bakcupow https://azure.microsoft.com/en-us/blog/azure-sql-database-now-supporting-up-to-10-years-of-backup-retention-public-preview/App Service na Linuxie – wsparcie dla własnych obrazów kontenerow https://azure.microsoft.com/en-us/blog/app-service-on-linux-now-supports-containers-and-asp-net-core...
Chyba każdy zgodzi się z tym, że ogromna część oprogramowania przeznaczona jest do użytku przez osoby z różnych części świata – a co za tym idzie posługującymi się różnymi językami. Oczywiście istnieją również aplikacje przeznaczone na „rynek lokalny”, jednak to raczej nisza. Jak zatem w łatwy i przyjemny sposób sprawić, aby nasza aplikacja obsługiwała wiele języków jednocześnie? Sposobów znajdzie się wiele, jednak na szczęście w przypadku .NET’a ta sprawa jest naprawdę prosta 😉 Właściwie do każdego p...
Załóżmy, że stoi przed nami zadanie wykonania aplikacji mobilnej. Klient nalega oczywiście, żeby zrobić to szybko, dobrze i tanio. Jak podejdziemy do tematu? Na rynku dostępnych mamy wiele narzędzi, które można wykorzystać w tym celu. Które wybrać?
Mobile development 2265 dni, 9 godzin, 46 minut temu 313 źrodło rozwiń
Design patterns which I would like to present in this post are well described in the book Design Patterns. Elements of Reusable Object-Oriented Software written by The Gang of Four (Gramma, Helm, Johnson, Vlissides). In my opinion this book is must read for every developer, regardless what programming language you are using. Besides the fact that this book was written more than 20 years ago, it still contains a lot of useful details for developers of all levels. I often revisit this book to keep in touc...
Sztuka programowania 2265 dni, 9 godzin, 46 minut temu 141 źrodło rozwiń
W końcu po dłuższej przerwie udało mi się przysiąść do pisania tutaj 😉 Przez ostatnie dwa tygodnie (prawie)każdą wolną chwilę poświęcałem programowaniu. Postanowiłem napisać od nowa mój dosyć stary projekt. Poprzednia wersja była napisana w code-behind i generalnie rzecz biorąc… Jej kod był po prostu straszny, jednak nie ma co się dziwić – w końcu był to mój pierwszy pełnoprawny program napisany w c#. O jakim projekcie mowa? Konkretnie o programie do czyszczenia zbędnych w systemie plików. Takich jak pl...
3 grudnia minie 5 lat od kiedy zacząłem pisać grę Soltys Programmer Bot.
Sztuka programowania 2265 dni, 9 godzin, 46 minut temu 523 źrodło rozwiń
When was the last time that you did something that you weren’t supposed to do? And I’m not talking about committing the criminal acts. Although, at the first glance it might seem otherwise, making uncomfortable things most likely will pay off. Yet, still, most of us decide not to leave the comfort zone.
The two, biggest problems in IT are cache invalidation and naming things. The third one, I think, is legacy code. If you’re not working in a startup, which has just been founded, chances are, you need to deal with some sort of legacy application. For a majority of my career as a developer, I was working in one company. It was great, but we’ve had to maintain an application, which was created around year 2002! That’s when Napster was shut down! Today, this application is still running, but since a few yea...
Sztuka programowania 2265 dni, 16 godzin, 56 minut temu 144 źrodło rozwiń
Visual Studio Team Services has great Continuous Integration and Continues Delivery support for Xamarin. Recently I was configuring pipeline that would build the project, run unit tests (with xUnit), run UI tests (with Xamarin Test Cloud), and, if all tests pass, deploy new version of the app to Hockey App. During the process of creating VSTS build definition I encountered a few problems that I think are worth to share with you.
Mobile development 2265 dni, 16 godzin, 56 minut temu 36 źrodło rozwiń
Jeden ze wzorców projektowych - wzorzec kompozycji(composite patter) z zaimplementowanym przykładem.
Sztuka programowania 2267 dni, 16 godzin, 40 minut temu 532 źrodło rozwiń
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...
in i delete w JavaScript co i jak - dużo kodu mało tekstu :)
W tym roku postanowiłem zacząć spotkania Grupy .NET MIMUW od wprowadzenia do języka F#. Poniżej znajdziecie krótki wstęp, link do prezentacji oraz nagranie ze spotkania.
Sztuka programowania 2270 dni, 20 godzin, 18 minut temu 154 źrodło rozwiń
Article about automating web application accessibility testing using Selenium WebDriver
Zaczynając naukę programowania stoi przed Tobą wiele wyborów. Ten, który najbardziej wszystkich trapi to wybór języka programowania. Decyzja ta jest mocno związana ze specyfiką projektów w jakich będziesz chciał brać udział. Chcesz pisać aplikacje webowe? Desktopowe? A może, no właśnie, mobilne? Dziś przedstawię Ci co trzeba wiedzieć, aby zacząć pisać aplikacje mobilne.
Mobile development 2272 dni, 17 godzin, 15 minut temu 170 źrodło rozwiń
3 questions to ask before you start testing
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 2272 dni, 17 godzin, 15 minut temu 271 źrodło rozwiń
Description how to create sales order, sales line and confirmation from X++ in AX7.