Tag Archives: programming

Busy with this, this and that

Been kinda busy lately therefore not really blogging. I have so much things I wanted to say but don’t have the time to. I’ve been busy with my assignments, the Java assignment is done, yet not done. Hanging in the middle. My E-business module is largely about research which I am quite good at.

And then there is work which I code with ActionScript:

(Coding with ActionScript.)

Also busy with this work which I code with a coffee cup as you can see:

Development with coffee cup, you just have to move the cup around and the IDE would start constructing. They call that scaffolding.

(Development with coffee cup, you just have to move the cup around and the IDE would start constructing. They call that scaffolding.)

Next week would be better. Schedules are tight and my reading has stopped too. Coming week would be prelims for my university. But let’s look at the brighter side shall we? That means semester is ending!

Microsoft releases source code for .NET Framework libraries

Sources codes for the following libraries have been released:

  • .NET Base Class Libraries (including System, System.CodeDom, System.Collections, System.ComponentModel, System.Diagnostics, System.Drawing, System.Globalization, System.IO, System.Net, System.Reflection, System.Runtime, System.Security, System.Text, System.Threading, etc).
  • ASP.NET (System.Web, System.Web.Extensions)
  • Windows Forms (System.Windows.Forms)
  • Windows Presentation Foundation (System.Windows)
  • ADO.NET and XML (System.Data and System.Xml)

It is released under the reference license.

Reference License

The .NET Framework source is being released under a read-only reference license. When we announced that we were releasing the source back in October, some people had concerns about the potential impact of their viewing the source. To help clarify and address these concerns, we made a small change to the license to specifically call out that the license does not apply to users developing software for a non-Windows platform that has “the same or substantially the same features or functionality” as the .NET Framework. If the software you are developing is for Windows platforms, you can look at the code, even if that software has “the same or substantially the same features or functionality” as the .NET Framework.

Read on the announcement at Scott Guthrie’s blog and Shawn Burke’s blog.

On why I did not install Java Dev Kit until today

Because the whole Sun Java website is like a labyrinth. I just don’t know where to get my stuff. I just want a Java compiler and when I am at Java.sun.com I just don’t know what to get.

They have things like:

  • Java SE
  • Java EE
  • Java ME
  • NetBeans IDE
  • Web Services
  • Java Software

The whole process is just so alien to me. I am just trying to find the latest Java compiler which is the 6.0 one. I saw their versioning system too. They had 1.2, 2.0, 5.0 and all the different updates. Seriously, it’s just too confusing.

I don’t think any non-Java developer actually know what’s going on. A bit of reading led me to figure that they separate stuff to Enterprise levels and so on. It took me a while to figure what I want is Java SE Development Kit 6 (JDK) which includes the Java Runtime Environment (JRE) and command-line development tools that are useful for developing applets and applications.

I am aware that Sun has NetBeans and I am just wondering if they’re making compiler downloads harder to encourage people to get NetBeans. The whole website is just horrible. Oh yeah, by the way, Sun Microsystem, your Java website suits the 800 x 600 crowd. Your website is just half the width of my screen. With more and more websites suiting 1024 width, well, consider doing that too.

Ruby on Rails vs Java

By the way, I’ll be studying Java in school. I know nothing about Java but it always seemed like the tired and boring programming language. Ruby on Rails sounded cool but I never had time to play around with it. I frequent a lot of pro-Ruby websites and I somehow got psycho-ed into thinking how great Ruby on Rails really is.

Ruby on Rails vs Java

For more information, go to RailsEnvy.com.

I like the bear in jar, hahaa…

13 little things that make a geek happy

For the most part, it does not take much to make a geek’s day!

read more | digg story

For me, it’s rather simple.

5 little things that would make me say yay

  1. The moment there is a price drop in any computer parts. I’m such a cheapskate, hehee…
  2. When I have an actual comment. Yeah, a real comment is not one that tells me about Viagra and anal sex.
  3. When I can get rid of all the tabs on my Opera browser. I open a lot of tabs and do not close them until I finish the whole task. Sometimes a particular website can be opened for a couple of weeks.
  4. Checking my statistics. Well, that usually make my day. I’m just happy to look at numbers I guess.
  5. When something related to the software I use comes up. I get excited over developments of Windows Live Messenger, Opera, WordPress, Adobe products and Windows Vista.

Fresh Comments 1.2.1

An update to Fresh Comments widget.

Fresh Comments 1.2.1 Changes

Just one tiny little change only. As pointed out by blogan, Fresh Comments 1.2 does not work with Nybble Lab’s Sidebar Modules (SBM) due to a mistake in the coding. The issue has been rectified.

What is Fresh Comments 1.2.1?

Fresh Comments 1.2.1 is a that displays the latest approved comments submitted by your visitors and also gives you – the owner – better control on how your recent comments are displayed. Go straight to download Fresh Comments.

How to install Fresh Comments?

Click on the icon to configure Fresh Comments.

(Click on the icon to configure Fresh Comments.)

Easy. Just download Fresh Comments 1.2.1 and extract it to your hard disk. Then upload freshcomments.php into your wp-content/plugins folder and then activate the plugin through your admin interface. Finally, check it out in your admin interface at Presentation -> Sidebar Widgets to add or remove Fresh Comments widget by dragging around.

How to configure Fresh Comments?

Configuration screen of Fresh Comments.

(Above is the configuration screen of Fresh Comments 1.1. See how Fresh Comments 1.0 look like.)

Here are the configurable options:

  • Title – Give the widget a name to be displayed in your blog.
  • Before – This is where you can insert HTML before all fresh comments are displayed. Recommended that you put <ul> here.
  • After – This is where you can insert HTML after all fresh comments are displayed. Recommended that you put </ul> here.
  • No. of comments – Number of comments to be displayed in descending chronological order for your fresh comments section. (Only takes a value of ’1′ or more.)
  • No. of preview words – Displays only the number of words you specify as a comment preview. (Only takes a value of ’1′ or more.)
  • Format – Allows you to specify how you want each line of fresh comment to be generated. You can click on ‘(reset)’ to go back to the default format. Read more about the formatting options below.

How to format Fresh Comments?

  • %comment_author%
  • %comment_author_url%
  • %comment_content%
  • %comment_preview% – Displays the first few words of the comments. The number of preview words is specified in the ‘No. of preview words’ option as mentioned above.
  • %post_title%
  • %comment_permalink% – This displays the URI of the comment in your post.
  • %post_permalink% – This displays the URI of your post.

Most of the tags are pretty much self explanatory. To add a tag, just click or highlight within the formatting textbox and then click on the tag you wish to insert.

Below are some examples of formats you can use:

Format:

<li><a href="%comment_permalink%">%comment_author% in %post_title%</a>: %comment_preview%</li>

Format to HTML:

<li><a href="http://beconfused.com/blog/2006/03/22/busy-week/#comment-9812">Mr. Dew in busy//week</a>: Well, it's okay. I don't think I can do much</li>

Displayed in browser:

<li><a href="http://beconfused.com/blog/2006/03/22/busy-week/#comment-9812">Mr. Dew in busy//week</a>: Well, it's okay. I don't think I can do much</li>

Other examples of formats:

<li><a TARGET="_blank" href="%comment_author_url%">%comment_author%</a> in <a href="%comment_permalink%">%post_title%</a>: <a href="%comment_permalink%">%comment_preview% [...]</a></li>

<li><a href="%comment_author_url%">%comment_author%</a> says, <a href="%comment_permalink%">"%comment_preview%..."</a></li>

Using Fresh Comment widget in your sidebar.

(Using Fresh Comment widget in your sidebar.)

Additional notes

If there are any things you spot that is not working, do give me a notice and I’ll fix it as soon as possible. I’m not an experience PHP coder so please forgive me if anything goes wrong.

Fresh Comments 1.2.1 is tested on WordPress 2.0.7 and WordPress 2.2.2 except to make it WordPress 2.1 compatible. The browsers tested are Windows Internet Explorer 7.0 and Mozilla Firefox 2.0.

Download it (2.97 KB in ZIP archive, 10.8 KB after extraction)

The source code for Fresh Comments 1.2.1 is distributed under GPL (General Public License), meaning that you can freely modify and distribute this source code.

Please do comment about my work. :)

Fresh Comments 1.2 (WordPress 2.1 compatible)

Note that Fresh Comments 1.2.1 is out.

What is Fresh Comments 1.2?

Fresh Comments 1.2 is a that displays the latest approved comments submitted by your visitors and also gives you – the owner – better control on how your recent comments are displayed. Go straight to download Fresh Comments.

How to install Fresh Comments?

Click on the icon to configure Fresh Comments.

(Click on the icon to configure Fresh Comments.)

Easy. Just download Fresh Comments 1.2 and extract it to your hard disk. Then upload freshcomments.php into your wp-content/plugins folder and then activate the plugin through your admin interface. Finally, check it out in your admin interface at Presentation -> Sidebar Widgets to add or remove Fresh Comments widget by dragging around. Continue reading “Fresh Comments 1.2 (WordPress 2.1 compatible)” »