DSP2017, DSP2017 Project

What’s up, ReMaster?

A few days ago the Polish companies data provider published a new version of its API. I found out about it accidentally and decided to spend a moment to upgrade API used in ReMaster. Hopefully, from my perspective, it doesn’t change anything crucial so I will not have to change any logic concerning companies import (and that’s a real blessing considering the fact that testing imports lasts ages and I hate waiting for a result). Continue Reading

DSP2017, DSP2017 Project

How I fell in love with Elasticsearch and hated Java even more than before

This week I spent some time with ElasticSearch. I thought it would be nice to get a little know-how in case a companies table in my pet project’s database grows up so much that searching for a data will last forever. Well, considering the fact that one of the two most important features in my project is searching, I can’t believe I didn’t think about it earlier!

A few possibilities

There is a few search engines I could use. I was considering a Lucene (but it’s so old… I remember using it about 6 years ago!), Solr (I heard it’s the fastest one) and ElasticSearch (some says it’s aimed for bigger projects). So I decided on ElasticSearch… my project is gonna be huge, right? 😛 Continue Reading

DSP2017

Staying at home programmer – survival guide!

If you have read (hehe, I know you didn’t :P) the very first post on my blog, you would know that I had about one year break in my, let’s say, ‘career’. For my personality it was quite a challenging and surprising time, but for me as a programmer, it was an extremely tough year. I literally had to fight for each hour spent on writing code so I decided to write down some tips that helped my knowledge and skills (somehow) survive.

And if you think that it doesn’t concern you, just think of a situation when you break an arm or lose your job and couldn’t find another one for longer than 5 minutes (haha, hehe, yeah, that joke is stupid, but I had to write it 😉 ) or decide to stay at home with your newborn. I was in the last situation. Continue Reading

DSP2017

Software Talks conference review

Living in the eastern part of Poland means you don’t have a lot of IT events you can attend to. The situation is getting better each year but I am still a little bit jealous of the possibilities my friends in other cities have. But it doesn’t mean ‘our’ conferences and meetups are weak or boring – not at all! It only means that they are less often than I would like!

The one conference I attended last Thursday was Software Talks organized at Rzeszow University of Technology by PGS Software . With the main subject ‘Get back the control‘ it looked very promising. If I add, that one of the two prelectors was  Piotr Konieczny I think everybody will know why I was so anticipating this event. Who knows the Polish language and is interested in the security subjects probably knows Piotr and his blog niebezpiecznik.pl and for sure would share my excitement! Continue Reading

DSP2017, DSP2017 Project

Victories and defeats of the last week

Recently I have quite tough time coding. Anything I touched, throws exception with messages that even google wasn’t eager to answer. Since I started developing my pet project ReMaster, it became a rule. I don’t know if it’s because of my rather small knowledge of the .net core or just the fact that I work on the ReMaster usually late in the night and I’m half asleep by the time. But never mind and let’s focus on my last problems and solutions.

Continue Reading

DSP2017, Tech

Let’s make ‘yield return’ our best friend!

How many programmers you know use ‘yield‘? Seriously, if you have an occasion, ask them – I’m afraid you will notice a strange thing – everybody heard about it but (almost) nobody (including me) uses it. Time to change it! Why? Because ‘yield‘ was introduced in C# 2.0 (yeeeah, it’s that old!) and can help you get rid of some of the ‘temp’ collections in your code and, what’s more important, it may prevent you from System.OutOfMemory exception. Continue Reading

DSP2017, Tech

New MS Windows this November! Some ealy leaks!

Great news everyone! Microsoft announced yesterday that a new Windows will appear in November! Its’ name is gonna be Windows 9.2 (MS like always keeps its products names in check ) and you will be able to install it even on iPhone – that’s a huge surprise, isn’t it? Anyway, I can not wait to check it! And you, are you curious?

BTW this message is not official yet, but I managed to find some early leaks. My source states that you could even access new Windows’s source code – only you will have to pay a 2000$ more that a normal licence. And you will be able to compile it in Visual Studio Code so… I guess ‘compiling the kernel’ will relate no more only to linux systems!

Anyway, Microsoft, you are doing it right!

 

Feature image by Viktor.
DSP2017, DSP2017 Project

EF Migrations in VS 2017 – Guess why I was postponing migration of ReMaster to Visual Studio 2017 for so long?

Last week, everybody was talking about the final release of Visual Studio 2017. I have to admit, I was excited too so of course I installed it! At the beginning, everything seemed to be just fine. Nothing forecasted a few hours of google’ing to solve the problems that occurred later.

When I installed VS2017, I have to do some of the strange tricks described in my previous post. There were errors claiming that my  project lacks some Nuget package, which was of course installed but I knew the solutions so that was cool, really. In the end, adding migration started to work so I felt some kind of relief.

tl;dr

But the problem came back when I wanted to fire the Update-Database command. I received the following error: Continue Reading