I have a lot of trouble with switching between the various computers I end up using…
In theory really nothing. And from a just about any perspective it’s completely respectable choice that I wish I could use more often when publishing software. In practice though I find it difficult to use. Why? Because 9 times out of 10 when I want to write a program that links to libraries I didn’t write those libraries are GPL’ed. Which is a no-no. So, for example, if you want write a program under the Apache license that uses any of the Gnome libraries, my understanding is you can’t because those are GPL’ed.
I don’t expect the Apache foundation to do anything about this, but it seems hard to imagine how the license survives outside it’s own foundation’s projects when the rest of the OSS world is built on incompatible licenses.
I just found this page:
There is a lot of really neat stuff on there. On the downside it’s hard to navigate, some of it really out of date, some of the links are dead, and some of it just plain trash.
After its all said and done though I’ve found several PDFs full of interesting reads. Enjoy!
I just found this out, and i’m sure a lot of people probably already knew this, but as always, I’m late the game. Anyway, WordPress.com has built in support for source code highlighting. I’ve already updated several of my posts to use it. Here’s the link showing how
The TL;DR of it is you just put the following around the code in your post:
your code here
Filling in the language with whatever your posting in. The list of supported languages on the link I posted above is pretty short but I get the impression it’s probably not been updated in a while either.
It took a while to figure this out today. It’s not obvious like with Java or C. Let’s say you have a string, and you have to modify it in similar ways at different points in the code, so instead of writing the modification code multiple times you break that code into its own function. Classic example of OOP. So what do you do? Well, while working in MS Outlook today I discovered a couple of things. First, I discovered to make sure this works the way you want you have to specify by ByVal instead of the default ByRef. Second, you have to set the function name equal to the final value you want to return to have the function actually return the value. So pay careful attention to lines 1 and 12 in the snippet below.
The reason they set it up like that I have no idea. It makes no sense to me.
Private Function ChangeString(ByVal Item As String) As String Set RegX = CreateObject("VBScript.RegExp") With RegX .Global = True .IgnoreCase = False End With ' Convert the font back to Calibri RegX.Pattern = "Book" Item = RegX.Replace(Item, "Newspaper") ChangeString = Item End Function
If you’re really geeky, and most of you probably aren’t, here’s a very interesting webpage full of very interesting things.