#Blender   #CG  

Blender - text with scanlines

With the release of Blender 2.8 I went back to messing around with graphics. I would like to be able to replicate some of the, already existing, effects. Nothing fancy. Nothing new. At the same time looking… good! I also would like to explain the process to learn and improve. Lets look at a text with some scanlines. The scene is pretty basic, text object and a scaled cube with an array modifier. [Read More]

Debugging image resources

I work a lot with image processing. There is a lot of transformations and sub images extraction. Often, it would be great to actually see those images when debugging. Quick Google search pointed me to the dump command present in gdb. In short, to get the memory dump, you would do something like this: set $source=pointer_to_the_memory set $size_of_the_dump=4096 dump memory filename.bin $source $source+size_of_the_dump You have to know the size of your data. [Read More]
#GUI   #OpenGL   #UX  

Node based GUI app

Inspired by a horrible Jenkins CI workflow I thought about a GUI app that could help compose and request/monitor CI jobs. Node based GUI seemed like an interesting option for that. I’ve tested several technological stack to develop something like that and here are my observations. Nodes in Haxe/Heaps I’ve started with testing Haxe + Heaps. I like the flexibility Haxe gives. Outputting a web app based on JavaScript is pretty easy. [Read More]

Black magic probe out of cheap STLink programmers

If you have ever worked with ARM Cortex M processors you’ve probably used GDB + OpenOCD combo for debugging. If you didn’t: OpenOCD connects to the processor via a STLink programmer and opens a socket to which GDB can connect. It will push data necessary for debugging (and understandable for GDB) through this socket. That means that if you connect GDB to this socket (so called remote debugging) you can debug processor’s software like any other application on your PC. [Read More]

Using txti.es + Python as a data dashboard

Have you ever heard about txti.es? It’s a basic web page creator. You can basically create a very simple website by typing content into a form. I thought it might be used as a very simple frontend. I always dabbled with automation. An example would be a scraping script that gets the job postings from a specific website or one that checks when the bus I take every morning leaves and sends this information by e-mail. [Read More]
#article  

Creators responsibility

Recently I’ve enjoyed reading blog posts by Nikita. You can find the blog here. One blog post I see quoted often is this one (you can read it in 6 languages - that says something). It’s about the disastrous state of current software development. The author brings a lot of good points. The message is that no one puts effort into making software performant. We solve problems by adding complexity, never actually solving the root cause. [Read More]

Setting up a PiHole

What’s a PiHole? It’s basically a DNS sinkhole. DNS servers resolve domain names into IPs. DNS sinkholes are basically faulty DNS servers. For example when you go to a website your web browser will also download ads. In order to get them it has to resolve the domain name of the ads provider into an IP. That’s what DNS server does. PiHole is just a local DNS server which say ‘nah’ when you ask it to serve a content from a blacklisted provider. [Read More]

Setting your pc for remote access

I’m not sure I need it. Maybe you will. It is an exercise in excess. I rarely need something from my home PC because nowadays it’s so easy to store things in the magical cloud. Still, it’s a nice exercise. I have set up remote access on Void Linux and I will describe the process of doing so for that OS. You might encounter some problems if you are using Windows… but if you do you have bigger things to worry about (writing this around the time M$ update for Windows bricked some users’ computers. [Read More]

[STM32] - part 3 - Start your engine!

I think it’s time to go through what happens when you power on the STM32 Cortex-M microcontroller. There is a lot of resources on this topic (if you are reading this one… thank you!). I will explain this process in my own words. You have powered on your microcontroller. Less than a second has passed and it is already munching through data, sending and receiving messages, controlling motors and blinking leds. [Read More]
#article  

Shortcomings of todays human-computer interaction

I have spent a lot of time in front of a computer. That’s because you can do a lot of amazing stuff with it. I don’t think I ejony the process that much though. Sometimes there is so much clicking and pointing to do simple stuff. I don’t think I would code without using VIM or at least adding VIM bindings to the text editor I’m using. I just can’t use mouse when I code. [Read More]