Xceno.io

7 Posts

Unable to resolve symbol ZWNBSP in this context

So, you got a mysterious compile error and if you're lucky, your compiler will at least show you instead of just a space.Chances are your file got encoded in instead of just , and your compiler is choking on the Byte order mark.To fix it, convert the file to without BOM.This has happened to me…

Configure zig fmt in a JetBrains IDE

How to use with any JetBrains IDE in 2023.TL;DRAdd a new custom file watcher in your IDE settings and configure it to run .Detailed versionAs of today, Zig is at version and has some support for various editors via its language server zls.I'm personally using the ZigBrains extension for JetBrains…

Install lombok to Eclipse snap

A short tutorial on how to install lombok for a snap install of the Eclipse IDE.TL;DRDownload lombokExtract to whereverCustomize a file to let eclipse start with lombok or a customized Detailed versionFirst download lombok and extract it to wherver you see fit. I chose .If you try to run the…

Developing with UnrealEngine 4 on Linux

EpicGames has a neat little QuickStart Guide for getting UnrealEngine up and running on Linux, but you might still run into some gotchas. Unfortunately, the new Docs aren't accepting PRs (yet?), so here's a quick braindump of what I've run into.Getting startedI was following the guide mentioned…

Orchard CMS: Strongly typed WebApi routing

If you're developing WebApi projects in Orchard, you're probably used to declare your API routes as a simple string array. However, we can get fully compile-time checked routes that are also easy to refactor.If you check the Orchard Docs or any tutorials for setting up API routes you'll quickly end…

Orchard CMS: Beware of SQL Keywords

Just a quick reminder, before you debug hours on end (like me).Sometimes while developing a new Orchard module I get carried away and forget about other stuff. Reserved SQL keywords for example. Then we might end up with a class like this:and a migration like this:The module will of course compile…

Orchard CMS: Overriding the Admin Theme

Overriding the admin theme is easy, but no one seems to talk about it. Let's change that here.Almost everything in Orchard is achieved by implementing an interface. Orchard will collect all the implementations and loop through them, or it selects the one with the highest priority; depending on the…