somethings from codeland

Sunday, February 08, 2009

Ping.fm is kinda cool

Monday, February 02, 2009

Unlimited Terminal Services with Easier licensing schema?!

It's been a while since I've watched Hak5 (episode 423), but I figured I would throw it on in the background while finishing some stuff last night. It turned out to be some pretty insightful background noise to work to.

I've had to deal with the headache that surrounds Windows Terminal Services for quite some time; enter XP Unlimited (link). Terminal Services has always been a pain in the butt to both administrate the licensing associated with all the scaling of new users as well as the technical end (well maybe the tech end isn't so bad if you know what your doing).

Well XP Unlimited allows complete unlimited Terminal Services access without requiring a Windows Server 2003 OS installed on a bulky server. (although depending on what you plan on doing over the TS desktop this might still be recommended) So you no longer have to worry about licensing complications, it will run on a cheaper OS (with unlimited and unrestricted access), and also has its own management interface that wraps everything up nicely.

http://www.xpunlimited.com/index.html

link to their white paper

Thursday, January 29, 2009

windows machine is back

This thing is starting to become something of a Frankenstein that needs to be put out of its missery.  We ended up moving our wireless router to another room and my desktop has only every used its gigabit wired network connection for internet access.  (not that I've ever really put all that potential to real use)

I've been without my big screen for almost a whole two months.  (apparently samsung syncmaster 245bw's don't play nice with MacBooks)  So I've been making do with the small screen on the laptop getting online wherever I can manage.  Its been nice, but I was at Wal-Mart today and decided it was time to get my machine back online. ('Cause I mean what's the point in having it occupy 1/3 of my deskspace if I can't use it right?)

The big screen is nice, but I don't really miss Windows.  Guess at least I've got my zombie download machine back anyways....

Now if I could just get this ceiling fan to stop flickering sporadically.

Thursday, January 22, 2009

Notes on genomics internet research

Some Videos:
Barry Schuler: An introduction to genomics - http://www.ted.com/index.php/talks /barry_schuler_genomics_101.html

Juan Enriquez: Decoding the future with genomic - http://www.youtube.com/watch?v=5KdOPY1Iqiw
"A single genomics company outputs more data in a single month than is held in the US Library of Congress"

Craig Venter: A voyage of DNA, genes and the sea - http://www.youtube.com/watch?v=E5X6Qy772YU

One thing that is really interesting about the first two videos is the analogy to computers that both Schuler and Enriquez use to explain the DNA involvement in genomics. Schuler takes it one step further to say that modifying the software also modifies the hardware. I find this concept very intriguing and confirms my interest in this field. I'm very excited that I have changed my undergrad major and plan on going into bioinformatics.

Just when I thought I was done

So I don't have to worry about the GAC for the Xceed components, but MapInfo used GAC assemblies to distribute the MapXtreme application we use to display maps inside our C#.Net app.

So here are a few more articles I've found in my quest for knowledge...
http://support.microsoft.com/default.aspx?scid=kb;en-us;315682

CodeProject summary of GAC concepts - http://www.codeproject.com/KB/dotnet/demystifygac.aspx?df=100&forumid=15829&exp=0&select=856234

How to get a dll from the GAC - http://bloggingabout.net/blogs/wellink/archive/2006/07/12/12947.aspx

Registering a

one of those lol moments

Turns out the easiest way to work with managed dll's is to not register and access them through GAC, but rather directly. This cuts out a huge headache of dealing with tying into the OS.

After all the research I've done, I'm kinda glad to be rid of it...

Playing with assemblies in the GAC

There's a tool in the .Net Framework SDK for messing with .Net's Global Assembly Cache called gacutil.exe. This tool allows you to get information about existing registered assemblies in the cache, register new assemblies, etc...
http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx

.Net 3.5 SP1 framework download (for offline installation) - http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe

Wednesday, January 21, 2009

NSIS color coding for TextMate

Color coding for NSIS in TextMate would rock right about now...

silently installing .Net 3.5

Very good info about the installation requirements of .Net 3.5 - http://www.msfn.org/board/NET-Framework-35-Silent-Installer-t108344.html

reasons why the .Net 3.5 framework installer might want to still go out to the web - http://blogs.msdn.com/astebner/archive/2008/07/17/8745415.aspx

.Net 3.5 offline installer - http://download.microsoft.com/download/6/0/f/60fc5854-3cb8-4892-b6db-bd4f42510f28/dotnetfx35.exe

According to this forum listing you should be able to run a local copy of the offline .Net 3.5 framework installation from the command line with the /q for a silent installation. In testing this it looks like its good to go. I've been working with this line in my .Net installer component for past NSIS installations (with older .Net runtime installations):
ExecWait '$TEMP\dotnetfx.exe /q /c:"install /q"'

so on the regular command line this would look more like:
>dotnetfx35.exe /q /c:/"install /q"

With the older .net installation it was easy just to store it inside of the setup.exe I was compiling, extract it to the temp dir, and run it from there. We've been using .net 2.0 with this approach, when the .net installation was a mere 20mb. Now the offline .Net 3.5 sp1 release is closer to 200mb. So storing the .net installation in the setup.exe only adds time to the installation and wastes considerably more hard drive space on the target deployment machine for installation purposes only (once installed, the .net installation doesn't need to remain on the machine).

So I'll be revising a couple of lines in my custom NSIS .Net install module.

GAC: Global Assembly Cache

Using NSIS, I'm writing an installer for a .Net based application along with third party software that the application depends on. We're going to registering some managed .Net .dll's into the GAC (or the Global Assembly Cache).

Since I've never done this before I did a little bit of research. Suffice it to say Wikipedia was a more helpful resource than Microsoft's Knowledge base in getting started.
http://en.wikipedia.org/wiki/Global_Assembly_Cache

Let the fun begin!

Monday, January 19, 2009

vista accessing remote shares

I worked on a Vista machine today that was not able to access remote shares, and so couldn't map network drives, etc. It was able to get online, rdp to the server, and perform other network based tasks.

When trying to map the drive out over the command line, an error 67 would return. When trying to access the share from Windows Explorer, I would get an unspecified error number. (probably would have been nicer to receive an error that a service responsible for this functionality was not accessible.

What ended up being the problem was that the Computer Browser Windows service was not able to start because it depends on the Workstation Windows service that for some reason had been disabled.

Sunday, January 18, 2009

setting up email on the iPhone

This is definitely something that was easier to do on the blackberry. Maybe its partly my servers using non-standard ports, but all my blackberry needed was my email address and password and it set itself up completely for all of my email accounts.

Apple needs to work on this if they want to keep serious email people happy.

Thursday, January 15, 2009

resetting TCP/IP network stack

http://www.zimbio.com/Windows+Vista/articles/43/Reinstall+Reset+TCP+IP+Internet+Protocol+Windows

backup the registry!

netsh int ip reset [ c:\tcp_stack_reset ]



  • Go to the Start Menu, type cmd and right click or (Ctrl + Shift and hit Enter), and select "Run As Administrator"
  • Type the following commands, each followed by pressing enter.
    • ipconfig /flushdns
    • nbtstat -R
    • nbtstat -RR
    • netsh int reset all
    • netsh int ip reset
    • netsh winsock reset
Or another helpful command:
  • netsh interface tcp set global autotuninglevel=disabled
Hope this might solve any problems you might have with Vista's new networking stack.


\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

and the Key is "LmCompatibilityLevel" - Change the default value 3 to 1 then reboot.

Sunday, January 11, 2009

school is starting back

I’m wondering if I can get all of my books for class in e-book form this semester. Instead of selling my books back to the store I usually end up selling them to my friends. Needless to say, I never really make anything back at the end of the semester.

I got an email from my biology professor talking about the e-book format that’s available for his class. I like the idea of being able to search for things in the book faster, but they only sell a crazy DRM copy that can only be used on up to 2 computers. I don’t plan on anything happening to where that would be a problem, but I would much rather purchase a PDF that I could use and do with however I want. (I’m not going to have this same laptop forever, right)

http://store.vitalsource.com/show/9780072916904

Friday, January 02, 2009

The 2009 Gameplan

I found a job board among other things on scientistsolutions.com. It got me to thinking about what I need to be doing academically in order to be able to jump into bioinformatics- and genomics- type internships this next summer.

There are a couple of interesting things I noticed:
* There are upper age limits for applicants; so everyone’s looking for young minds out of grad school. This could be because they want fresh ideas, or because they’re cheaper than the older guys with more experience.
* Education is highly respected in the scientific industry. This is relatively new to me because the tech industry is almost the exact opposite in my experience. Its always been in this order: how much do you cost, can you actually do the work. (most times education, if even brought up, has always been a 3rd or 4th tier hiring objective)

There are plenty of postings for technically inclined folks that are interested in learning the biology aspects of projects (they are still professional level positions, and not internships). Most of the posts are looking for:

Under the technical realm:
* strong c/c++ background (large completed c++ projects seemed to be huge plus)
* maybe some java
* perl
* Linux and Windows environment programming
strong relational DBMS (database management systems) skills: MySQL and Oracle are both popular choices.

Under the scientific realm:
*knowledge of different forms of life: bacteria, fungi, protists, protazoa, metazoa, etc
* Experience with Math/Science tools like Mathematica

Educational Requirements:
* Masters or Doctorate in Biology/Computational Sciences/Bioinformatics


So to do all of this I need to:

Under the technical realm:
* start contributing to a large science bound c++ project (something with genomics would be ideal)
* start scripting in scripting languages more for mac/linux tasks. Perl and Python come to mind here.

Under the scientific realm:
* start reading a whole hell of a lot of biological books (learn what the hell these guys are talking about)
* Boost my math skills (seriously need to audit another calculus course and start thinking math)
* Learn how to use Mathematica and other Math/Science related programs. (Probably noteworthy to mention that I need to find out what these programs are)

Educational aspects:
* Lock down in a game plan for a fast-paced but still valuable undergraduate degree in Biology/Microbiology (something where I can experience a broad spectrum before I lock myself into something specific)
* start checking out schools with strong ongoing research projects/grants in Bioinformatics related fields.
* Figure out something with the biology department as far as volunteering on internal research projects.
* Find someone that can offer some advice on where they’re at and where they see things going in the future.


This means that I’m going to be a very busy/broke person this year. (not going to have as much time to work for money this go-around) Who knows, maybe I’ll get lucky and come into some money for doing some of this.

Browser wars round X???

Not sure how many times we've been through this now, but the browser wars are heating up again. Google is leading the charge this time with its popular Gmail service dropping support for IE 6 and recommending users make the switch over to Firefox or Google's Chrome browser.

http://news.cnet.com/8301-13505_3-10130301-16.html?part=rss&tag=feed&subj=TheOpenRoad

It looks like IE is starting to lose its grasp on the browser dominance battle front. According to Net Applications (someone I've never heard of but seems to be entertaining a large audience) Firefox is gaining well over 20% of the market, while IE has dropped to under 70% market share. While IE is still ahead by a large gap, it has taken serious damage from what used to be a very commanding 95% browser market share dominance.

http://www.readwriteweb.com/archives/firefox_tops_20_in_november_ie_under_70.php

One way or the other it's not looking good for Microsoft. They've lost a lot of brand reputation with Vista, and Apple seems to be sweeping everyone up that's looking for something newer than XP. (not that I don't love my XP machines out there)

Since I've made the switch to my MacBook Pro a couple of months ago, I've since learned to work in different, sometimes more efficient, ways. Getting used to working with something new has opened my eyes to working with Linux a little more for desktop purposes. (that along with the rise in Linux based netbooks that I'm sure to run into support issues for in the near future).

In short, IE isn't the only browser to satisfy anymore and I share in the agony with all those web developers tasked with supporting complex cross-browser compatible designs... Even with all of this, 2009 should prove to be an interesting year with the tech industry twisted, turned, and wrung out to get every last drop of innovation into users' hands.

Thursday, January 01, 2009

javascript fun

I'm going to update the screenshots with what I've found here:
http://www.panic.com/transmit/

(scroll to the bottom of the page and click on the screenshot images for the javascript effect)

I'm already doing something very similar, but I think the zoom effect does a little better visually.

Science on marijuana

Have to start with the disclaimer: I haven't smoked anything THC related since some experimental highschool days, and I in no way advocate the use of any illegal substances.

Well now that we got that outta the way.... I've been reading on my newly subscribed New Scientist about the perspective of the scientific community on the world's most widely used illicit drug. No doubt that it is harmful to heavy users, studies have shown that it is actually less harmful than smoking cigarettes or drinking alcohol in comparative quantities. Moreover, since its ban Marijuana's potency, that is the rise in volume of THC per unit of marijuana, has risen since the plant is grown under constant beams of artificial lights (while grown inside in attempts to keep it from discovery of the authorities). So now that Marijuana exponentially more potent than it was in the 70’s and 80’s, it really would be in the best interest of the roughly 40% of Americans that admit to at least having tried it for the government to intervene, legalize, impose safety restrictions, and then make money from a new source of taxable profit.

http://www.newscientist.com/article/mg20126885.100-radical-alternatives-proposed-for-cannabis-controls.html?full=true

Not necessarily related to this article, but something that always bugs me when I hear about tests run on drugs is the argument that Marijuana is used as a gateway drug. It is a total cop-out! Yes, there are certain types of people that smoke Marijuana. And yes, of those certain types of people there is a higher percentage of types of users that love to test their boundaries and experiment with just how far over the line they can go. This isn't a problem with Marijuana though, this is a problem of society and the types of personalities that use illicit substances as a temporary exit or escape from reality.

As a secondary note on the matter, most of the users that are constantly testing their boundaries, will always do so, with or without permission from the government. I don’t want my opinion to be skewed that the government might take over and legalize all forms of drugs; that’s not the case at all. Legalizing a substance like Marijuana with health restrictions isn’t going to attract the crowd of people that are hell bent on getting off on something new. Its going to attract those who have either tried it before and didn’t find it all that offensive, or those that have always wanted to, but felt it their patriotic duty to obey the law and be a good little boy (or girl).

living life and getting things done

Today was an interesting kind of day. For starters, I woke up late as all get-out, then I helped the pops put in some new supports in the shed so they could store more crap. I actually really liked the whole manual labor thing. It was a really nice change from the normal all day on the laptop. I've needed to do something with my hands for a long time. Sometimes I feel like being on a computer all the time doesn't lead anywhere and in the end I'm just wasting time and burning daylight. Doing that and having finished it sparked something in me. I was able to start and finish something that someone could use and benefit from, even if it wasn't that big a project... It was a really great feeling doing something out of the norm and benefiting from the experience.

So after the minor carpentry project, we went and ate some mediocre chinese and went to go see Yes Man with Jim Carrey. First I want to say it was a really good movie. Not to spoil it for anyone who hasn't seen it yet, but it was a movie about experiencing new things outside of the comfort zone and going out to get life instead of living in a little box. Cruising the information super highway (member those dial-up commercials?) and being the internet bum I sometimes am, doesn't fair well with getting out there and living life.

Now I'll be the first to admit I'm no fan of new years resolutions, but if there's something that has to change its going to be that I'm going to do more living. Programming, well working all the time, just makes feel like I'm constricted to places where I can plug my laptop in.

I love helping people. That's for sure, but I want to be able to meet more people and do more. Maybe I need to move to a bigger city and just start diving into new things. I'm more of a west coast kinda guy. Let the looking begin...

Twitter Updates

About Me

My photo
I have been working with computers/programming to put myself through college since I graduated high school. I am currently attending Oklahoma State University for bachelors degree in biological sciences. Along with my experience in programming, a degree in biology will allow me to pursue a career in bioinformatics research concerning genetic diseases (i.e. cancer).

Blog Archive