recipe [RECIPE]: distinct operation for array Being web full stack developer after years of .NET work sometimes brings you to a blind alley. For example, such trivial thing as `.distinct()` function for array, which is not
recipe [RECIPE]: array flatten and distinct in TS I caught up myself on a thought that I have looked to a way to flatten array in TS several times this year. Probably, I had bad memory and cannot
recipe [RECIPE]: Capitalize in CSS There are cases when you want your text looks fine as header in browser, but you don't know if text has correct case of the first letter. It can easily
textcast Come in here, dear boy, have a cigar Come in and welcome to the musical textcast. Throughout my live I've been listening to the music, a lot of different kind of music. Thanks to my sister's husband, who
recipe [RECIPE]: Check error throw in jest Jest is something which millions of people uses everyday, a lot of questions are answered. But I keep finding something new for me every day. This is not gonna work:
article Runtime Type Safety in Typescript In many ways Javascript popularity during so many years is based on its relative simplicity and low entry threshold. Some programming languages substantially influenced the whole software industry. Smalltalk, for
recipe [RECIPE]: floating rounded table rows with CSS If your designer wants to have table rows floating one above another, with some space between, and having rounded borders, follow this: :root { --border-radius: 5px; } table { background-color: gray; border-collapse: separate;
javascript [RECIPE]: fix vulnerable sub-dependencies in package.json Regular Typescript or Javascript project has number of dependencies from NPM. Most of them have own dependencies, different versions of them. To see them all you can review auto generated
article Mighty @Decorators in Typescript - what could we get out of it? Every Angular developer has seen decorators in Typescript code. We use it to define Module (hopefully, will not use modules in future but anyway), to configure dependency injection or component
article CQRS and Event Sourcing in backend systems Nowadays software development is a very common thing. New apps are born every single day. You can start programming career by loading your brains with one or two related technologies
article ngVikings 2019 takeaways ngVikings conference is considered as one of the most technical, community friendly and interesting Angular events in Nordics. Initially founded in Copenhagen, this year it was there again. Apart from
article Go Places in Copenhagen — northern wind, coffee, and atmosphere Every city has its unique character, tastes of the food, breath of the wind, peoples faces, streets. Of course, at the moment globalization made a huge step to make different
article State Management — how we do it with MobX in Mobile App Dear readers, this material was inspired by the recently completed React Native project. The project was designed with the offline first approach in mind and we used state management from
article Машины для Души 2018 пошел. Автопроизводители накопили уже под сотню лет активных разработок и исследований в своей области. Нынешние авто сравнимы с космическими кораблями! Что бы сказал Генри Форд, покажи ему современный Range
russian [Jeremy Clarkson Translation] The Clarkson review: 2017 Volkswagen Golf GTI' to Russian Говорят, он новый, но хвала небесам — это не так. Одна из проблем управления автомобильной компанией в том, что ни одно из подразделений на самом деле не завершает начатое. Что делает
article Runtime Type Safety in Typescript (Возможна ли удобная проверка типов в рантайме) Относительная простота и доступность Javascript, относительная легкость входа в него предопределила на многие годы вперед его популярность. Некоторые языки программирования существенно повлияли на развитие всей отрасли в целом. Так, например
article Прикручиваем ngx-translate в Angular приложение. Практическое пошаговое руководство Практическая пошаговая инструкция как прикрутить динамическую локализацию (возможность выбора языков) в веб приложении на Angular 4+ используя @ngx-translate/core. В принципе можно найти публикации на подобную тему, может быть достаточно
article Мы agile или аджайл нас? Какая главная проблема в разработке программного обеспечения (а может и вообще в любой работе)? Когда я задавал вопрос коллегам, получал разные ответы: изменения требований, несоответствия ожиданий, качество кода, взаимодействие с
javascript [RECIPE]: draw a hole inside HTML canvas Imaging you (for any reason) need to draw some color area of complicated form in HTML canvas, and then cut a piece of it, like a donut. There is code
javascript [RECIPE]: Callstack in Javascript When debugging legacy javascript code you might need to know who called this function. The simple solution for it - using Error Object, which has stack information. console.log(new
recipe [RECIPE]: bootstrapSwitch events firing If you by any chance still have jQuery and use things like bootstrapSwitch, you can meet this situation: When switch is setup like this $('id').bootstrapSwitch('state', true)you immediately
recipe [RECIPE]: AWS ECS deployment and Health Checks Recently my regular deployment of NestJS Backend API to Amazon ECS service failed without any meaningful reasons. What I see is that Docker container is taken, everything inside is executed
video Talk at ngVikings 2019 conference in Copenhagen Summer 2019 started for from interesting trip to Copenhagen, Denmark. I was lucky to speak at ngVkings conference there. My talk was about Angular and Bad Practices in it. Hope
recipe [Recipe]: Save Canvas content to File on server Save to File If you have some logic with images, drawing or blurring in javascript, you might want to save image back to server. Here is how to use toBlob
.net Неочевидные особенности применения Rotativa для генерации PDF в ASP.NET MVC приложении Многие разработчики сталкиваются с задачей создания PDF отчетов для веб приложений, вполне естественный запрос. Я бы хотел представить вашему вниманию свой опыт работы с такой задачей при использовании библиотеки Rotativa