Techy blog of Kalle

#guide #unity #unity3d #upm #il2cpp

In Unity (the game engine) you can tell the compiler not to strip away certain parts of your code, or to “preserve” it to use the correct term. You do this either with a [Preserve] attribute, or with a link.xml file.

Up until recently, it was unknown how to include such a link.xml file inside your UPM packages, as it had not been documented. Big thanks to maksimbu over at the Unity forums who did the most RnD here.

You have two main options:

  1. Add a section to your README.md telling your users to create a link.xml file themselves in their Assets/ directory and add given content you specify.

  2. Embed your link.xml inside a precompiled assembly (DLL) inside your package.

We will be going through option 2.

Read more...

#guide #podman #docker #dockercompose #podmancompose #linux

This was done on a Xubuntu machine. Not in WSL. May or may not work in WSL. Please message me on @kalle@javisst.space if you get it to work on WSL.

I'm just documenting how I got it to work, with the various sources in each section in case something gets outdated.

Read more...

#life #behappy

One of those “you better appreciate it until it's gone” kind of a deal here. I two weeks ago cut open my right hand knuckle down to the bone and had to sew it. During this healing period I've been single handed, and it sucks. Unless you're already single handed, consider the luxury you have right now of not lacking a hand.

Read more...

#rant #life

It's an interesting concept. The more I hide it, the less restrictions I have on when writing for it. Even when I think I don't have any restrictions.

I'd like to just post from my heart, but when all you (me) who's reading this could be anyme, then is there a chance I will get hurt?

Read more...

#devlog #programming #flog

I see you hating on the name already, but stop that. I'm already in love with it.

Filter-logs: flog. A command-line utility to filter logs depending on if it's an error, infromation, trace, debug, or wheatever kind of severity. And yes, especially for multiline logs!

Sample use case:

# Only give me the <1 day old logs from fileOutput.log
$ flog -t 1d fileOutput.log

# ...or what about only error logs
$ flog -s error fileOutput.log

# Only show me error logs from dotnet run
$ dotnet run -v m | flog -s error

Would be so useful, and not that complicated to make, right?

I've not found any such tool online, so let's just make one of my own. But what language?

Read more...

#guide #bash #programming

Short version: basically all the time, except when using keywords or operators.

But let's dig into the whens and wonts, as it is difficult to guess as a newcomer to bash.

Läs mer...

#guide #writefreely #linux

Please dedicate 1-2h of your time for this guide. (Given you follow it from top to bottom.)

WriteFreely, the software that's hosting this blog, is a marvelous peice of software.

My personal quick list of best features:

  • Write in Markdown (even has support for MathJax, though I do not use it)
  • Simple auth
  • Supports both single user blog, and multi user blog.
  • Suuuper clean frontend design.
  • Open Source, written in Go, so I'm already feeling inclined in submitting some PRs.
  • Low memory & CPU footprint (Currently using 175 MiB RAM and 0% CPU while idle.)
  • Simple setup (for the most part, as we'll discuss in this post)
  • Support for ActivityPub (Fediverse)

The last bullet there about ActivityPub; you better lookup what it is if you're not aware. Google/DuckDuckGo/Yacy/search for it to get a grasp what it is. Spoiler: It's very cool. Let's dig into how to setup an instance of your own!

Läs mer...

#devlog #rant

When searching for internship via school I found this small startup with this cute project of building a teaching tool for programming. There were back then 2 programmers: the founder and the co-founder.

Then like 1 week before the internship started, the co-founder had a burnout and had to get off the project, while the company was so low on budget the founder, aka my new b0ss, had to work separate jobs to keep the company alive. (quite metal tbh)

It's funny because I'm a junior developer, 100%. I've been coding as a hobby for around 8 years now but I've never worked in a big company before. (No exception to this workplace either)

First project I get: rewrite the compiler. The Python compiler. “But wait, why not just embed a real compiler from the first case?” -nanananana it's never simple, as you probably know from your own projects.

Read more...

#devlog #g1ant #adventiredOfG1ant #programming #csharp

eBIG BARF

THIS TOOK A WHILE

Puking glitter
Originally posted by palesystemmalfunction

You cant probably see it because of Tumblrs lack of affection towards timestamps, but last episode came out 6 months ago.

I had a good flow before. Nearly one PR per week. But then summerjob happened, and some vacation, and some vacation from my vacation, then school started, then dog ate my trashcan…

I’ve been busy. And I’ve lost the flame for this project.

Read more...

#rant #g1ant #adventiredOfG1ant

Part of the email I received

(from one of many bug report tickets)

>you’re a big friend for us

I find that fucking highly amusing. Holy shit I’m getting more compliments from G1ANT than from my boss that forces me to use this weirdo robot.

Why not apply for G1ANT next time I’m job hunting, I mean I have like already done ×5 more QA work for them than their dedicated QA employee. Hahaha

Vizzyo buttpunks

This post was originally posted (by me) here: https://itsa-me-jag.tumblr.com/post/173320643337/from-one-of-many-bug-report-tickets-youre-a