07 Nov 2011 @ 8:22 PM 

Well, I removed the Bidvertiser ads. They were everywhere and all over the page and extremely annoying. And I got zilch. Definitely feel taken advantage of.

I’m going to try other networks. I’d stick with adsense, but their ads don’t show for me; I guess they blocked me. Would have been great to have received some information about that, but oh well. With any luck I’ll be able to at least make enough to keep the site alive. 3 dollars a month cant be too much to ask from the advertisements. So the site is back to being “ad free” for a short while.

Posted By: BC_Programming
Last Edit: 07 Nov 2011 @ 08:22 PM

EmailPermalinkComments (0)
Tags
Categories: Programming
 31 Oct 2011 @ 10:31 PM 

Testing out ads. Trying to make this site something that doesn’t need to be supported/hosted/paid for out of pocket.

Feel like a total douche, but for the moment it’s just an experiment.

What worries me is that they seem… well, a bit aggressive. I hope I don’t scare people away; not because they would equal more hits=more revenue, but because I like to try to deliver good content and with ads like this it’s hard to determine whether it is my content that drives people away or the advertisements.

Again though- just an experiment. I’ll see what the webstats say in a week or so, and whether it’s worth it. my experience with advertisements says no, but we’ll see, that’s what the experiment is for. Speaking of webstats, I don’t trust them. It says I’m getting 1K hits a day, but I doubt I break a couple dozen.

Posted By: BC_Programming
Last Edit: 31 Oct 2011 @ 10:31 PM

EmailPermalinkComments (2)
Tags
Categories: Programming
 31 Oct 2011 @ 12:17 PM 

Running a website isn’t always fun or easy. And for me, it has never been profitable. But it wasn’t really about profit; it was about offering content to people interested in said content. That is, until recently.

Until recently, this site’s (admittedly very cheap and quite reliable) hosting and Domain were paid for out of pocket from earnings from my “normal” job, which was a crappy retail thing whose details are both embarassing and irrelevant. In any case, I recently quit/got fired (depends who you ask), and as a result I am trying several things.

First, I want something involving computers; or at least something that will leverage my abilities with regard to their hardware and software. I am sick and tired of jobs that are “work”; now, don’t take that the wrong way. I am willing to work, but I don’t want work that doesn’t adequately make use, and even aim to expand, my skillset. My previous job was a brainless activity, and it’s intellectual demands could probably be met by small mammals. It didn’t use any of my computer related expertise that I’ve developed over the years. they are hardly professional level abilities but they still exist and I want them to be used in a manner that I can both live off of, find enjoyable and most importantly develop those abilities further. As a result of this, I have been scouring for such locations in my area (relocation at this juncture is not a financially able decision). I have found a few, but they appear to be small shops unlikely to need additional personnel and possibly even struggling to keep out of the red as it is (and thus unlikely to risk the hiring of more employees). I have contacted a few, but none have gotten back to me, and that is rather discouraging (if not a bit unsurprising). Barring those possibilities, which I will admit feel rather far-fetched (even if my skillset would still be a superset of what is needed for those occupations), there is only one other chance. And it’s hypocritical because I ranted about it before in a post I have since hidden since I applied to these places.

Brick & Mortar electronics retailers. Now, I’ll be honest; I’ve personally not had issues with them myself; my own laptop was purchased from Future Shop, and the people there didn’t fit the stereotype often prescribed of them. They do have a bit of an aura, particularly on the support forums I visit, although I suspect there is a bit of a correlation since the only times somebody generally posts on a computer help forum would be after they have problems with the support and guidance provided by a Brick & mortar store, so in many ways we only hear the bad stories. I imagine this is not atypical; you really only hear the bad news a lot of the time.
My reasoning on this is simple. It would be better than what I was working at before. At the very least, there will be electronics involved and I can apply my actual knowledge, rather then having it go to waste aside from my personal endeavours.

Ironically, the most promising (in terms of fit) out of these that I visited was the most unexpected; London Drugs. This is obviously not primarily about computers and electronics, however they do have a relatively large electronics section, and from what I heard while there they truly do know what they are talking about; the staff I overheard knew the specification limit for USB cables I have to say that was pretty impressive, given the common stereotype behind computer retail. And it was much better than Best Buy, which was a bit sour; as one may know, all these locations generally only allow applications on-line (which if you ask me is kind of stupid); as such I was merely given a card or paper thing that had a URL on it, but that URL is dead. Which makes sense since the paper was printed in 2003. Not a good impression.

Now that said that is also a good thing because I rather enjoy the self-indulgent honour of knowing I am smarter than my colleagues, even if I don’t express that too loudly. Careful posturing could mean quick promotions, but, there is the additional problem that I think much of that is commission and if that is the case I would probably be screwed. I’m not a salesman, I can lie, but not to intentionally deceive somebody in a way that only serves to benefit me. I couldn’t in good conscience recommend say Monster Cables over more expensive cables because I have yet to see any verifiable third party data justifying that extra cost. This goes for much of the other stores that would have this as well. The only saving grace might be that much of these places have service centers where techs repair the machines; I can say with some conviction that I would be, if anything, over-qualified for such a position, given my experience dealing with hardware, software, and a multitude of Operating Systems. It might not leverage my abilities with Programming languages, but that is something I can still develop on my own; eventually and with some luck I may find a position that fits with those skills as well, but right now it’s more or less me trying to desperately claw at least one more rung up the ladder to try to leverage the unique skills that I do have, rather then sitting at the bottom of the food chain. (metaphorically speaking).

The other alternative would be to try to leverage what I already have- this website, to be precise. it’s paid for the next several months, and I have had adsense on it for a while but that’s generated a grand total of I think 20 dollars over the last two years, which isn’t close to the money I spent on the site and it’s maintenance. I also added a donation button to the main page, but nobody has used it. Maybe it’s broken. I like to think my tools and applications are useful to somebody- aside (from myself, I use BCSearch rather frequently), but it’s starting to appear that that is not the case, and it’s rather discouraging. I don’t feel their quality would fetch a price tag even if I wanted it to, given the improvements to BASeBlock, I might be able to charge a reasonable price, but as a game it’s value is much diminished because plenty of other, much higher-quality games can be found via other distribution methods. Additionally, it would counter my previous assertions that I “would never charge” for it, making me something of a hypocrite, which to be fair I don’t care about. It’s that, or other ad networks, and I’m trying them but

The fact is, I’ve spent a fair lot of time working on all these applications, and While I can’t deny or dislike the fact that there is a measurable gain in aptitudes for development with each new project, the fact that none of them gives anything else back- neither in the form of a income nor in the manner of a simple “hey, thanks for this tool”, is extremely discouraging. The market for software is simply not the same as it once was, especially for games. I have tried to offer my abilities for software development and website design for freelance work, and I am cautiously hopeful that I may be able to offer my skills to those in need of them.

The basic problem, as my title ascertains, is that it can be difficult to properly get one’s foot in the door; How do you distinguish yourself and your skills from the multitude of others who are vying for the same positions but might not be as good a fit? Especially when your only interaction with a prospective employer is by way of online communication?

Posted By: BC_Programming
Last Edit: 31 Oct 2011 @ 12:17 PM

EmailPermalinkComments (0)
Tags
 29 Oct 2011 @ 7:37 PM 

Oftentimes, when comparing software products in the same market, you’ll see comparisons made where one product has a “pro” over another based entirely on the fact that it doesn’t cost money.

I’ve never understood this. It doesn’t make any sense, when you think about it. Sure- if the two products are extremely similar in form and function, then the comparison is valid- because all other things are equal within a margin. But the problem is, when it comes to free software, they typically don’t stack up to commercial ‘evil’ proprietary Applications.

For me, I learned this by way of text editors. This is a very simple type of application, and one would assume that out of the bajillions of free offerings, one of them would also be easy to use, and meet my needs. This was the case, but I was stymied by what I found in a lot of them.

For example, I have often seen free, Open Source applications, such as emacs, vi, etc touted as “the de facto text editor” application, and held up as some kind of standard.

I have to be brutally honest here- if those are some sort of standard, then that is a pretty damned low bar.

VI

How is this even something to consider for everyday text editing? It’s about on par with WordStar in terms of finger-contorting shortcuts, and it reminds me of edlin, except that it is powerful; That much I can see. But when I need to become a god-damned apprentice to a ancient VI master to learn how to use the software application in a way that fits my needs and need to “train” myself even longer in order to do so adeptly, I’ve lost. My time is not valueless . It doesn’t matter if the software was free, or if I can edit the source code. For one thing, I don’t try to judge software as if being Open Source automatically makes a piece of software sit on some sort of moral high-ground above others. I want my software to work and do what I need . That is it. software should be judged on it’s own merits, not on it’s license.

One thing I noticed with free text editors, was they all seemed to have too many features, poorly organized.

notepad++ is a fine application. But it’s menus are an absolute mess. Being Open Source doesn’t mean you can ignore basic UI Design guidelines. Same goes for the Graphical versions of Vi/Vim (gvim) and for emacs. I have no doubt these are powerful tools, leveraged by plenty of people worldwide. But I cannot personally justify the time investment it would take to learn these applications, when there are plenty of other applications that provide exactly the functionality I want in an easy to use package. Also, from what I’ve seen, becoming proficient in either emacs or vi turns you into a condescending douchebag. gedit is a fine application- it’s free. It has syntax highlighting, and it’s menus actually make some bloody sense, and yet time and time again I see Linux veterans saying it is only for “noobs”. I want to edit my text. That’s what it does. The problem they have is that they invested so much time in learning an overall badly designed (UI-wise) application, and now need to justify that time investment by putting down those people who avoided that time investment in the interest of getting things done.

The free software I found that met my needs at that time was Editpad Classic. This program was (and is) a closed source application. I didn’t, and still do not care. It did what I needed. Then, when my needs grew, I found the same vendor had a product called “Editpad Lite”, and I found that to be sufficient as well.

When I started this website, I needed a efficient way to upload and edit files to and from my webhost. Upon reading the descriptions of features for that same company’s paid offering of the same product (Editpad Pro) I found it seemed to fit my needs perfectly.

Ever thrifty, however, I decided to prowl the web for free software with similar features. Notepad++ had an FTP plugin, but it was unweildy, stubborn, and finicky. No other FTP capability seemed to match. So I purchased Editpad Pro, and I am still using Editpad Pro (still using version 6) to this day for this very capability. Being able to make quick changes to my news page, edit the PHP code of any file on my host, at the touch of a single GUI button is something that I value. Again, I value my time more then some self-inflated sense of pride. Sure, I could:

  1. download the appropriate file I want to edit using wget
  2. edit the file using a powerful program like vi or emacs
  3. use ftp to upload the file back to the server

But I cannot see any reason to do that. I can do all of those. But why are they disparate tasks? All I want to do is edit a file on my webhost. Why is it that an editor cannot edit a file simply because it happens to reside on a remote server? Why do I have to go through an arcane ritual of download->Edit->Return to sender just to edit a single file? And why do people seem to think this is in any way superior to the time-saving method of simply using an application that does this properly ?

Returning to Open Source; It’s fine! I have no problem with it at all. I plan to release BASeBlock’s source code under the BSD/MIT license. But I don’t feel that an application being open source gives it value. The fact that an application is Open Source, in fact, means absolutely nothing to me. I only care about whether it does what I want. I don’t care if it has the potential to do what I want if I make changes and recompile the program, because that means it’s not free at all, costing me time I could spend not editing somebody elses program. People often tout the “Open Source” label, as if it matters. It truly does not. In the majority of circumstances, you don’t need, and you do not sanely want to view and edit the source code. How many people can look at the source code for perl, and make sense of it- only the maintainers. That is their job; even if they volunteer, thats what they like to do. But Why would your average user want to recompile the perl interpreter? I can’t think of a good reason. Same for nearly any other Open Source application. I’ve never downloaded and used a Open Source application and thought “hmm, it’s missing this feature- I know, I’ll waste the next two weeks staying up until 2AM and adding it”. No, what I think is “Hmm, this software application is missing this feature, I know, I’ll stop wasting my time using it and find something that does”.

I think the best summary I can come up with is this- Being Free or Open Source does not excuse sub-par design and implementation; and, at least in my opinion, I don’t see a reason to use any application based entirely on it’s license or distribution method. It’s almost as arbitrary as using an application over another because one of them is written by a catholic and the other is written by a jew. It’s a arbitrary and irrelevant to the meat of the matter which is whether that software does what you need it to.

Posted By: BC_Programming
Last Edit: 29 Oct 2011 @ 07:39 PM

EmailPermalinkComments (0)
Tags
 28 Oct 2011 @ 6:32 PM 

Everybody knows war is hell. That hardly needs any introduction.

However, not many people are aware of a certain intergalactic struggle that earth recently recovered from. This war was against an alien race known as the… well, actually, nobody really asked their names. They were all “hey, earth, we’re on your turf killin your doods” and we were all “hey” and stuff. Anyway we didn’t really know what they were called.

So at any rate, Earth deployed an elite squad- well, actually, they deployed a single ship, code-named Zanac.

Now one wonders- “why just one ship?”

well, back in those days they had a “sprite limit” see, nobody could see more then about 8 (maybe it was 11, I forget) moving objects on at once. Zanac was a experimental machine that allowed the pilot to perceive more then 8 objects at once using a method known as image compositing. The Zanac ship pilot explains:

“It was a philosophical question, back in those days- nobody was even sure if the human mind or visual cortex could handle more then 8 objects in their view at once without instantly exploding, or at least without frame lag. This was rather troublesome for mormons, since they had lots of wives and kids and generally had very oversized families, it made getting family photos rather difficult, with the photographer having the wear an anti-sprite-limit suit and all. So anyway, in the war against these new alien oppressors, we deployed the ship, code-named “Zanac” that included a sprite-capacitor that absorbed sprite information and fed it to the user in smaller, more managable chunks. The first few test runs were pretty promising, excepting of course the pilots heads exploding and making quite a mess out of the ships upholstery. But we didn’t have time quite to finish the tech, we needed to fight the aliens. I do recall my cousin bob making a note in his logbook at the time, about how well his beans were growing in his garden, and I think I said something to the effect of “It’s cold outside” or something, to which he remarke…

Me:You were talking about the Zanac war, and why you only deployed a single ship at a time.

Pilot:Oh yes, I do apologize- so anyways, they sent me on this mission to infiltrate the Alien federation and destroy it- or something. The actual mission was sort of vague, in fact I believe it may have been a yorkshire pudding recipe jotted down on a napkin. In any case, I had no idea what I was in for, in fact at the time I did believe there was going to be a fleet of ships. However, I wasn’t aware of the newest feature they had installed on the ships. See, although the ships’ sprite capacitors could absorb sprites and allow the viewer to see them in more managable chunks, there was a sort of force feedback with any nearby disturbances in the sprite continuum, so there could only feasibly be a single ship in operation at once. When I first heard the news of this, I was rather heartbroken- I couldn’t drink milk for a good week after that.

So they sent me on my mission, Which was pretty crazy right from the start.

Me:How do you mean?

Pilot:Well, when I started this weird triangely thing swooped towards me, so I figured I’d shoot it, it being an alien vessel and all.

Me: And?

Pilot: Well it turned into a giant fucking smiley face! I mean, what the hell was going on? I mean, it was the 70′s but a giant smiley face? people, come on!

Me: Actually, we have to satellite footage of this smiley face- refer to “Exhibit Q”.

Pilot: So, there I am, in this state of the art machine, fighting a god damned giant smiley weird face. So I decide- well, I may as well shoot it right- I shoot it. And nothing happens!

Me: And this was hardly weak weaponry, I take it?

Pilot: it was state of the art- well, truly speaking it still needed me to find weird blue boxes and grab yellow spheres from inside them for whatever reaso…

Me: wait, what? How does that make sense? you grab yellow spheres from blue boxes, supposedly owned by the aliens, to power up your weapons? Why not just attach a god damned nuclear warhead and just kill them all at once.

Pilot: Ahh, the sprite limit is why. See, if you tried to use a nuclear device in those days, you’d end up spawning too many explosion sprites and cause lag fallout that wouldn’t really do that much damage.

Me: Ok, so you shot the smiley face-

Pilot: I had to shoot it several times- and you know what happened? the damn thing turned orange/red. Like it was teasing me, saying “yep, you hit me, but I’m invincible”

Me: and what weapon were you using for this?

Pilot: for that I was using the blue circlely thing attachment, the silly string main weapon was pretty useless, it went right through them. So then I decided that I was done for, and set a kamikaze course into the smiley face, intent on wiping that god damned smirk off their face- and you know what happened? moment I touched him, he dissapeared!

Me: you’re saying he? How do you know?

Pilot: I was pointed straight up between his legs, He was like a bloody smurf… well, until he turned red, then he was a red smurf. Anyway, so there I am- dumbfounded. Already sure I had seen the strangest thing ever- but then I saw the aliens secret weapon coming right towards me- two concentric circles! It was awful, the pure horror of it all is indescribable.

Me: I can imagine.

Pilot: So there I was, ducking and dodging… shooting my silly string… and then I see an odd glass thing coming up on the horizon- so I naturally try to shoot over top of it at an enemy. And the damned shot hits the glass thing even though it was about a million feet above it in the air. Quite odd. So I continued shooting, and eventually this strange transparent number appeared. So, I of course grabbed it.

me: Wait, why the of course?

Pilot: Well, I’m not sure, it just looked inviting. I mean, can you think of a single time where a number in a square looks dangerous to you? I sure can’t. I can think of times that twigs looked rather menacing from the distance due to the way the light and shadow plays with them, and how our perceptions cause us to recognize patterns and objects that aren’t necessarily there.

Me: ok, well, carry on

Pilot: So there I am, I grab this number thing- and nothing happens.

Me: Were you expecting something to happen?

Pilot: Well, yeah, I guess so.

Me: OK, carry on

Pilot: so, anyway, I keep fighting, and I go to use my blue swirly thing attachment, and it is all purple and fuzzy and downright weird looking.

Me: oh, so something did happen.

Pilot: Yes, most importantly, it cut through everything like a sharp knife through goat entrails.

Me: Sounds useful.

Pilot: Hell yeah it was useful, in a world with giant blue circular smurfs, you need all the help you can get.

Posted By: BC_Programming
Last Edit: 28 Oct 2011 @ 06:32 PM

EmailPermalinkComments (0)
Tags
Categories: Games, Humour
 25 Oct 2011 @ 11:13 AM 

Serialization has always been a thorn in my side. In VB6. in Python, in C#. The biggest annoyance is that most applications consist of somewhat complex object relationships and heirarchy’s, different race conditions about values that need to be initialized first, and who knows what else, all meticulously built during the course of your application, which you eventually need to save to persistent storage.

All applications can benefit from some form of persistence, even if it is only in the form of settings. As a result most Object Oriented languages have a way to allow you to “serialize” an object to a stream. In .NET, this is provided by way of the [Serializable] Attribute and the ISerializable interface, which allows you to customize the serialization somewhat.

What is interesting, at least in the case of .NET object serialization, is that you can choose one of a number of “Formatters” which will take the data acquired by the Serialization support framework and format it to one of any number of formats. Personally, I have only used The BinaryFormatter class, which will allow to write or read a serialized stream to or from a stream.

So, what use is serialization? Well, aside from the obvious ability to save the stream to a file, you can also use it in other ways. For example, since you can send the data across any stream, you could send it through a network stream, and on the other end another instance of your application would be able to rebuild the exact same object. Another usage I’ve found is for usage on the system clipboard; serialize what is being copied, plop it on the clipboard with your own format specifier, and then when you want to see if you can paste check if that specifier exists and when pasting deserialize that data from the clipboard, and you’ve got the objects that need to be pasted, which will be “new” objects separate from those copied (if they are still present).

Copying a object graph to stream, however, has a bit of boilerplate; you need to create the BinaryFormatter(), serialize, and the opposite in the other direction.

However, with generics, this task can be made a tad easier:

  1.  
  2.     public static void ObjectToStream<T>(T saveme, Stream outstream) where T : ISerializable
  3.     {
  4.  
  5.         BinaryFormatter bf = new BinaryFormatter();
  6.         using(GZipStream gz = new GZipStream(outstream,CompressionMode.Compress))
  7.         {
  8.             bf.Serialize(gz, saveme);
  9.  
  10.  
  11.  
  12.         }
  13.    }
  14.  
  15.    public static T StreamToObject<T>(Stream instream) where T : ISerializable
  16.         {
  17.             BinaryFormatter bf = new BinaryFormatter();
  18.             using(GZipStream gz = new GZipStream(instream,CompressionMode.Decompress))
  19.             {
  20.  
  21.                 return (T)bf.Deserialize(gz);
  22.  
  23.             }
  24.  
  25.  
  26.  
  27.         }
  28.  

Two static methods that serve to input and output a object whose type implements ISerializable to and from a given stream. It also uses the GZipStream to compress and decompress that stream to try to save space.

Extending this directly to files is rather easy as well:

  1.  
  2. public static T ObjectFromFile<T>(String filename)  where T : ISerializable
  3. {
  4.    //open the file.
  5.    T acquireobject;
  6.    FileStream fstream = new FileStream(filename,FileMode.Open);
  7.    //input from the stream…
  8.    acquireobject = StreamToObject(filename);
  9.    fstream.Close();
  10. }
  11. public static ObjectToFile<T>(String filename,T Objectsave) where T:ISerializable
  12. {
  13.   //open the file
  14.   FileStream fstream = new FileStream(filename,FileMode.Create);
  15.   ObjectToStream(fstream,Objectsave);
  16.   fstream.Close();
  17. }
  18.  

And huzzah! suddenly you can read and write objects to and from a file with ease.

One might even venture to create extension methods on the Stream class that provide this sort of functionality for input and output of any object supporting ISerializable, like the following, which assumes the previous routines are within a ‘ObjectStreaming’ class definition.

  1.  
  2.  public static class StreamExtensions
  3.     {
  4.  
  5.         public static void WriteObject<T>(this Stream str,T writeobj) where T:ISerializable
  6.         {
  7.             ObjectStreaming.ObjectToStream(writeobj, str);
  8.            
  9.  
  10.  
  11.         }
  12.         public static T ReadObject<T>(this Stream str) where T : ISerializable
  13.         {
  14.  
  15.             return ObjectStreaming.StreamToObject <t> (str);
  16.  
  17.         }
  18.  
  19.     }
  20.  </t>  

And there you have it, suddenly you can write objects directly to any stream, using methods of that stream Object, and that saved data is automatically GZipped for you as well.

This Does, however, present it’s own issues. If there is an error anywhere in your serialization code, using a “filter” type of stream, such as the GZipStream, may cause difficult to trace errors that cause exceptions to fire from the GZipStream itself, most notably “unexpected end of stream” type errors. You can usually trace these in Visual Studio by checking “thrown” on System.Runtime.Serialization.SerializationException in the Debug->Exceptions dialog, and allowing the data to save to a normal stream (that is, directly to a filestream or memory stream rather than by way of the GZipStream). This will allow you to determine where you made the mistake elsewhere. Typically, in my experience, it’s usually something as innocent as a misspelling, or even inconsistent capitalization.

Posted By: BC_Programming
Last Edit: 25 Oct 2011 @ 11:18 AM

EmailPermalinkComments (0)
Tags
 23 Sep 2011 @ 3:31 AM 

So, I have an ancient laptop. A Toshiba Satellite 440CDX. I covered it in a youtube video:

Basically, for modern purposes, it’s practically useless. However, it could still be usable in some sense, I feel. So the first step was to get it network connected- it could, for example, server as a file server, or something.

The laptop is old enough- and I guess wasn’t the right model- that it doesn’t have a built-in Ethernet port. I don’t think it was typical in those days to have one, anyway. The only item that appears in the network adapters list of Device manager is the infrared port (remember those?). However, thankfully, it supports Cardbus. So I hopped on ebay and bought some cheap chinese thing for like 4 bucks. it took like 3 weeks to arrive but it made it.

I originally intended to create an “opening” video, where I set it up. I did, but I made an ass of myself by trying to plug the cardbus card in the Expresscard slot of my newer laptop for “testing” which of course didn’t work. Plugging it into the 440CDX- nothing happened. Was it defective? Wouldn’t be surprising, given the price. I perservered, because I guess I had nothing better to do.

I ended up in the laptops CMOS setup, and on a whim I toggled some PC-Card mode from “PCIC-compatible” to “Cardbus/16″ or something.

Upon rebooting, I plugged in the PC-Card… and Poof! Found new hardware appeared.

And thus began my trek to find it’s driver. The CD that came with the device was utterly useless since it was for a completely different component (judging from the INF files, a PC-card for serial/parallel ports, or something). What ended up happening, was I allowed the device to “fail” to install, and used Everest Home, at which point I discovered it was a Realtek chipset. This gave me something to work with. I first tried the closest model in the win98 database, which of course didn’t work, so I downloaded the appropriate driver. As I speak, it is installing now

. I needed to copy the contents of the Windows 98 CD to my flash drive. And I now realize that I used the Windows 98 First Edition disk contents rather than SE, so I’ll have to start the entire shebang again unfortunately. I ought to point out that the flash drive usage is supplemented by the incredibly awesome “unofficial service pack” for windows 98- that can be found here , and adds Generic Mass Storage drivers (whereas normally you would need a special driver for nearly every different drive you want to use). As well as a plethora of fixes/tweaks that make the Operating system as stable as possible. Which is very useful for systems that cannot run a newer OS.

Having now restarted the process with the appropriate(Win98SE) files, with any luck it will soon have network connectivity.

At which point I can forget about the entire thing and toss it back in a closet. But not after seeing how laughable the net is with IE 6 (or possibly 5.5). I might search for a more lightweight alternative but a Pentium 133 machine just isn’t cut out for the contents of the net today. I can’t imagine how terrible this site looks on it. At the very least I open up the possibility to use the laptop as a file server or something. Which would be pointless since it’s HD is tiny. SO some might ask “what was the point”? Well, actually, I did gain something so far:

I’ve now learned more about and actually used PC-Card type peripherals. While I was well aware of the various type I,II, III, etc designations, I was unclear as to the specific differences (PCMCIA on older machines being basically a portable ISA, PC-Card being PCI, and Express-Card being PCI-E). my ignorance shown quite completely by my attempts to plug a cardbus card into a expresscard slot. That, and I’ve now actually (well, with any luck) gotten one working, so there is that. The experience, I guess is the motivating factor. Also, it was totally worth it to hear the cool noise the laptop makes when you remove a PC-Card that it knows about. It’s like a PC-speaker version of the XP/Vista/7 “Device removed” sound. Hilarious, and fairly sure the BIOS is doing it too, which means that it’s really coming from the heart of the machine. Touching.

If the CD-ROM Drive of the machine still worked, I’d probably be testing out lightweight OSS Operating Systems, but unless I shell out 80 bucks for a new CD-ROM for the thing (haha, fat chance) that simply is not going to happen.

Posted By: BC_Programming
Last Edit: 23 Sep 2011 @ 03:31 AM

EmailPermalinkComments (0)
Tags
Categories: Programming
 16 Aug 2011 @ 4:55 AM 

When choosing a font for any situation, you must consider the context of the font as well as it’s readability. Choosing a font for programming work is no exception. However, for the most part, programming fonts are blocky, and rigid; much like the source code  they are used to display. Traditionally, Monospaced fonts work best; I know people who use MS Sans Serif and it drives me nuts.

 

I’ll skip the prologue involving the TX-1 and PDP-1, PDP-7, and so forth. Let’s start with the first Personal Computer- the IBM PC. Naturally, this machine didn’t really have a concept of “fonts”. usually, any editing of text you would do- programming or otherwise- was done using the “System” font. This actually varied between systems. Typically, the font was actually stored in the video card, so different video cards could often yield different results.

To demonstrate a few select Programming fonts I have encountered in my internet travels, I will use Visual Studio 2008, and change the font, and take a screenshot of a small segment of code that I feel is “busy” enough.

 

System

Fig 1. A Typical System Font

Fig 1 shows this sample using the “System” Font. A few issues stick out for this font; first, it’s a tad too bold. It feels too “heavy” for use today, compared to other fonts. Also, it’s rather large; it  takes up an unnecessary amount of space. For the most part, nobody uses the System font for… well, anything, actually.

 FixedSys

Fig 2. FixedSys

Another “System” Font, FixedSys looks similar to System, but is different in a few ways. This font, shown in Fig. 2, differs so slightly from System; In fact, I can’t even see the differences, now. I did notice a change when I switched between System and FixedSys in the editor, though. Largely, whether one chooses System or FixedSys makes no difference; there are other, better fonts to choose from on any modern system.

Courier

Fig 3. Courier Font

Courier was another popular font at the time for programming, and other text-oriented tasks. Courier is basically the template “Typewriter” font. This brings the advantage (for most programming fonts) that it is monospaced. Typically, Courier is a “fixed” font. What this means, is that it isn’t scalable. This has good points and bad points; a good thing about this is that every font size is designed by hand; but the downside is, because of that there are usually fewer sizes to choose from. One issue with Courier is that the 0 (zero) and the O are quite similar, differing only in that the O is slightly thicker than the 0 (or the 0 is thinner than the O, depending on your perspective) This can make deciphering source code slightly more difficult. As does the similarities between the 1 (one) and l (lower case l); the number has a mere 3 pixels added on to what the l has! In an emergency, this font will do in a pinch, but I think it’s hour of glory has passed.

Courier New

Fig 3: Courier New

At some point, a newer, TrueType Courier font was created; being a TrueType font meant that the font could be resized to any size at all, on the fly. Engineers, however, were stuck on the name. A crack team of highly skilled engineers,  literature professors, and English majors were assembled, and they worked, tirelessly, for weeks trying to think of a name that says both “Courier”, and “New”. Eventually, they made a breakthrough; the name for this new font? Courier New, as depicted above in Fig 3.

Courier New was the staple font for basic text editors and Programming tools on Windows for years. It carries over a lot of the flaws of it’s predecessor, such as having easily confused 0′s and zeroes. They even made the 1 (one) and  lower-case L situation more difficult by making the net difference between them a single pixel. Overall, the font was nothing more than a true-typed version of it’s predecessor, which in and of itself was useful, since it allowed for using any size you could imagine. A contender appeared about the time of Windows 2000, This font, designed for the console, also makes a good Programming font, because it meets all the same requirements; Lucida Console.

 

 Lucida Console

Fig 4:Lucida Console

Lucida Console was born from the marriage between a Typewriter and an insect called the 7-year Lucida, which every seven years emerges from it’s burrow and showers random passerby with luck it stored in it’s cocoon. Lucida Console was made fun of often in the schoolyard, being forced to play with fonts like Comic Sans. The font isn’t terrible, but, it makes the worst mistake possible for a programming font (which debatably it isn’t to begin with, judging from it’s name) this is that it makes the 0 (zero) and capital O look identical. 1 and lower-case l still look different, thankfully, but having O and zero looking the same for a programming font is sort of like running to a halloween party without a costume and then saying that you are dressed as Steve Ballmer when you notice how much you had sweat on the way there. That is, it doesn’t matter how cool you are or look otherwise, you are still sweaty and possibly sticky and are therefore in the eyes of other guests best avoided.

Consolas

Fig. 5:Consolas

With the release of Vista, Microsoft got MonoType to re-envision many fonts; Consolas is the monospaced font (out of many fonts) that resulted from this. Basically it is designed to replace Courier New. Additionally, Consolas is better tuned to take advantage of ClearType. Also, some of the mistakes of Courier New were resolved; the zero is now clearly a zero, signified with a slash. the one and lowercase-l are still a tad similar, but Braces ({}) are a  bit more clear, as well. All around, probably my favourite programming font.

 Inconsolata

Fig. 6:Inconsolata

Unfortunately, Consolas comes with Windows Vista; you can install it on XP, but since it is tuned for ClearType it doesn’t always look quite right on Linux. Thankfully, there is an alternative for Linux, called Inconsolata . However, the problem is that Inconsolata appears to be tuned for *nix font smoothing, and looks a bit funky on Windows (even with cleartype off), as you can see in Fig 6. Obviously this isn’t so bad since for the most part Inconsolata is an attempt to bring Consolas to the Linux desktop anyway.

Because, from my experience, you can’t seem to get Inconsolata working properly on Windows (I’m probably doing something wrong, though) The picture does not do it justice; for all intents and purposes, it is pretty much the same thing as Consolas. If you program on a Linux/BSD machine in a graphical environment, I would recommend this font highly.

 

Proggy Fonts

Fig 7: Proggy Clean

Inconsolata is a free font; It is, however, hardly the only one of it’s kind. Dozens upon dozens of free fonts are available, for any purpose, including writing source code. Some fonts go that extra step and are explicitly designed to be used for editing source code. One such font in that category are the Proggy Fonts . The Proggy fonts come in several varieties; but they all hold to one tenet: to be as readable as possible at small sizes. This is the sort of idea I can agree with! Just look at Fig 7. gorgeous… nice, clean lines… a bit small though, if you are using a high-resolution. I’ve set my text editors to use this font.

Anonymous

 

Fig 8: Anonymous

Anonymous is an interesting font, mostly because it’s name is so silly. For me it seems like a thinner, monospaced version of Helvetica Or Arial; but, it does use serifs on a handful  of letters, such as Z’s, lower case L and 1. Anonymous crosses the zeroes, as well; making it easy to distinguish zeroes and the letter O. The slash extends outside the character itself, making it sort of look like a pictographic depiction of Uranus. Over all, another excellent font worth considering.

Envy Code R

 

Envy Code R

Envy Code R is another excellent programming font. The zeroes are slashed with a line that is more horizontal then usual, and the lowercase-L’s, ones, and I’s are all easily distinguished from one another. Another advantage is that the font scales rather well both to small sizes as well as large ones. The braces,brackets, and greater than and less than signs are all centered horizontally as well as vertically within the character box, which can be desirable. Like many of the other listed fonts, it appears to have pretty good support for unicode, as well.

 

There are many other fonts- I may make revisions and/or post new entries for them as I collect them together and  get appropriate screenshots.

Posted By: BC_Programming
Last Edit: 16 Aug 2011 @ 04:55 AM

EmailPermalinkComments (3)
Tags
Categories: Programming
 01 Aug 2011 @ 11:44 AM 

Three common criticisms of MLP:FIM are that it is “girly”, “gay” and/or “childish”. Here is my rebuttal to these three perceptions.

 

girly

Well, there certainly isn’t a hard argument one can make against it- after all, it’s not filled with macho robots or explosions or superheroes with superpowers. Well, I guess it sort of has the last one but that is something of a stretch. For the most part, all the “girly” ness can easily be attributed to corporate meddling; after all, they weren’t trying to make a gender-neutral television show, they were targeting a specific market at the time to try to sell their wares. The difference, I think, between the earlier version and the new version (which I base on assumptions about the first version from the 80′s because there is no way in hell I’m going to be watching those, low expectations or otherwise) will likely be that this newer version basically tries to skin the limits of the limitations they put on, and some bits easily slip under the radar; whereas the earlier ones probably didn’t need limitations set at all and they (the producers/animators/etc) went to create a show designed specifically for selling the toys, possibly with very little pride in their work. Now, naturally, it’s not for everybody. The ponies themselves are usually coloured in various hues such as purple, pink, and pastels that are often associated with the female gender. A better question is why that is the case, but I digress. They are however, animated fucking beautifully; the realistic animation of their manes during movement left me flabberghasted that the bloody thing was done in flash. Having experienced the creation of flash videos and realizing just how much work it is to add some minute, and innocuous details made me feel that there was a lot of pride on the part of the creators; after all, they could have easily gotten away with just moving the symbol up and down, say, when Rainbow dash or another pegasus pony is hovering, but they took the time, in each instance, the animate their manes and tail reacting to their oscillation; same with walking, running, moving their head. I can still watch it now and notice such little nuances and am still blown away by the expertise that went into it. Yes, there are some pithy bits like the letters at the end and a few tidbits here and there, but personally I like the contrast that sort of thing can provide with my other favourite shows, compare, for example, Charles Lister from Red Dwarf With Twilight Sparkle.

gay

Freddie Mercury was a Homosexual. That doesn’t mean Queen’s music isn’t fucking awesome, though. Well, unless you are a homophobe, I suppose. But really, I’m not really sure what this could possibly mean. I think maybe people just like the alliterative with girly so plop this in there as well with no real basis.

childish

Now, I will contend that you MAY have something of a point here, given that the show is, obviously, intended for that demographic. But I can’t help but wonder, personally, why they would pay such close attention to little details like the manes/tails swaying in response to movement/wind/etc and so forth, when clearly their “target demographic” isn’t going to nitpick that type of thing. Again, they take pride in their work, and this extends to the writers, who try to make things appeal to nearly any audience. In particular the various puns that wouldn’t be “got” by most in the “childish “bracket, such as the “nightmare moon”/”mare in the moon” which works not only because mare is the name for a female horse but also because mare is the singular latin word for “sea” and is used to describe the patches, or “maria” of plains on the moon. Hell I didn’t even get the equine->Equestria reference at all until a few days ago. I also rather liked the exploration of the ideas of Critical Thinking in the “Bridle Gossip” episode, even if they sort of took a backwards step in that regard with “Feeling Pinkie Keen”, which is my least favourite episode, Aesop-wise. Have I personally learned anything from it? Well, aside from the fact that book titles with long, alliterative and possibly redundant names are kind of funny, no. But compared to the cartoons I would watch as a kid, I feel this one is better done. Even if the theme song isn’t as catchy as Duck Tales, it makes up for it by not being STUCK IN YOUR HEAD AT THE WORST TIMES. Like, say you are at the altar and the minister says “And do you, XXX take this woman to be your lawfully wedded wife”, would you rather accidentally blurt out “DUCK TALES WOOHOO” or, “I used to wonder what love could be, until you shared it’s magic with me” etc. I mean, see, the second one might actually pass for a vow. IT COULD SAVE YOUR MARRIAGE.

Posted By: BC_Programming
Last Edit: 01 Aug 2011 @ 11:44 AM

EmailPermalinkComments (0)
Tags
Categories: Programming
 08 Jun 2011 @ 7:14 AM 

On most modern keyboards, manufacturers have decided to add an assortment of random keys, sometimes above the Function keys, sometimes on the left or right. For the most part, these are called “Media” keys. They often posess play/pause, skip next/previous, volume controls, etc. Sensible.

My Wireless keyboard has these. I don’t use it because- well, I don’t exactly have a magic battery maker machine, the Fome/End/Insert keys are configured “wrong” (well actually the way I’m used to is wrong, but I prefer to absolve the confusion by avoid it entirely for now, it just causes headaches while editing source code). that combined with the seeming inconsistency in how well it works have caused me to switch back to my wireless-500. Not to mention the fact that it gobbles up batteries.

 

Now with the MS wireless-500 keyboard, it has media keys as well. Play/Pause, Volume Up/Down, Mute. “My Computer” “Calculator” favourites, home, and E-mail.

 

My question here is why they are called “media” keys? I mean, I don’t have Skip Next/previous, which I would find MOST useful, but I have a bunch of other keys. They shouldn’t be called “Media” keys, they should be called “start random shit” keys. Because, you know, I start calculator sooo often I simply need to have it available at the press of a button. And I start thunderbird soo often I simply need it with a single keypress; even though if I started it often I could either pin it to the taskbar, put it on the desktop, or put it in startup. Not to mention that Vista/7 will keep applications that are started frequently right there on the start menu, so if I started thunderbird frequently, it would only be two keystrokes. Of course, that is more than the one keystroke to press the button marked with a envelope- but It just seems kind of silly to have these types of controls for other actions that can be done with only the keyboard, and yet leave out stuff like volume control, which are a defined media “key” but are suspiciously absent from this keyboard. Who seriously uses these keys? Am I wrong to assume they are, or at least, were, some silly marketing gimmick for when people thought the more keys a keyboard had the better it was?

Posted By: BC_Programming
Last Edit: 08 Jun 2011 @ 07:14 AM

EmailPermalinkComments (0)
Tags
Categories: Programming

 Last 50 Posts
 Back
Change Theme...
  • Users » 737
  • Posts/Pages » 112
  • Comments » 38
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

PP



    No Child Pages.

Windows optimization tips



    No Child Pages.