Back to my Julia Unicode gripe

Concerning this unicode string “日本語” Julia tells me it has a length of 3. This initially led to my indexing problems. Because visually they’re 3 characters. So for example I would try and reference the above 2nd character as one greater than the previous byte. I probably would have figured out what was going on …

Lazarus open project weirdness

I think I talked about this before. I often have problems opening Lazarus projects, files or what ever you call it where you want to open a previously working program. Sometimes nothing will open. Sometimes someting else will open. Often I’ll drag a working zipped file and extract then maybe or just as likely it …

Go – Strings, bytes, runes and characters

We’ve come a long way since 8 bit ASCII and EBCDIC. It was an issue with Julia too. Every modern language has to deal with International characters. I guess I need to dive into it because thanks to the Internet and other languages a character is not necessarily one byte. Go Info here. Which also …

Tumbleweed network activity lie

So in addition to Tumbleweeds odd way of graphing left to right at the beginning, then switching to right to left as all my default monitors do. It also sometimes shows download activity when I’m disconnected from the network. As shown below. In this case I also physically disconnected the Ethernet cable. If you fullscreen …

Learning programming languages

Most tutorials start with variables and types, loops, if statements you know…the basics. But for me I like to move quickly to reading/writing files, so that usually implies at least some type of loop also. Because that is where I’m most likely to need to use the other basics of programming. I also like to …