Have you ever dreamed of writing c#/java/any-language-of-choice code for the client-side development? Sharing client and server code classes? No plugins and transpilation to JavaScript? “Write once, run everywhere” said Sun Microsystems promoting Java in order to inspire people to use it. While being a nice promise and actually pretty inspiring, somehow it doesn’t make people really believe in it as of today. The world appeared to be more complex than that, especially in the mobile world. Reusa...
Strona głównaUżytkownik
Jakub Szumiato | użytkownik
I went recently through the process of adding SASS support and the just-released official 4th version of Bootstrap, so I thought I will share. The process is not a rocket-science, although you must complete quite a few steps to make it run well together.Versions Just for sake of clarity, what my cli version query (ng -v) produces is:Angular CLI: 1.6.6 Node: 8.9.4 OS: win32 x64 Angular: 5.1.2 I am not sure how similar this is for the previous versions, but I hope there are not many differences,....
Each time I think about the problem with feedback, I recall the famous presentation of Erik Meijer “One hacker way“, when he says about the system developed without a proper feedback – no feedback loop – summed up with a sentence “That’s how Microsoft Office Ribbon was born”. I think I can see this Microsoft-Ribbon problem everywhere, not only at work but also in life. People tend to underestimate how much is it important to give, but also to receive feedback properly. It might also be that they...
Today I had the opportunity to attend the Code Europe conference in Wrocław. I wrote about my preparation to this about one of my previous posts, so I won’t be repeating all of this, but one thing is very important – it is advertised as the largest programming conference in Poland.Sessions The conference was indeed big. many parallel paths to chose from, quite nice content. I have attended the following sessions: The Cost of Logging [Matteo Collina @ nearForm] – Cloud Computing path Hello #co...
I have met and talked to a lot of developers in my life. I went through the whole lifecycle of software production many times. People have changed, but the projects that have been implemented, are happily still running in production (at least most of them, let’s say :)). What I have noticed during this period of over 10 years working with the software and people producing it, is that many developers have quite a strange approach to work. In IT there’s this request type called “Fire and forget”, ...
Sztuka programowania 2521 dni, 15 godzin, 36 minut temu 56 źrodło rozwiń
Stereotype I know there’s the stereotype of programmer-nerd that takes a break from programming only to play some games or watch another movie series. I know also that this is not quite true, looking at the people I know from IT – many of them are rather fit and try to keep moving to stay in a good shape. Not sure how much of them, let’s say 50%. What I wanted to address in this blog post today is that 50% is not enough. It’s very important to motivate the other 50% to move their asses and do s...
A few weeks ago, on my way to the .NET Developer Days conference, I had a thought that I must be getting old. That’s because the only book I took with myself was about parenting 🙂 Before, usually, it was something really technical that I don’t have time for and somehow I plan to catch up on the train or in the hotel. I had an interesting conclusion for the first time in my life, that actually putting the hard work to become a better parent, all the lessons learned through the period of raisin...
Is Artificial Intelligence going to replace us? I’ve had yesterday a short discussion about replacing programmers by any kind of Artificial Intelligence. That brought me some conclusions linked to the problems I always had to solve being a manager. What I want to focus on is neither to question if the software will replace programmers writing software nor when w...
Code Europe – About the Conference The last conference I’m going to attend this year will be Code Europe. The event will take place on 13th of December 2017 in the Congress Center of Centennial Hall in Wrocław. I will attend the conference in Wrocław where I’m living, so the agenda will be from this perspective. The conference takes also place in Kraków and Warsaw on the other dates, but I won’t be writing about it. Organizers claim that it is the biggest programming conference in Poland, which ...
This year I decided to celebrate the Advent period by writing one blog post each day. I've given this idea the name of "Advent of blog". Wanna join me on this journey? :) #adventofblog
/ Kuba Do you consider yourself a successful person? Think about it for a while… How do you measure it? What is it that drives you? What are your core values? I have always been a big fan of self-awareness and conscious life. I think life is too short to spend it unconsciously following some other people without actually having time to think about ourselves. In the day-to-day communication, what is shocking me always, what I cannot get used to, is that people generally don’t care. We’re living in the...
/ Kuba Today I wanted to share with you a solution to the issue I faced recently with my ASP.NET Core/Angular2 application. The website was created based on the templates provided by the ASP.NET team (see Steven Sanderson blog entry for more), it’s using Hot Module Replacement middleware to release developer from the need to rebuild the website and update the website’s code when working on it. The workflow becomes trivial: you save the code in the IDE, and webpack middleware takes care of everything – ...
Dreaming of being a technical manager Many people when beginning their adventure with programming, do share a vision of becoming a manager in the future. Some of them more technical, than the others. Of course there are also those who do not even consider it. Code is their life – respect. I always belonged to the first ones. I’ve never really wanted to abandon the programming forever. Manager but technical! You could see that with the eyes of your mind, THAT guy, THE master, sitting there and dealing ...
Daj się poznać 2017 2783 dni, 3 godziny, 28 minut temu 36 źrodło rozwiń
Today quickly about two topics I had to resolve recently.Bypassing Angular Sanitizer First one is about Angular Sanitizer, or maybe DomSanitizer that is actually the class implementing the Sanitizer interface. The purpose is quite clear, it is inspecting the content of a given value and prevents from unsafe content. I have recently tested the oEmbed content for one of the vimeo videos (you can check what oEmbed is, in this post of mine) and I decided to bind a div innerHtml to some string representati...
Daj się poznać 2017 2784 dni, 12 godzin, 51 minut temu 44 źrodło rozwiń
My application for the competition Daj się poznać 2017 will be using a Web API on the server side, to feed the Angular client app with the data. Today, I want to discuss one very simple, but also very important topic for the APIs accessed over HTTP.HTTP Status Codes The reason we will build Web API, is to have a fully standardized service, which will be able to query our database and provide the resources to the customer. Whoever we call a customer. In our case, it will be an Angular app, living in the...
Daj się poznać 2017 2797 dni, 13 godzin, 16 minut temu 103 źrodło rozwiń
Legacy Code is legacy code as soon as it’s written I know you have seen this ugly, scary code, during one of the bugfixing sessions, or when adding some features to the existing codebase. Everyone did. I know sometimes it feels like the class, or method has been written ages ago and what is worse: apparently it is working fine, for now. We don’t like those names for variables, we see that repetitions in code, we could even swear, that this code could be much shorter and cleaner. But who would touch ...
Daj się poznać 2017 wtorek, 7 marca 2017 21:47:43 GMT 12 spam? źrodło rozwiń
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...
Ok, so this is my last blog post in the scope of Daj się poznać contest. I wanted to share some thoughts on how did it went. What I can easily say about the period from late February till today is that I have learned a lot more than I expected, whereas I produced a lot less code than I thought I will. This brings some very interesting conclusions if it goes about summary report.Predictions One of the easiest conclusions I had is that while working on a regular project after work is possible, it is not ...
Daj się poznać 2016 3075 dni, 9 godzin, 42 minuty temu 54 źrodło rozwiń
Authentication The topic looks obviously obvious and generally speaking standard user doesn’t care much about the details. He wants to register, login, and make sure that his password is safe. The more you read and learn, the more sophisticated requirements you have for protection, state management on the server and client side, the more things are getting complicated. The problem with authentication is basically about: how does one prove that he is the guy that he’s pretending to be? In the world of w...
Daj się poznać 2016 3076 dni, 15 godzin, 28 minut temu 86 źrodło rozwiń
oEmbed This is definitely something you should be aware of. oEmbed allows you to embed easily content from different sources/providers into your website. It’s an open standard for embedding content. Following the official website: oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly. So, let’...
Daj się poznać 2016 3084 dni, 9 godzin, 44 minuty temu 45 źrodło rozwiń