struct foo { };
struct bar : foo { };
struct baz : foo { };
foo *doit(bool which)
{
return which ? (foo*) new bar : (foo*) new baz;
}
struct foo { };
struct bar : foo { };
struct baz : foo { };
foo *doit(bool which)
{
return which ? (foo*) new bar : (foo*) new baz;
}
Time for that monty python spam song again... :-)
bbTracker and Local Content warning on the BlackBerry
Anyway, when you install this application as a COD file, it is not signed like many others, and when it tries to access the filesystem on the device, the BlackBerry OS shows the following prompt message:
This gets very annoying, as you can imagine. And this particular prompt does not have a "do not ask me again" checkbox, so it appears every time.
I'm using a BlackBerry 9000 device, running v5.0.0.348 (Platform 5.2.0.23) firmware.
Since bbTracker is not signed, you will need to adjust the filesystem permissions manually. Go into Options | Applications | Edit Permissions. Unsigned applications have three main groups: RIM, MIDP groups, and MIDP JSRs.
When the cursor is along the top, select MIDP groups:
Expand the Data Space, using the main menu:
I set all these options to ALLOWED:
I'm not sure what the ONESHOT, SESSION, and BLANKET options are, but allowing these permissions removes the above prompt for me.
Syndicated 2011-09-03 15:49:50 from A Pilgrim's Journal - Entries tagged advogato
Inspiring Japanese Culture
My small personal experience with Japanese culture is also favourable. Their respect for their elders takes things to a new level that just seems completely out of fashion in the west. I found that there was a lot to learn from the simple example of just one Japanese student's life.
Your Don Knuth comment made me chuckle. It's true; it would be hard not to love him. Maybe if more Christians lived like that, we wouldn't be "taking the Lord's name in vain" and giving God a bad rep in the world.
Syndicated 2011-03-19 17:57:46 from A Pilgrim's Journal - Entries tagged advogato
Crackpots and Disasters
If God exists, who do you think He would be more angry at: a person who makes over a million dollars a year, who may even claim to be a Christian, and still has most of it in his bank account at the end of the year; or a poor Haitian who practices voodoo?
I think this is a difference that a lot of us "religious wackos" miss. If we are somehow blessed with plenty in the western world, that is not evidence that God is rewarding us for something good we've done. Rather, it is proof that we are doing a piss-poor job at the responsibility God has given us to take care of the poor. And if any of these Christians read the Bible, they should take note of the parts that indicate that rich people who don't share are actually storing up judgment for themselves in the very wealth they take comfort in. Their riches are their judgment. That cool thousand, million, or billion in the bank will be a liability at the last day.
Don't assume someone is a Christian just because they claim to be. And by that same token, don't assume that God is pleased with Christians just because they claim He is.
If I understand the Bible correctly, North America could easily be more hell-worthy than Japan or Haiti, in the same way that Jerusalem in Jesus's day was more hell-worthy than Sodom and Gomorrah.
Syndicated 2011-03-18 17:44:25 from A Pilgrim's Journal - Entries tagged advogato
This may be a clue as to how to cleanup the recentlog. Perhaps an automatic email whenever your nick is mentioned in a blog post. Or a <call_you_out> tag, which requires a response within a month before you get pruned from the default recentlog threshold. :-)
New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!