HtmlToText
home general the crucible - a starcraft story flocker technical software-as-a-service software architecture and design philosophy xml basics creating an xml application xpath 1.0 basics xpath 1.0 demo xslt 1.0 basics xslt 1.0 default rules: hello world! software objects and algorithms my network mycryptinfo multithreaded file transfer secure parcel delivery threadmonitor upnp nat router configurator scientific computing wallpaper morpher frozen: ip packet sniffer eol: ping-n-trace eol: ip packet filter configurator extras tag cloud post index rss feed find something login about contact donate pttp systems floating the inner tubes home general the crucible - a starcraft story flocker technical software-as-a-service software architecture and design philosophy xml basics creating an xml application xpath 1.0 basics xpath 1.0 demo xslt 1.0 basics xslt 1.0 default rules: hello world! software objects and algorithms my network mycryptinfo multithreaded file transfer secure parcel delivery threadmonitor upnp nat router configurator scientific computing wallpaper morpher frozen: ip packet sniffer eol: ping-n-trace eol: ip packet filter configurator extras tag cloud post index rss feed find something login about contact donate things to see home general the crucible - a starcraft story flocker technical software-as-a-service software architecture and design philosophy xml basics creating an xml application xpath 1.0 basics xpath 1.0 demo xslt 1.0 basics xslt 1.0 default rules: hello world! software objects and algorithms my network mycryptinfo multithreaded file transfer secure parcel delivery threadmonitor upnp nat router configurator scientific computing wallpaper morpher frozen: ip packet sniffer eol: ping-n-trace eol: ip packet filter configurator extras tag cloud post index rss feed find something login about contact donate tweets newer older tag cloud architecture asus blizzard c++ compliance cryptography employment fanfic fips fips 140-2 firewall flocking gaming general graphics cards lua malware metrics military models news open source opengl organizing philosophy pki potentially unwanted programs privacy rant risk scap secure communications security software sqlite ssl starcraft tcp/ip threading tls tool trojans uav vampires vulnerability wikipedia worms hidden web pages work details my education my bibliography generic tcp/ip listener generic thread object anagram signature algorithm threadtagging mynetwork 2.1 - now with listening-process data! monday, january 24, 2011 at 7:46am i recommend updating to the latest version if you need to view the tcp and/or udp connections on your system. this version updates the listings to include the listening-process name and process id. ok, i also fixed a minor port-number formatting bug. ;) and don't worry, more improvements are in the oven! you can get the new version here . below is a screenshot of the revised display. :) -eric p.s. i love my new job. :) the new ui eric fredericksen | post a comment | 18 references | share article now for some good news! wednesday, september 29, 2010 at 9:59am on monday i'll be starting work for a computer game company. :) here are a few more smilies to show you how i feel. :) ;) -eric eric fredericksen | 1 comment | 2 references | share article tagged employment , gaming in writing !@#$%^ rebate process wednesday, september 29, 2010 at 9:46am you can see on previous posts that i recently bought a new video card because i was having hardware trouble with my gt9800. the new card included a $20 rebate, and being frugal, i followed the process to get my just rewards. here is the notice i received today: we are pleased to inform you that your rebate, with the basic service level you selected has been processed and approved on 09/29/2010. your visa® card will be mailed within 8-10 weeks . please contact us if you have any additional questions. below is the summary of your rebate registration information: tracking number: xxxxxxxxxxxxxxxxxxx rebate offer: gigabyte special mail in rebate offer rebate item : gigabyte gv-n465ud-1gi video card rebate item upc number(s) : 818313010834 rebate award: $20.00 service level basic: $20.00 final award: $20.00 when i went to fill out the online form, what did i find? an "offer" to get the rebate within 3 days. the catch? they wanted, like, $2 of my rebate. i chose to keep my $2 and wait 8-10 weeks, which is why the notice referred to my "service level" as "basic". as opposed to the premium level, where i fork over $2 to someone who makes money just by failing to delay sending me my money. so i have to ask: if you can take my money instantly, why would it take 8-10 weeks to send me my rebate, unless of course i pay someone (presumably a 3rd party) $2 to speed up the process? grrrrrrrrr!@#$%^&* we all know, actually, that this type of rebate process is just a scam to offer rebates but have people forget about them, or fill out the forms incorrectly and have them rejected. i'll go sit quietly in the corner, now, and fume some more. and wait for my rebate while thinking of what i can do with my extra $2. eric fredericksen | post a comment | share article tagged graphics cards , rant in writing , hardware baking a video card -- followup thursday, september 9, 2010 at 8:22pm i've got the new gigabyte gv-n465ud-1gi geforce gtx 465 installed and it's rocking right along. :) the revived en9800gt has been packed away as a hot spare, although my fingers are crossed that i'll never need it. yeah. right. anyway, i wanted to pass along another tidbit about the asus en9800gt ultimate graphics card. the default fan speed is barely high enough to prevent it from melting down -- about 1400 rpm. that fan speed setting basically keeps the gpu temperature at just under 80 degrees celsius. that is not good, and could be the reason that i started having problems. and before you ask, yes, my case has great ventilation. everything else in the case is cool as a cucumber. asus supplies an add-on monitoring tool that can control the fan in a better manner, allowing you to choose the built in "automatic" (as in, barely avoiding meltdown) or a more carefully controlled fan speed based on gpu termperature (or a manually chosen constant speed). my best guess is that the marketing folks wanted the quietest possible fan speed that the card could tolerate. in addition, the asus monitoring program nags you to install other stuff every time it started up. yes, the card is several years old, but the same software is still on the asus support site. in contrast, the default fan speed for the gigabyte card is about 2600 rpm, keeping the card below 60 degrees celsius no matter how i've stressed it (so far). and it is quieter than the asus, as well. that being said, i've now found some tools on the nvidia site that provide alternative monitoring and, most importantly, fan control from the nvidia control panel! :) so, if you have the asus en9800gt ultimate card, get that fan speed up and the temperature down if you want a longer hardware life. and you can probably use the nvidia supplied tools to do it. cheers, eric eric fredericksen | post a comment | share article tagged asus , graphics cards in writing , hardware baking a video card -- a magical fix for hardware failure wednesday, september 8, 2010 at 7:27pm no, my video card is not trying to deal with glaucoma, although its behavior over the past few weeks might be interpreted as such. stay with me here and i'll tell you how my gas oven fixed it. :) the backstory i've been running an asus en9800gt ultimate graphics card for several years, paired with a core2 quad q6600 and 4gb of memory. there's nothing special about the system, although when i built it it was further up the price/performance curve than it is today. nevertheless, the asus card has always performed admirably, running quite well for the hoops i put it through on a daily basis. until some weeks ago. :| the video started stuttering and hanging when doing graphics intensive things, like running world of warcraft, or starcraft 2 together with vmware workstation and windows media center. yes, all at the same time. i had begun to think that recent updates to these programs had made changes to their video requirements. or maybe it was the latest nvidia drivers; they had had some recent issues. in any case, two days ago the video choppiness was reaching a state where i thought it was going to induce an epileptic fit . this was all the more strange because the frame rates reported by the program i was running (ok, it was world of warcraft) were from 30 to 100 fps. the obvious choppiness was confusing, if those numbers were to be believed. i looked for irq conflicts, disk access conflicts, and all sorts of other things that could cause the program driving the video to stutter. nada. no joy. the failure yesterday i tried rolling back my video drivers but got no improvement. upon reinstalling the latest nvidia drivers and undergoing the requisite restart, i could no longer even get a valid video signal. nothing. not even the boot text, just colored blocks, or weirdly noisy colored lines. things looked grim. i tried resetting the cmos on the motherboard. still no joy. now, over the years i've let the magic smoke out of many a pc component. those are inevitable war wounds when you have a penchant for building your own systems and experimenting with hardware. my past overclocking adventures killed off many disks and several motherboards, but never a video card. besides, those days are behind me. my system today is all stock parts -- no mods, no overclocking (at least, not on my own). no shenanigans. also, i had paid for top-notch gear -- no off brands -- and it was all sourced from a vendor i trust and recommend . i've been buying all the important stuff from them for 10 years. no, if there was a problem, then it was a manufacturer issue. stay with me, i'm getting to the part where i put my the asus video card in the oven! and yes, technically my asus card is an "overclocked" card, but that was done at the factory and is really just a marketing scheme. all chips come with varying tolerance produced by the fabrication process. all the vendor needs to do is test them and separate out the high performers, bump up the clock on those cards, and charge more. the eureka! moment the symptoms were familiar -- i suspected either the motherboard or the video card was going bad or gone. i crossed my fingers and hoped it was the video card. testing the asus card in another machine rewarded my wish -- the system wouldn't even boot with the asus video card in it. :) at this point i quickly put my wife's system back together, made sure it still worked, wiped my prints off the keyboard, and quietly slipped out of her office. the smile on my face as i went back to my office lasted a few seconds, right up to the moment i contemplated the need for a new video card and the new lack of access to my working system. my search through a fairly large pile of out-of-favor gear produced no workable spare to use in the mean time. i was sol. as circumstance would have it, i had been window shopping for months, now, in anticipation of upgrading my system, and i had already decided which video card was at the right price point. interpreting these events as a kick in the pants to do my planned upgrade, i fired up my dinky laptop, surfed over to newegg, and ordered a new gigabyte gv-n465ud-1gi geforce gtx 465 . then i sat down to wait. i twiddled my thumbs. i was starting to go stir crazy even though i only had to wait one day -- i paid extra for overnight shipping. the surprise fix my laptop was still on so i began searching to see if anyone else had had similar problems with their nvidia 9800's (asus or other vendor). good old google quickly brought me to www.hardforum.com and a thread that described exactly the same issue on a 9800gt (brand unknown). the thread included links to photos of identical visual phenomena as well as a wildly unbelievable method for possibly fixing the card. i read the thread. twice. and the reason why the solution might work made sense -- solder joints can age and become brittle, creating microfractures leading to intermittent and increasingly bad failures. those microfractures can be resolved if you heat them up so that the solder remelts. here is the recipe that worked for me as derived from the thread linked to above: remove the fan assembly down to the bare pc board clean off the thermal paste get a cookie sheet and cover it with tin foil use more tin foil to create two 1/2 inch "logs" to hold up the card place the card across the "logs" like plywood across two saw horses (gpu up) preheat my gas oven to 385 degrees fahrenheit bake the video card @385f for exactly 8 minutes (using the baking timer, of course) take the card out of the oven and let it cool apply the recommended film of arctic silver 5 to the gpu surface reassemble the fan and cover and pop it back into the system viola! my system was working again, modulo the clock reset that i caused by clearing the bios. epilogue i doubt this sort of failure, and the corresponding solution, will be necessary for many folks. nevertheless, it was an interesting solution to a sad problem. that being said, if you do this, don't expect the fix to last, or so i am told. and don't go sell the card to someone else. the problem will probably come back, and you don't want that bad karma . i just hope the fix lasts until my new card arrives tomorrow. in the mean time i can work while the first component of my newest system makes its way to my doorstep. :) *twiddles thumbs* *fires up world of warcraft* eric fredericksen | post a comment | 6 references | share article tagged asus , graphics cards in writing , hardware software as a service (saas) monday, september 6, 2010 at 8:00pm designing systems that can scale to very large sizes is a challenge. the requirements are demanding or become so very quickly. commercial success of your product is also a two-edged sword. will your architecture handle the initial demand? how quickly can you expand resources to meet new demand? are you paying way too much money to an os or database vendor? how quickly will you need to duplicate your noc/soc? i put together a slide deck discussing some of these issues for a small-group presentation a few weeks ago. i have posted the slides here because i wanted to share those thoughts. cheers! -eric eric fredericksen | post a comment | share article tagged architecture , software in software ip packet sniffer -- frozen friday, september 3, 2010 at 11:53am years ago i put a non-trivial amount of energy into the ip packet sniffer tool . there was a "what is happening on my network" thing going on inside my head, driving research into what the windows os apis could give me, and i derived a great deal of fun from the work. times change, and although the tool was a great learning experience -- what better way to learn the guts of network protocols than dissecting the bits pulled from the wire -- this tool is way behind serious tools, like wireshark . wireshark is what you should use if you are serious about investigating your network traffic (unless you need something harder core). wireshark leverages winpcap and is therefore far less limited than a raw sockets based method (thanks, microsoft). the upshot is that i am freezing work on this tool. i've end-of-lifed a few other tools recently, and removed the download links to those. however, this one still has some life left, if only because it is significantly simpler to start up than wireshark , so i'll keep making the bits available. cheers, -eric eric fredericksen | post a comment | share article tagged c++ , security , software in software mynetwork 2.0 - facelift by mfc 9 saturday, august 28, 2010 at 11:41am i started the mynetwork program years ago while exploring various windows apis providing network-related information. basically, it was a research project. the tool interface was my quick-and-dirty approach to displaying those data. well, mynetwork was complaining loudly, telling me it felt neglected. in order to stop its whining i've given it a facelift to a more modern ui via mfc version 9.0 (which comes with visual studio 2008). what a difference three mfc versions can make! now it looks like your outlook client. :) everything is in user-movable, dockable panes. windows with dynamic data are individually refreshable with the obvious button. you can also configure autorefresh for all dynamic-data windows using a ribbon bar toggle. you can get the new version here . below are some screenshots. :) cheers! -eric eric fredericksen | post a comment | share article tagged c++ , privacy , software in software new flocker 2.2.1 monday, august 23, 2010 at 12:38pm this is just a minor update. i had to get the already-completed work out of my hair (figuratively speaking) before starting the facelifting process for the mfc-based tools. :) get the latest version here . updates include allowed manipulation of the world box to give a better view of teleportation vs. reflection. saved field of view and world box gap to the bird configuration snapshot. added a bit more geometry to bird tails. fixed a visibility issue for "deader" birds (a face culling problem). regards, eric eric fredericksen | post a comment | share article tagged lua , software in software tool user interfaces - got facelift? monday, august 23, 2010 at 9:48am i've been comparing the old dialog-based user interfaces that i created for the tools and this site to the new capabilities of mfc in visual studio 2008 (vc9) and the newer outlook-style widgets. i think it is time to pamper their (sometimes 8+ year old) user interfaces with a facelift . :) stay tuned. :) regards, eric eric fredericksen | post a comment | 5 references | share article tagged c++ , security , software in software flocker 2.2 thursday, august 19, 2010 at 12:50pm yes, updates for my programming playground are arriving at a rapid pace. i've been having way too much fun adding 3d fly-through via mouse control. :) get the latest version here . updates and additions in this version include: added a "reset light defaults" menu item that resets all the lights to an off position with spotlights aimed at the center of the volume. added viewpoint fly-through with simple avatar and mouse controls. added a field-of-view control to control display. refactored some internal code. removed the testing window pane. -eric eric fredericksen | post a comment | share article tagged lua , software in software flocker - new version sunday, august 15, 2010 at 4:24pm i have been having a lot of fun with lua lately, expanding the flocker program to create a better 3d display experience. :) get the latest version here . updates and additions in this version include: added configurability of 8 lights covering the gamut of opengl controls, including diffuse, ambient, and specular colors, and omnidirectional light position (directional-at-infinity lights are not yet enabled). you also can choose to make any omnidirectional light a spot source and set its direction, beam width, etc. expanded the bird avatar to use 3d geometry and surface material properties. added preconfigured, programmatic generation of bird placement (accessed through the menu). added independent load, save, and delete of lighting configurations. updated tooltips and added some help buttons that open wikipedia pages describing the topic. extended the bird-space partitioning to 3d (a performance enhancement for flocking calculations). updated luagl to version 1.4 so i could use some additional glut functions. factored the opengl related code out into a separate module. note: the opengl testing tab is just there for fun. you can watch it but not interact with it. :) -eric eric fredericksen | post a comment | 1 reference | share article tagged lua , opengl , flocking , software in software flocker code cleanup monday, august 9, 2010 at 5:16pm lua code *can* be compiled into bytecode chunks. however, it is normally distributed as plain text because, let's face it, bytecode is easily decompiled. because i am providing flocker as plain text code i thought i would go ahead and clean up the comments and remove some dead and unused stuff. i mean, someone might actually look at it. :) i also added a few minor graphics tweaks, reorganized my color definitions to conform to the opengl style throughout, and got prepped for the next round of modifications. :) the new flocker version is 2.01 . cheers! -eric eric fredericksen | post a comment | share article tagged lua , opengl in software flocker - my lua programming playground sunday, august 8, 2010 at 8:55pm flocker started as a way for me to learn lua ( http://www.lua.org/ ). i thought, "hey, i've never implemented that bird flocking thing, so why not try that while i learn a new language?" things never stop changing when we play with software. i had to add expanded ui controls and database snapshots of the simulation state (implemented using sqlite ). next i wanted to see some statistics on who was in what state, so i moved ui stuff around into a tabbed configuration and added a data display. most recently i expanded the display to default to opengl, removing the flicker (the vanilla display doesn't frame sync) and making the graphics significantly higher quality. you can switch the display tabs to see the differences. i'm still playing with expanding the behavior of the birds (adding states) but i thought now would be a good time to make something available for other people to have fun with. you can download the package with documentation here . eric fredericksen | post a comment | share article tagged lua , opengl , sqlite in software the crucible - a starcraft story monday, august 2, 2010 at 3:41pm some folks know that i am life-long science fiction geek. (with a liberal helping of fantasy on the side; go brent weeks !) i've been fixated on the genre since i was, like, eight years old, and i have book cases filled with hundreds of books, from abbott to zelazny , with plenty of space occupied by asimov and heinlein (and yes, a lot of contemporary authors, too, like alistair reynolds and iain [m] banks ). writers often create entire universes full of characters and stories because they are great frameworks for meta-story arcs and long term character development. some very generous folks even allow others to write stories set in their universe (yes, i own every volume of the man-kzin wars series). some computer game universes follow the same pattern. last year i got interested in the starcraft universe created by blizzard entertainment and started devouring all the stories i could get my hands on. then i caught wind of a writing contest and thought, "hey, i should try that!" the story had to be set in a blizzard universe and between 2500 and 7500 words in length. this short story was my submission . eric fredericksen | post a comment | 2 references | share article tagged blizzard , fanfic , starcraft in writing two tools end-of-life tuesday, june 29, 2010 at 3:29pm two of the tools on this site have outlived their usefulness. for that reason i am no longer going to support them or provide further downloads. they are ping-n-trace ip packet filter configurator there is at least one more on the chopping block. i'll decide on that one soon, so stay tuned. :} thanks, eric eric fredericksen | post a comment | share article updated secure parcel delivery wednesday, april 7, 2010 at 6:32pm secure parcel delivery version 1.2 brings a number of long-awaited improvements. switching to the latest and greatest cryptographic service provider (csp) microsoft enhanced rsa and aes cryptographic provider valid for windows xp and later adding the advanced encryption standard (aes) symmetric cipher to the fold restricting symmetric encryption ciphers and key strengths to those allowed by fips 140-2 (and fips 140-3) see http://en.wikipedia.org/wiki/fips_140-2 allowed ciphers include triple des and aes with a minimum key length of 128 bits disabling selection of rc4, rc2, des, 2-key 3des allowing user selection of rsa key size from 1024 to 16384 bits in 256 bit steps i suggest you take the default rsa key size of 3072 bits fips 140-3 will require at least 3072 bits (to set a minimum cryptographic strength of 128 bits overall) but the program will let you choose keys down to 1024 bits at this time consolidation of user and key interface elements to simplify configuration this version is 32-bit only and tested on: windows 7 professional x64 windows vista business x86 windows xp sp3 x86 cheers! -eric eric fredericksen | post a comment | 1 reference | share article tagged cryptography , secure communications , security in cryptography , software software tool updates saturday, april 3, 2010 at 4:57pm i've updated several tools today. the changes include a bug fix and a small expansion of capability as listed below. :) oh, and an update to the secure parcel delivery program is on the way. cheers! -eric mycryptinfo -> version 1.4 the tool is expanded to detect more block cipher modes of operation. that is, the algorithms employed to make a block cipher encrypt a chunk of data bigger than the native block size. i noticed that some new modes had been added in the microsoft header files since last i looked. although these modes don't seem to be available with the microsoft native cryptographic service providers (csps), they must be available in some third party csps. the modes added are: cbci - ansi cbc interleaved cfbp - ansi cfb pipelined ofbp - ansi ofb pipelined cbcofm - ansi cbc + of masking cbcofmi - ansi cbc + ofm interleaved mynetwork -> version 1.3 fixed a bug in the formatting of the lease times for interfaces with dhcp enabled. this turned out to be a 32-bit to 64-bit portability issue on windows. mtfiletransfer -> version 1.3 fixed the same bug in the formatting of the lease times for interfaces with dhcp enabled. eric fredericksen | post a comment | share article tagged cryptography , tcp/ip in cryptography , software open sourcing some example code wednesday, march 24, 2010 at 4:07pm in order to make some examples of thread and tcp/ip server management clearer i decided to clean up the full, standalone project and post it here for your download . the project files build with visual studio 2008 (vc9) for release and debug mode on both x86 and x64 systems. note that this project is simply a demonstration of thread and tcp/ ip server management on an ms windows system. a full-fledged application would have much more in the way of error checking, unit tests, and other infrastructure. :) these are all plain source code files, not executables, and i'm making them available under the mozilla trifecta license . cheers! -eric eric fredericksen | post a comment | share article tagged open source , software , tcp/ip , threading , tool in software updated mycryptinfo wednesday, march 17, 2010 at 4:52pm today's update is for the mycryptinfo tool that allows you to explore the microsoft cryptographic service providers (csps) on your system. it has been updated to run on 64-bit systems and to include some missing information about the sha2 hash that is in the aes enabled csp. otherwise the tool hasn't needed to change much. have fun, and don't delete any cryptographic containers that you really need! -eric eric fredericksen | post a comment | 1 reference | share article tagged cryptography , tool in software page 1 2 next 20 entries » this is eric's website. the opinions expressed here are not necessarily those of his employer. this work is licensed under a creative commons license . --