Rip's Domain

Help: Force ColdFusion to release memory.

Posted in ColdFusion by rip747 on September 29, 2008

Need some help. Anyone out there know of a why to force ColdFusion to release memory back to the JVM?

The situtation is that I have a conversion script that creates a bunch of objects to pull data from one database to another. The memory keeps spiking after a 1000 or so inserts and i’ve tried everything to get to do garbage collection and release the memory back to the jvm.

Things i’ve tried

Invoking garbage collection with java.lang.system

<cfset loc.sys = createobject(“java”, “java.lang.System”)>
<cfset loc.sys.runFinalization()>
<cfset loc.sys.gc()>

setting the objects to javacast(“null”, “”)

Invoking garbage collection with java.lang.runtime

<cfset loc.sys = createobject(“java”, “java.lang.runtime”).getruntime()>
<cfset loc.sys.gc()>

I’ve even tried using java.lang.ref.SoftReference

Plus a combination of all the above!!!!

Nothing I seem to do want to make the jvm run the garbage collection and release the memory.

If anyone has an itelligent suggestion, leave it here. I’m at my whits end!!!

BTW please don’t say to use queries or split up the job. That’s not an answer I’m even looking for.

It’s official: jQuery wins!

Posted in Uncategorized by rip747 on September 29, 2008

In case you haven’t read the annoucement on the jQuery blog, jQuery has been choosen as the official framework for ASP.Net.

This is major. With Microsoft now fully behind jQuery and putting it into Visual Studio, this will only make the framework more accepted and gain more ground.

Also Microsoft will not get any special treatment from the core team (thank god). Usually when a big player like Microsoft adopts something, their influence chooses the path the project takes.

The best part has to be that since ASP.Net has such a huge development base, this will only make finding bugs and improving the framework that much easier. Not to mention the slew of plugins that will come out from some the awesom talent that the community holds.

Congrats JQuery!!!!

Congressman Ron Paul Schools Bernanke on the Bailout Plan

Posted in Ron Paul by rip747 on September 25, 2008

Go Ron Paul!!! We’re so fucked come November. We this man running this country. Instead we’re going to get either a senile old war monger or charismatic jerkoff.

It’s coming. 35 Days and counting

Posted in Halloween by rip747 on September 25, 2008
                     .-'\
                     \:. \
                     |:.  \
                     /::'  \
                  __/:::.   \
          _.-'-.'`  `'.-'`'._\-"`";.-'-,
       .`;    :      :     :      :   : `.
      / :     :      :                 :  \
     /        :/\          :   /\ :     :  \
    ;   :     /\ \   :     :  /\ \      :   ;
   .    :    /  \ \          /  \ \          .
   ;        /_)__\ \ :     :/_)__\ \    :    ;
  ;         `-----`' : ,   :`-----`'          ;
  |    :      :       / \         :     :     |
  |                  / \ \ :            :     |
  |    :      :     /___\ \:      :           |
  |    :      :     `----`'       :           |
  ;        |;-.,__   :     :   __.-'|   :     ;
   ;    :  ||   \ \``/'---'\`\` /  ||        ;
    .    :  \\   \_\/       \_\/   //   '   .
     ;       \'._    /\     /\ _.-'/   :   ;
      \   :   `._`'-/ /\._./ /\  .'  :    /
       `\  :     `-.\/__\__\/_.;'   :   /`
   jgs   `\  '   :   :        :   :  /`
           `-`.__`        :   :__.'-`
                 `-..`.__.'..-`

artwork 

Art work from Joan Stark

Friday Funnies

Posted in Fridays, Jokes by rip747 on September 12, 2008

First a live stream from the LHC webcams!!!!

http://www.cyriak.co.uk/lhc/lhc-webcams.html

Next:

The funniest comments evar!!!!

The back story: http://idle.slashdot.org/article.pl?sid=08/09/12/0651216&from=rss

The comments: http://idle.slashdot.org/comments.pl?sid=961823&cid=24981815

GIT clone over HTTP: who knew?

Posted in Git, TechSupport by rip747 on September 12, 2008

Quick note for others and so I don’t forget.

If you’re behind a proxy (like I am) and try to do a git-clone using the git:// protocol, surely it will fail if you’re firewall is restrictive. The beautiful thing is, you can use http:// protocol instead to get around this restriction.

So for instance, let’s say we want to clone a copy of yubnub from github. In the cygwin command line, you would normally do:

git clone git://github.com/jcnetdev/yubnub.git

However that will fail. Instead do:

git clone http://github.com/jcnetdev/yubnub.git

The only other gotcha is that you might need to setup your proxy in your environment. To do this, simply do:

export http_proxy=http://<username>:<password>@<proxy_ip>:<proxy_port>

where:

username = your network username (someuser)
password = your network password (somepassword)
proxy_ip = the ip address of your proxy server (192.168.1.1)
proxy_port = the port number for the proxy (80)

the full string would look like this:

export http_proxy=http://someuser:somepassword@192.168.1.1:80

Tagged with:

Ron Paul: Today’s announcement failed.

Posted in 2008 Elections, Ron Paul by rip747 on September 10, 2008

Today Ron Paul basically gave the middle finger to both McCain and Obama and told the country to embrace third party candidates. After digesting the conference and kicking the thoughts around in my head, I’ve come to conclusion that the whole thing was a big waste of time and a huge disappointment.

Now this is coming from a loyal Paulster (hell I even still have the campaign bumper stickers on my car), so this is not some Ron Paul basher just ranting.

Why is it that I feel this way about the whole announcement? Well the plain fact is that there are four third parties that Paul was presenting to the American people when it should have only have been one. I don’t see the logic in telling the American people to support third party candidates and then splitting that support amongst four parties.

If we truly want a three party system, then the third party campaigns need to come together and join forces. Let’s face facts: in this election they’re not going to be getting a slew of votes since most of the parties aren’t on every state’s ballot. However by join forces, they will have enough signatures to get on all the states. Coupled with the fact that an announcement where the third parties are joining forces and getting behind a single campaign would give them the media coverage they deserve to draw interest in their views.

Was today a good start? Not really. First impressions are lasting ones. By not really thinking everything through I firmly believe that once again something that could have been great, failed miserably.

I would have loved for today’s announcement to be that Ron Paul was running as a third party candidate with Baldwin as the VP. Hearing some of Baldwin’s talks I feel that this man knows what he’s doing and has a great plan to put this country back on track. Sure there would be the period of hurt, but who said that “change” doesn’t hurt?

Again, the third party candidates need to come together if they’re even going to stand a chance or be taken seriously come November.

Hurricane Ike

Posted in Fridays, Jokes by rip747 on September 5, 2008

As Hurricane Ike approaches, we Floridians need to answer one basic question… should we use a petroleum or water based lubricant.

Good luck Florida!!!!

Actual text message conversation between me and my brother

Posted in Fridays, Jokes by rip747 on September 5, 2008

These events take place on Sept 2, 2008 between 8:31a.m. – 8:41a.m.

me: Charles, help me. I’m being held hostage by a group of midgets with pin-wheels. It’s some freaky shit. They demand coleslaw.

Charles: O_o

Charles: Be strong brother! There is no more coleslaw so hopefully a toothebrush and dental floss will do.

me: Dude, you don’t understand. They’re making me watch the Wizard of OZ and participate in sing-a-longs. I’ll try to hold on! Somewhere over the rainbow…

Charles: I’ll call the tin man for backup.

Getting Git-SVN to work under Cygwin

Posted in Cygwin, Git, TechSupport by rip747 on September 4, 2008

This has taken me DAYS to get working and finally i got it. Here are the steps:

Download the Cgywin setup.exe from the Cygwin site.

Next is to READ AND FOLLOW the instructions for setting up Git during the install. The instruction are at the bottom of the page entitled “Install Cygwin”.

After the installation you will need to run “ash rebaseall” from the cygwin\bin directory in a command line in order to update Git-SVN. So open a command prompt (START -> RUN -> CMD) and type in cd\cygwin\bin (or whatever your cygwin installation folder is) and run “ash rebaseall”.

Hopefully this help someone out there

Tagged with: