Chrome Extensions are here! Since Chrome became my main browser there's one thing I've missed the most and thats the extensive extension library on Firefox. Now that we finally have extensions here's a short list of the ones I am using so far:

That's it for now. I'll add more as I find good ones.


posted by dharh 2:40 PM Dec 8th, 2009

7. Printing output in different formats (say rounding up to 5 decimal places, truncating after 4 decimal places, padding zeros to the right and left, right and left justification)(Input output operations) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace lrn2CSharp7 { class Program { static void Main( string[ ] args ) { double theNumber; Console.WriteLine( "Input a number to be formatted" ); Console.Write( ":" ); try { theNumber = Convert.ToDouble( Console.ReadLine( ) ); Console.WriteLine( "Original number: {0}", theNumber ); Console.WriteLine( "Rounded up to the 5th decimal place: {0}", Math.Round( theNumber, 5 ) ); Console.WriteLine( "Truncating after the 4th decimal place: {0}", Decimal.Truncate( Convert.ToDecimal( theNumber * 10000 ) ) / 10000 ); Console.WriteLine( "Padding 7 zeroes on each side: {0}", String.Format( "{0:0000000.0000000}", theNumber ) ); Console.WriteLine( "Here is a box with 20 spaces: | |" ); Console.WriteLine( "Here is the number left justified: |{0,-20}|", theNumber ); Console.WriteLine( "Here is the number right justified: |{0,20}|", theNumber ); } catch ( FormatException fe ) { Console.WriteLine( "You did not enter a valid number fool." ); } Console.WriteLine( "Press esc to exit." ); while ( !keyPressHandler( Console.ReadKey( true ) ) ) { Thread.Sleep( 250 ); /* no op */ } } protected static Boolean keyPressHandler( ConsoleKeyInfo input ) { if ( input.Key == ConsoleKey.Escape ) return true; return false; } } }

posted by dharh 9:56 PM Dec 5th, 2009

After a really long development time (too long, with 6 months where I didn't even touch the code), neThing v0.7 has been completed and released. You can view the changelog to see the changes.

posted by dharh 5:23 PM Dec 4th, 2009

In the interest of simplicity I've started work on simplifying the site. After almost two years working with the split dichotomy of article and blog posts I've come to the realization that it is stupid.

First, because this precludes the notion I've had for a while that neThing is meant to be a gateway of streams, where multiple sources, including the stuff generated from the site itself, feed the postMonster (the backend that handles these things).

Two, because its too complicated. What makes a blog post different than an article post? In reality nothing except a few bits than can be more than handled with a checkbox or two when creating a post.

So, now all posts are posts. They are still identified by where they originated from, such as Twitter, but otherwise blog posts are now fully converted into articles. Which means they have wiki discussion pages and histories. As far as the wiki bot is concerned it is an article and thus can be linked as such by name. Conflicts will arise and thus it will behoove me, and anyone else using neThing in the future, to mark master posts when multiple of them have the same name. The other posts would then use their POSTID as their permalink.

Also notice that the left slider menu is gone. Replaced by two much simpler archive boxes on the right side above the twitter panel. There is also an Archive page that can be accessed using the IDT logo menu up top. The first archive box is simple, it displays years, and then gives links to the months that had posts. The second archive box is a cloud of most tags.

That's all for now.


posted by dharh 5:16 PM Dec 2nd, 2009


« Previous
1
Next »


2024: 1
2023: 4 2 1
2022: 5 3
2011: 5 3 1
2010: 12 9 7 1
2009: 12 11 8 5
2008: 12 5 4 3 2 1
2007: 12 11 10 9 8 7 6 5 4 3 2 1
2006: 12 11 10 9 8 7 6 5 4 3 2 1
2005: 12 10 7 6
2004: 10 9 6 5 4 3 2 1