Blog
Page: 0 ... 5 ... 10 ... 15 ... 20 ... 25 ... 30 31 32 33 34 35 36 37 38 39 ... 40 ... 45 ... 50 ... 55 ... 60 ... 65 ... 70
Scribe
Date: 11/7/2007
3 Scribe releases in 2 days. I guess I'm trying to make up for no releases in 4 months. Anyway hopefully this "Test19" will be a good one.

Also I fixed the broken release RSS feed, if you were wondering.
(0) Comments | Add Comment

DOS?
Date: 20/6/2007
Just recently the traffic pattern to this site has changed. Every ten seconds, on average, someone/something loads the i.Disk page. The requests come from lots of different IP's sometimes more than once, they never have a referrer and always have the same user agent: "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)". I'm not sure why a whole heap of machines all over the internet need to load idisk.php so much; 8000 hits a day. This is on top of the 2-3 thousand hits I get normally. These are the actual live hits on that page since I wrote this post.

Do you think this is a DOS or just some piece of software gone AWOL?
(1) Comment | Add Comment

Switching between the VC6 and VC7 JIT debuggers
Date: 20/6/2007
You can switch between debuggers using the following settings:

Set VC6 as the default JIT debugger:
Tools | Options | Debug | "Just-in-time debugging" (in VC6 IDE)


Set VS.NET as the default JIT debugger:
Tools | Options | Debugging | Just-in-time | "Native" (in VS.NET IDE)


Also usful for fixing the "jit debugging component registration is incorrect" error.
(0) Comments | Add Comment

Citarum River
Date: 7/6/2007
Citarum River in Indonesia (via kottke)

In light of my previous post about plastic... words fail me. *deep sigh*
(1) Comment | Add Comment

Translating Script Names
Date: 7/6/2007
So Scribe has script files stored in the "Scripts" sub-folder and at the moment they show up in the tools menu. There are several problems to be addressed. First of all the name of the command is currently just the file name. But then means it can't be translated into all the different languages that Scribe supports. Currently translations for the existing commands are in the Scribe.lr8 file which gets loaded at runtime. However there needs to be a mechanism that associates a given string resource with the Script file.

I'm considering several possibilies. None of which are particularly palettable.
  • Embed the translation ID in a header of the script. Pros: nothing specific, Cons: You have to read the file at startup. Lots of scripts could be slow. Bit fragile if the ID number changes (rare but possible).
  • Embed the translation ID in the filename of the script. Better than the first option but still can break if the ID changes.
  • Embed the symbol define in the filename. Pros: very unlikely to break, the symbol doesn't change. Cons: Current resource runtime code doesn't store the define symbol, so I'd have to store that and it'd take up memory.
  • Embed the translation directly into the script file. Pro: nice and self contained, never breaks. Con: Will get overlooked by translators and never updated.
  • Something else?


I'd like some feedback or ideas. The translation has a reference number (int), an ID (int) and a define (string name). The ref is unique, the ID is the same for all strings with the same define.
(1) Comment | Add Comment

Plastic Ocean
Date: 5/6/2007
Plastic Ocean (via jwz).

It began with a line of plastic bags ghosting the surface, followed by an ugly tangle of junk: nets and ropes and bottles, motor-oil jugs and cracked bath toys, a mangled tarp. Tires. A traffic cone. [...] Dragging a fine-meshed net he discovered minuscule pieces of plastic, some barely visible to the eye, swirling like fish food throughout the water. He and his researchers parsed, measured, and sorted their samples and arrived at the following conclusion: By weight, this swath of sea contains six times as much plastic as it does plankton.

The North Pacific gyre is only one of five such high-pressure zones in the oceans. There are similar areas in the South Pacific, the North and South Atlantic, and the Indian Ocean. Each of these gyres has its own version of the Garbage Patch, as plastic gathers in the currents. Together, these areas cover 40 percent of the sea. "That corresponds to a quarter of the earth's surface," Moore says. "So 25 percent of our planet is a toilet that never flushes."

BPA has been found in nearly every human who has been tested in the United States. We're eating these plasticizing additives, drinking them, breathing them, and absorbing them through our skin every single day. [...] "Findings suggest that developmental exposure to BPA is contributing to the obesity epidemic that has occurred during the last two decades in the developed world, associated with the dramatic increase in the amount of plastic being produced each year." Given this, it is perhaps not entirely coincidental that America's staggering rise in diabetes -- a 735 percent increase since 1935 -- follows the same arc.

"Except for the small amount that's been incinerated -- and it's a very small amount -- every bit of plastic ever made still exists." [...] "It's not the big trash on the beach. It's the fact that the whole biosphere is becoming mixed with these plastic particles. What are they doing to us? We're breathing them, the fish are eating them, they're in our hair, they're in our skin."



We are seriously screwing our planet up. I'm not doing nearly enough to help and it just makes me very deeply sad.

I thought I did the right thing by just getting rid of my offensively wasteful car and replacing it with a scooter but that just means someone else is polluting the environment with that car. But I couldn't afford to have it crushed, I needed the money to buy the scooter (and other things).

Constantly it seems that doing the right thing is more expensive in the short term financial sense. I'm sure there are ways where the free market can be bought to bear on the problem.

In some what related news I need to buy a new car for our family as our old one was written off last week. No one was seriously hurt but both the girls had some whiplash. Currently I'm thinking of getting a Corolla wagon as some compromise between our needs, resources and the environment. It's a whole lot more economical than our last car (8lt/100km city) has more space than a small sedan and has some air-bags. Not enough mind you, but as a stepping stone, it's what we can afford at the moment. I'd dearly love to get a Civic Hybrid but they start at 35k new or 25k 2nd hand. And we don't have that unless we want to go into [more] debt *shudder*.
(2) Comments | Add Comment