January 2006 Entries

This is in the year 2004BB (Before Beard)

[ Currently Playing : Just A Memory Featuring The C - The Notorious B.I.G - (4:30) ]

CIDR        Total number    Network             Description:
Notation:   of addresses:   Mask:
--------------------------------------------------------------
/0          4,294,967,296   0.0.0.0             Every Address
/1          2,147,483,648   128.0.0.0           128 /8 nets
/2          1,073,741,824   192.0.0.0           64 /8 nets
/3          536,870,912     224.0.0.0           32 /8 nets
/4          268,435,456     240.0.0.0           16 /8 nets
/5          134,217,728     248.0.0.0           8 /8 nets
/6          67,108,864      252.0.0.0           4 /8 nets
/7          33,554,432      254.0.0.0           2 /8 nets
/8          16,777,214      255.0.0.0           1 /8 net
--------------------------------------------------------------
/9          8,388,608       255.128.0.0         128 /16 nets
/10         4,194,304       255.192.0.0         64 /16 nets
/11         2,097,152       255.224.0.0         32 /16 nets
/12         1,048,576       255.240.0.0         16 /16 nets
/13         524,288         255.248.0.0         8 /16 nets
/14         262,144         255.252.0.0         4 /16 nets
/15         131.072         255.254.0.0         2 /16 nets
/16         65,536          255.255.0.0         1 /16
--------------------------------------------------------------
/17         32,768          255.255.128.0       128 /24 nets
/19         16,384          255.255.192.0       64 /24 nets
/19         8,192           255.255.224.0       32 /24 nets
/20         4,096           255.255.240.0       16 /24 nets
/21         2,048           255.255.248.0       8 /24 nets
/22         1,024           255.255.252.0       4 /24 nets
/23         512             255.255.254.0       2 /24 nets
/24         256             255.255.255.0       1 /24
--------------------------------------------------------------
/25         128             255.255.255.128     Half of a /24
/26         64              255.255.255.192     Fourth of a /24
/27         32              255.255.255.224     Eighth of a /24
/28         16              255.255.255.240     1/16th of a /24
/29         8               255.255.255.248     5 Usable addresses
/30         4               255.255.255.252     1 Usable address
/31         2               255.255.255.254     Unusable
/32         1               255.255.255.255     Single host
--------------------------------------------------------------

[Via (Is it even a box?)]

I've needed this a few times myself...thanks, Paul.

According to this thread, Microsoft may run into visioning problems if they stick with their new build number scheme (major.minor.yMMdd.revision) next year. A Version in the .NET framework consists of 4 integers for the major, minor, build number, and revision in that format. When the build number uses the year as the first digit, it becomes 3.0.70101.0 for example on January 1st of next year.

The build number only goes up to 65535. Oops. As an alternative, I think I'll be sticking with the BuildDay method, using the UpdateVersion tool. I was hoping to be able to use the AssemblyInfoTask to add a conditional task directly into my .csproj file, but maybe I can use some form of Exec task voodoo to get the UpdateVersion working with my build. I only want to update the version number when I compile in release mode, so hopefully I can write something with Condition=" '$(Configuration)' == 'release'" in the BeforeCompile target.

RssBandit has been a big inspiration for some of the specific features of PostXING. As a matter of fact, where possible I've used code from RssBandit directly. At least half of proxy support, most of the plugin loading logic, and most recently (like you don't have it unless you monitor the branches for postxing) a little-used, very useful interface: IMessageFilter.

IMessageFilter is only implemented by the splitter control in the framework (according to reflector) but was extremely helpful in the quest to better handle the keyboard. There is only one method defined on the interface:

//CF: thanks, rssbandit :)
public bool PreFilterMessage(ref Message m) {

The code then looks for the WM_KEYDOWN or WM_SYSKEYDOWN messages and handles things according to whatever rules you put in there. To get it hooked up, I simply overrode OnActivate and OnDeactivate and added Application.Add/RemoveMessageFilter(this);

I figured if I already posted the problem, I might as well post a solution as well. This was really helpful to the flat spot that was forming on my forehead, so thanks again RssBandit.

Broseph.

This was the first thing that I requested from gmail, and they've taken it up a notch - instead of only deleting messages, it notifies you if there are messages in a current "conversation" that have already been deleted:

  32 deleted messages in this conversation. View messages or delete forever.

Nice.

Heh, oops. This is what happens when the tool that you are building is the same tool you are using to make tech notes to yourself.* Really, there should be a bugtracker in place so that I can have a central organized spot to have bug reports, feedback, etc.

Anyone have any suggestions? I've used (and liked) gemini, but delusions of granduer aside the 10 user limit gives me pause. I want PostXING to remain free, so any supporting items like this need to be free as well.

*yes, most of my notes do look like this.

It's for glade3, but having a designer will definitely get me looking at Mono again.

[ Currently Playing : Motel of the white locust - Glassjaw - Everything you ever wanted to know about silence (8:41) ]

posted @ Tuesday, January 17, 2006 9:11 PM | Feedback (0) | Filed Under [ Mono ]

Strictly filed under "As if you cared".

[ Currently Playing : Audioslave / Out Of Exile - Audioslave - Out Of Exile (4:53) ]

So I got selected for the MVP award again this year. Many thanks to BenMi, who has been an awesome lead this whole time. You rock, dude.

I was also awarded the (unofficial) ReverseDoS MVP award for my unending quest to tell anyone who is fed up with comment spam about it. If you're running an asp.net blogging engine (really, anything that could generate spam from automated bots that runs asp.net) you owe it to yourself to check this component out.

Since installing and configuring it correctly, I have gotten exactly 1 (one) comment spam, and it was a manual entry. None that are automated, tho. Nice :)

[ Currently Playing : demon days - Gorillaz - (4:28) ]