roncli.com blog
The blog of roncli
roncli.com blog
roncli.com
blog
Profile
roncli
Houston, Texas, United States
Labels
Coding
CTG Music
Editorials
Games
Miscellaneous
Music
Servers
Silliness
Software
Sports
Trax in Space Beta
Weather
Recent Posts
A Tale of Two Communities
The Final Stretch
A Two Tiered, Untiered OTL
Secretly, you wish you could've done what I did
What have I done since roncli.com v2?
It's Done. It's Finally Done.
The Big Picture is Starting to Wear on Me
A Low Bang to Buck Ratio
win-acme
Overload has truth; next it needs balance
Archives
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
June 2008
July 2008
September 2008
December 2008
February 2009
July 2009
August 2009
September 2009
October 2009
November 2009
February 2010
March 2010
April 2010
June 2010
July 2010
August 2010
September 2010
October 2010
November 2010
December 2010
March 2011
June 2011
July 2011
August 2011
September 2011
October 2011
December 2011
January 2012
February 2012
April 2012
July 2012
November 2012
July 2013
April 2014
July 2014
August 2014
November 2014
December 2014
March 2015
April 2015
May 2015
June 2015
July 2015
September 2015
January 2016
February 2016
May 2016
July 2016
November 2016
March 2017
January 2018
May 2018
June 2018
January 2019
January 2021
February 2021
March 2021
August 2021
October 2021
December 2021
August 2022
November 2022
October 2023
February 2024
Current Posts
Sunday, February 26, 2006
Warning: Winamp 5.2
Posted: 12:30:00 AM 0 comments
Just a warning to those who like to play MP3 and other files in Winamp: Don't upgrade to 5.2.

Apparently there's a lot - and I mean a lot - of problems with it. I installed it and I can't even open it now, I get a fatal exception.

Back to WMP for now... Sigh.

Labels: ,

Wednesday, February 22, 2006
Due Process Close
Posted: 2:40:00 AM 0 comments
Now playing: Korn - Twisted Transistor (2:58)

Actually, Due Process is done! I have it happily running on my workstation and my computer with no problems. I am very pleased with how it turned out.

The reason you don't have a copy of it yet is because I'm working on the website that's going to promote this and other pieces of software I'll be spitting out over the course of time. Backup is going to be the next offering, which is a copy of my FTP file backup service. After that, I'm open to pretty much anything. Who knows, I might even get back to Cent.

Labels: , ,

Happy Anniversary
Posted: 2:37:00 AM 0 comments
Now playing: Korn - Twisted Transistor (2:58)

It was one year ago this past Saturday I set up this blog. In that time, I managed to post 160 times, a little under 1 every other day. It is interesting to walk through it and see where my interests wane and wax over time.

Here's to more years of pointless posts such as these!

Labels: , ,

ASP.Net DataGrid
Posted: 2:33:00 AM 0 comments
Now playing: Korn - Twisted Transistor (2:58)

A while ago, I had resigned myself to the fact that I would have to custom-build my own shopping cart for a site I'm working on. Well, I'm sure I could have bought something to do relatively the same thing, but what fun is that for a coder like me?

Anyway, I got to the part where I actually display the items in the cart. I was happily coding along in my usual ASP mindset, adding forms, hidden input tags, and... whoops. That's not going to work, this is ASP.Net. Doh.

So I switched out to a DataGrid. The first thing I figured out is that I have absolutely no idea how to use a DataGrid. The second thing I figured out, and this one took a while, is that the CssClass property of the styles are applied to the table row, and not each table cell. Very annoying, as I ended up creating my own custom class to fix that. Easy enough:

    Public Class DataGrid
        Inherits WebControls.DataGrid

        Protected Overrides Sub OnPreRender(ByVal e As System.EventArgs)
            MyBase.OnPreRender(e)
            For Each dgiItem As DataGridItem In Me.Items
                For Each tc As TableCell In dgiItem.Cells
                    If dgiItem.ItemType = ListItemType.Item Then
                        tc.CssClass = Me.ItemStyle.CssClass
                    ElseIf dgiItem.ItemType = ListItemType.AlternatingItem Then
                        tc.CssClass = Me.AlternatingItemStyle.CssClass
                    End If
                Next
            Next
        End Sub

    End Class


Next came figuring out how to add a title to the grid. If you notice on all of the sites I host, there's a title bar for each table in the content section. Well, there wasn't an easy way to do this. I couldn't figure out how to access the table control that the DataGrid populates, so I ended up just stacking a one-row table on top of it.

Now I had to figure how to put the total of the order in the footer, but there are enough good articles on how to do that, so that didn't take long. Adding a remove button to remove a product someone doesn't want from the cart was fairly easy as well.

The fun came in having to allow them to change the quantity on the fly. That turned out to be more of a project than I was expecting. There were two approaches I was considering, and of course I took the difficult one: using the onblur method of an input tag to populate two hidden fields with the ItemID I want to update the quantity of and the new quantity, as well as activate a hidden button on the form.

Phew! I wasn't expecting so much work out of what would be maybe an hour of work in classic ASP.

Labels: , , ,

Sunday, February 19, 2006
Internet on the PSP
Posted: 2:49:00 AM 0 comments
Yes, it can be done. I know little about game consoles and their handheld counterparts, but I was shocked to see this in my OSMusic.Net log today:

Mozilla/4.0 (PSP (PlayStation Portable); 2.00)

I did some digging and found that people view the forums on the D3TL and download the Modplug software. I am almost interested enough to get one and see what it's like. Kudos if you surf with it, I can't imagine it being easy.

Labels: , , ,

Thursday, February 16, 2006
Website Logs
Posted: 3:03:00 PM 0 comments
Now playing: Korn - Twisted Transistor (2:58)

Well, I've had a pretty rough time with work lately. I've been putting in a lot of extra time from home and on the weekends. As a result, my activity with some of my own projects has slacked a bit. Fortunately, this overtime is over, and I'm back to my normal relaxed self.

I've gotten some progress done on my websites, though. One of which is my Logs site, which I've been wanting to open up to the public for a while now. This is my own creation that processes IIS logs via a VB.Net application (previously it was done in all ASP, as can be shown by the now-inactive Import Logs links) and sorts out all the data as needed. The data is all in a SQL 2005 backend, which the ASP site queries to get its data. Some parts are pretty slow, like looking at the referrals on the larger sites, but overall it's a fairly fast web application.

The front page lists the number of hits for the past month, and it revealed something surprising that hasn't happened since the beginning of 2001 when I started hosting the D3TL - My own website, roncli.com, is the #1 site in terms of hits. At first this surprised me, but then I realized that the majority of those 18,593 hits is downloads of the ModPlug software.

I have always been a mirror for the ModPlug software since they implemented the partner program back in the day, but it's never seen this many hits before, which indicates that, despite active development on the tracker, the ModPlug software is as popular as ever.

Labels: , ,