Jump to content

The Programming thread


Dienekes

Recommended Posts

Lets have a fnaboy argument on J2EE vs, .NET.

 

Who all are for J2EE here?

 

J2EE is the programming equivalent of Sony I presume...

 

@dabba... I've worked with Flash/AS 2.0. Did a couple of projects. Last one was a year ago.

 

These days I'm more into Project Management. eCommerce is my domain.

Link to comment
Share on other sites

J2EE is the programming equivalent of Sony I presume...

 

@dabba... I've worked with Flash/AS 2.0. Did a couple of projects. Last one was a year ago.

 

These days I'm more into Project Management. eCommerce is my domain.

 

Lol, J2EE is just bigger better and more bad a*s. Drawing equivalence to Sony will not do justice to J2EE.

Link to comment
Share on other sites

And thats how the argument starts. Comon J2EE guys, what you gotta say?

 

J2EE is pretty awesome too, the biggest advantage of it over .NET is platform independence and the ability to implement MVC framework using struts or JSF. Beats the hell out of PHP in almost every way other than simplicity. If you want to be future proof, go for J2EE.

Link to comment
Share on other sites

Can anyone throw some info on sources for freelance projects? Any websites, portals where things work out well.

Thanks.

Dude just go to sourceforge.net there are a lot of open source projects there you can work on.
GSOC

Thanks for your suggestion guys, but this wasn't exactly what I was trying to search. Maybe I phrased it wrongly, I wanted to know sites where freelance client projects are open for bidding and one can work on a project to earn some cash. :O

Like, Project Bidz

Link to comment
Share on other sites

Thought of letting you guys know that I have a small blog about some basic tips about programming better(mostly C/C++) at Safer Code - Secure Coding In C \ C++ And More... Do visit it if you get some time.

And yeah, some of the programs I do (spread all over from c to perl to php to shell to wordpress to windows mobile to linux etc) are hosted over at Shantanu's Technophilic Musings :P

Link to comment
Share on other sites

  • 3 weeks later...

I need to match two files containing a LOT of text. There's about 3000 names in one, and about 5000 in another. Now the names are similar - they are names of companies and every single combination you can think of is present. So there are five variants of UBS and A. G. Edwards, and the complication is that the all the variants appear in both files. I need to match these in the best possible manner and a simple text match just laughed in my face. I found this nifty Fuzzy Search algo for Excel VBA and it works decently. Do any of you have something better or would care to give a shot? It needs to be in Excel VBA - I am using Excel 2007.

 

Dim TopMatch As Integer

Dim strCompare As String

Function Fuzzy(strIn1 As String, strIn2 As String) As Single

Dim L1 As Integer

Dim In1Mask(1 To 24) As Long 'strIn1 is 24 characters max

Dim iCh As Integer

Dim N As Long

Dim strTry As String

Dim strTest As String

 

TopMatch = 0

L1 = Len(strIn1)

strTest = UCase(strIn1)

strCompare = UCase(strIn2)

 

For iCh = 1 To L1

In1Mask(iCh) = 2 ^ iCh

Next iCh

 

'Loop thru all ordered combinations of characters in strIn1

For N = 2 ^ (L1 + 1) - 1 To 1 Step -1

strTry = ""

For iCh = 1 To L1

If In1Mask(iCh) And N Then

strTry = strTry & Mid(strTest, iCh, 1)

End If

Next iCh

If Len(strTry) > TopMatch Then TestString strTry

Next N

 

Fuzzy = TopMatch / CSng(L1)

End Function

Sub TestString(strIn As String)

 

Dim L As Integer

Dim strTry As String

Dim iCh As Integer

 

L = Len(strIn)

If L <= TopMatch Then Exit Sub

 

strTry = "*"

 

For iCh = 1 To L

strTry = strTry & Mid(strIn, iCh, 1) & "*"

Next iCh

 

If strCompare Like strTry Then

If L > TopMatch Then TopMatch = L

End If

 

End Sub

Link to comment
Share on other sites

Can anyone tell me how to implement internationalization in portlets?

 

I added the two lines:

 

<supported-locale>fr</supported-locale>

<supported-locale>en</supported-locale>

 

in portlet.xml and created the appropriate .properties files. Now what? How do I tell the portlet which file to pick the msgs from?

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...