RSSAmplifier

Blog

Daniel Barta

Insights at the intersection of Angular, web development, and multimedia engineering.

danielbarta.comRSS feed ↗13 posts

Latest posts

How to Avoid Angular CLI Caching When Debugging npm linked Libraries

I ran into an issue that slowed me down: when serving the app, Angular CLI’s build cache was preventing updates to the JS and WASM files from being picked up. The build reused a cached version, which meant I couldn’t test changes without restarting or clearing the cache manually.

Pointer & Array Arithmetic in C

After a decade of working with TypeScript, my pointer arithmetic skills had become rusty. While I had spent the last few months working with C and C++, my experience is that organizing lessons learned—and relearned—helps fill gaps, and writing an article is a great way to

Web Audio + WebAssembly: Lessons Learned

As someone deeply involved in developing modern browser-based multimedia applications, I recently set out to integrate Web Audio with C++/WebAssembly to optimize an audio-processing workflow. On paper, this seemed like a promising approach—leveraging the power of WebAssembly for performance-intensive tasks while taking advantage of the flexibility offered

Creating Audio on the Web Is Easy—Until It’s Time to Export

For years, advanced audio processing in the browser has been well within reach, thanks to the powerful Web Audio API—a go-to solution for web developers building dynamic and innovative audio applications. But while creating audio has become simpler than ever, exporting it seamlessly remains a surprisingly tricky challenge

TypeScript's Literal Types Are Better Than Enums

Combining the descriptive qualities of enumerated types and the easy-to-use nature of strings. During a code review, something that sticks out when the code is full of ad-hoc string checking. For example, implementing a blog engine with three types of roles can start with a check if the user is

How to list the possible values of a string literal union type in TypeScript

String literals are one of the most straightforward and powerful tools of TypeScript. But until v3.4, it was impossible to list its accepted values. Developers needed to fall back to enums. Not a problem anymore.

Misconceptions of Angular Change Detection

When an Angular application's performance decreases, I go through a simple and easy checklist of my own. Checking loose subscriptions, trackBy functions of in-template iterations, and change detection among others. Especially the latter had been mentioned in all the articles, webinars, and conferences, but since they usually don&

CI/CD for Angular projects with Firebase and Github

We can utilise GitHub Actions to automatically deploy when we push something.

Set Up Development and Production Environment in Firebase

At the moment there is no out-of-the-box-like solution to tackle this. I suggest creating another Firebase project for development.

Create Cloud Functions in Firebase

Authorization, CRUD, queries, most of the things come out of the box with Firestore. However, sometimes there is a need to make some modifications which would be too sensitive to do in the browser.

Fit-To-Screen With CSS

Implement the designer's dream aka. when the screen is wider, scale the application to fit the screen width

What Is a Programming Language?

It's a language you use to give certain instructions to your computer, right? Let's be a little more precise.

The Curious Case of JavaScript and ECMAScript

What is the difference between JavaScript and ECMAScript? Is there any difference at all?