Showing only posts in misc. Show all posts.

Standard and User-Defined Conversions

3 minute read.

I just came across a surprising bug in my code which I did not expect to cause any problem at all. The simplified code goes like this:

void foo(const std::string& str) { printf("string!"); }

          void foo(const bool b) { printf("bool!"); }

          // ...

          foo("0");

What do you expect? Dumb question …

Don't Look Up

2 minute read.

In “Looking Up” I wrote about how your behaviour changes towards people you look up to that are more successful than you are. The same blog post also describes what I do to reduce this effect in myself and make me feel more “on the same level”.

I realize there …

I Fixed My Autocomplete

2 minute read.

I have been using vim for over two years now. Originally started with vrapper, which helped a lot: when I needed my original productivity, I was able to go back by switching off vim-mode in Eclipse. Later used vim mode in QtCreator until finally fully making the switch, every now …

Posted on in misc. Tags: vim.

WebVR Ramblings

~ 2 Minute Read.

Lately, I’ve been immersing myself in various frameworks and engines to build WebVR content.

Tomorrow is a big day, that apart from me not many people will notice until further down in the future. I will make sure you do, though, don’t worry. There will …

Do you Demonize People?

~ 8 Minute Read.

Do you ever demonize people around you? Attaching bad attributes to people because they are behaving in a way that you don’t like? Let me show you examples that may help you remember:

Your roommate who isn’t washing the dishes or leaves his stuff lying …

UE4: Deprecating Symbols

~ 3 Minute Read.

I find myself googling for how to deprecate UENUM, USTRUCT, UCLASS, UPROPERTY, UFUNCTION in Unreal Engine 4 every now and then. With this blog post I hope to provide a reference for how to do this for each:

UPROPERTY

These are a matter of simply appending _DEPRECATED …

Posted on in misc. Tags: ue4, cpp.

« newer articles | page 5 | older articles »