Ali Naci Erdem

Personal Blog

  • Computers
  • DIY
  • GitHub
  • LinkedIn
  • Support Me

Programming

Quick and dirty animaton with async/await

10th June 2018 / Leave a Comment

Animation is a pain if you do not know how it is implemented. Basically, you are updating a value with respect to time. This is generally done by calculating the time elapsed since the last frame and interpolating this value between its initial and final values. The interpolation needn’t be linear, there are many such … [Read more…]

Posted in: Computers Tagged: animation, async, asynchronous, await, Coroutine, event loop, frame, JavaScript, js, Programming, requestanimationframe, yield

Passing Arbitrary Messages with C++

26th March 2018 / Leave a Comment

When I was working on a isometric game engine/map editor a few years back, I thought that it would be a nice idea to use some kind of a messaging mechanism to communicate between different components of the engine. Although that implementation is far from perfect, I will try to explain my intentions behind it … [Read more…]

Posted in: Computers Tagged: c plus plus, c++, control flow, message, Programming, templates, unique_ptr

Shadow DOM is still somewhat shady

22nd October 2017 / Leave a Comment

I was recently building a web app using Polymer 2.0 and need to include some SVG assets for wider resolution support. As you may know, Polymer fully supports native shadow DOM with the 2.0 version. When using a shadow DOM context, the style tag will apply the given CSS rules inside the shadow context. This … [Read more…]

Posted in: Computers Tagged: css, dom, JavaScript, js, polymer, Programming, Scope, shadow dom, style, web components

Dumping Korg i5m PCM ROMs – part 2 – Learning to Fail

17th July 2017 / 1 Comment

Previously I have started writing on fixing my korg i5m (part-1). Removing the ROM chips was not fixing the problem but taking advantage of this opportunity, I have started trying to dump them out. The problem was that I was not sure if I am reading correct values or not. After working for hours and … [Read more…]

Posted in: DIY Tagged: adapter, arduino, Desolder, Dsp, fail, i5s, keyboard, Korg, Pcm, Programming, Ram, rom, rom dump, Sampler, synth, synthesis, synthesizer
1 2 Next »