Comment On Welcome to the Real World

I most of us felt (or, will feel) let down after getting our first job of college. Going from the world of "assume there is an unlimited budget, now ..." to "change the text of the error message generated by ..." makes you feel as if your hard-earned Computer Science degree was as useful as Mordar, your almost-equally hard-earned level 28 half-elf wizard. Of course, this is nothing compared to what Michael Jervis must have felt ... [expand full text]
« PrevPage 1Next »

Re: Welcome to the Real World

2004-12-13 12:35 • by DominicWinsor
I'm not sure I can defend that in any way. Nice 'separators' in the menu bar. I'd have done two things - 1. look for better job with more professional colleagues, 2. Use notepad. [:P]

Re: Welcome to the Real World

2004-12-13 12:44 • by logistix

PCP seems to be an appropriate name for the App.  Learn more about the harmful side-effects of PCP here:

http://www.nida.nih.gov/Infofax/pcp.html

Re: Welcome to the Real World

2004-12-13 12:55 • by DJDanny
"no-one had done ADO updating"

WTF?!?! You mean:

rs.Source = "tablename"
rs.AddNew
rs.Fields("Name") = "Bob smith"

??

Surely you didnt use that?!

That's probably about the most rubbish way to update tables, and it's as slow as hell.
Try stored procedures.

Re: Welcome to the Real World

2004-12-13 13:28 • by
"I got moved to work with a new technology with skilled developers all around me, and was happy."

New Technology?
Skilled Developers?
Happiness?

That's the biggest WTF I've seen posted.  Where is this coder's nirvana?

Re: Welcome to the Real World

2004-12-13 13:36 • by

uau this editor is just beautiful. i think i'll stop using VS 2003 and move to this. such nice colors, shape and design is just superb. i just LOOOOVE IT!!!
[6][6][:D]

spirit1

Re: Welcome to the Real World

2004-12-13 13:41 • by Scott
Anyone know what MO does?  How about F1 - F5?  I don't really feel like running untrusted code on my machine.

Re: Welcome to the Real World

2004-12-13 13:43 • by
Interesting to note that it's version 3.1.1, wonder what 1.0.0 was like....

Re: Welcome to the Real World

2004-12-13 13:45 • by Phil Scott
I don't know what the big deal is about the dates.  At least the ASP menu has a code snippet to handle dates easily!
[code]
<%
Sub ConvertDates
If Len(day(date)) = 1 then Session("tmpDay") = "0" & day(date) Else Session("tmpDay") = day(date)
If Len(month(date)) = 1 then Session("tmpMonth") = "0" & month(date) Else Session("tmpMonth") = month(date)
Session("tmpYear") = year(date)

Session("ForwardDate") = Session("tmpDay") & "/" & Session("tmpMonth") & "/" & Session("tmpYear")
Session("ReverseDate") = Session("tmpYear") & "/" & Session("tmpMonth") & "/" & Session("tmpDay")

'Response.Write Session("ForwardDate")
'Response.Write "<BR>"
'Response.Write Session("ReverseDate")
End Sub
%>

Re: Welcome to the Real World

2004-12-13 14:20 • by Manni
"MO" stands for "Modus operandi" (though my spelling might be off). It's a term in legal-speak that means your method of murdering someone who came up with a piece o' crap application that reinvented a decent wheel, only slightly squared-off this time, and then forced his subordinates to use it.

Re: Welcome to the Real World

2004-12-13 14:22 • by Jacob K
Ctrl+Z anyone? I tried actually coding something in this, just to see if maybe it is better... but after many failed attempts to undo a bulk javascript insert from the oh-so-helpful menu, I promptly gave this thing a swift kick in the nuts. Bah, I say; bah.

Re: Welcome to the Real World

2004-12-13 15:29 • by Bustaz Kool
>>> One text field whateverdate, varchar(8) one whateverdate_reverse, also varchar(8) one with 01101999 the other with 19991001.
<<<

What's he going to do when the year 10,000 rolls araound.  Not very YXK compliant.[;)]

Re: Welcome to the Real World

2004-12-13 15:52 • by
26631 in reply to 26617
Scott:
Anyone know what MO does?  How about F1 - F5?  I don't really feel like running untrusted code on my machine.


F1-F5 create <font size="##"> tags. With a bit of re-design (and the colors....) this could become a decent editor. Since we all know that ain't happening, I'll put my vote on gvim. Apologies to the Windows users[;)]

Re: Welcome to the Real World

2004-12-13 15:54 • by

It's one thing to develop a tool that you think will be useful for yourself.... it's just cruel and unusual punishment to make someone else use this POS editor.

I think I need to go wash my eyes now.

J

Re: Welcome to the Real World

2004-12-13 15:55 • by zinglons_ale
And I thought it was retina-damaging enough when I used fuchsia splitters on an internal utility as a joke. I'll have to step it up a notch; this is going to be tough to compete with.

Re: Welcome to the Real World

2004-12-13 16:18 • by
Let me guess. The editor was made in about a week by a software-developer-wannabe who first saw Delphi.

Letting programmers change control colors was a major error of the developers of Visual Basic and then Borland Delphi and C++Builder. Though it might have been kinda fun if every time you changed a control color from the default a Clippy popped up and told “You seem to be creating a WTF” :)

--Centaur

Re: Welcome to the Real World

2004-12-13 16:41 • by Manni
Y'know, just the other day I was trying to save a Word document, and while browsing through my folders I couldn't help but think:

"Why doesn't this dialog box include a '7' button? All the cool kids are doing it these days."

But the question is- what does the 7 button do??

Re: Welcome to the Real World

2004-12-13 16:52 • by rpresser
26640 in reply to 26639
Manni:
But the question is- what does the 7 button do??
It doesn't actually do anything -- it's showing what line the cursor is on.  Naturally it has to be a clickable button; a mere label would not be confusing enough.

Re: Welcome to the Real World

2004-12-13 17:27 • by
Anybody know what the big read box is for?

Re: Welcome to the Real World

2004-12-13 17:33 • by DJDanny
As this is Web Page Creator Plus, does anybody have a copy of the Lite version?
That must be a cracker!

Re: Welcome to the Real World

2004-12-13 18:21 • by
All the menu options seem to paste gobs of 'helpful' html/javascript code. The 'long div' option seems to specify its width and height in millimeters (mm) 100mm x 50mm. I love the way the pasted code always has hard coded style info. Aparently the long div should only ever use 10pt verdana.

Re: Welcome to the Real World

2004-12-13 18:28 • by
26645 in reply to 26644
I found an absolute cracker. Work on a html file (pour your heart and sole into it) then from the Edit INI menu select 'save ... ini'. Instead of using a dialog box to display the confirmation message it uses the application workspace. All your hard work is now over written by "Setting have now been saved and loaded."...

...where did all my work go?

If you now click File/Save it'll save the above message into the html file you were just editing.. WTF !!!?!?!?!?!

Re: Welcome to the Real World

2004-12-13 18:30 • by
26646 in reply to 26642
It's red when you have unsaved changes, green when you don't.

Haven't you ever used a computer before?

Re: Welcome to the Real World

2004-12-13 18:41 • by
26647 in reply to 26645
WTF does 'Split' do and why?

Cancel a save and it'll report a 'Save Error Main Window' !

You can't ctrl+a

Ahh the big red box indicates unsaved changes!

There are 2 *.htm entries in the file browser

Save a file and the file browser hides everything except the one you just saved, until to hit the refresh button.

The 'Replace' button's file tip says "Embed file onto page" but clicking it pastes the following code :
Replace(return true","''","'") 
[sic] !!

Re: Welcome to the Real World

2004-12-13 18:44 • by
26648 in reply to 26647
After playing for a while the folder is now filled with backup[x].txt files. Many are blank, many just have "Setting have now been saved and loaded." none resemble any work I was actually trying to do....

Re: Welcome to the Real World

2004-12-13 19:24 • by gondalez
I like the tooltip for the HR button: "hard rule".  Also the box that turns eye smashingly red whenever you haven't saved your changes. It's the subtle things that make an application like this so great!

Re: Welcome to the Real World

2004-12-13 21:45 • by
26650 in reply to 26631
:
 Scott wrote:
Anyone know what MO does?  How about F1 - F5?  I don't really feel like running untrusted code on my machine.


F1-F5 create <font size="##"> tags. With a bit of re-design (and the colors....) this could become a decent editor. Since we all know that ain't happening, I'll put my vote on gvim. Apologies to the Windows usersWink

Re: Welcome to the Real World

2004-12-13 21:53 • by
26651 in reply to 26650
Either my Firefox doesn't like the "message" text box, or the "message" text box doesn't like my Firefox.

My post was supposed to contain "I'll put my vote on gvim. Apologies to the Windows users" quoted, and "gvim works very well on Windows®" as a reply.

Re: Welcome to the Real World

2004-12-13 23:59 • by drew
26652 in reply to 26640
rpresser:
 Manni wrote:
But the question is- what does the 7 button do??
It doesn't actually do anything -- it's showing what line the cursor is on.  Naturally it has to be a clickable button; a mere label would not be confusing enough.

Hey rpresser, that was a very impressive spot on the cursor, nice WTF-sleuthing.. drew..

Re: Welcome to the Real World

2004-12-14 04:29 • by Katja
Am amazed that people manage to create crap and get paid for it too! Or would this tool be freeware?

I like the colors though. Nice pastel...

Re: Welcome to the Real World

2004-12-14 09:42 • by
26658 in reply to 26652
 rpresser wrote:
 Manni wrote:
But the question is- what does the 7 button do??
It doesn't actually do anything -- it's showing what line the cursor is on.  Naturally it has to be a clickable button; a mere label would not be confusing enough.
I'm the guy who sent this in. I used this editor for three months, until my "Trial Period" ended when I switched back to Ultraedit. I never figured out that that was the cursor position. I don't even remember it being there. Perhaps he added it after I used it.

Needless to say, WPCP was responsible for some of the code loss because of the lack of source control.

And in defence of the ADO updating, sp's were not an option at the time for us as the systems were being developed against MS Access for deployment to MS SQL. We didn't have an MS SQL Development instance at all. So we couldn't write SPs.

Not that Steve would have known how, or how to make ADODB objects execute one either.

Re: Welcome to the Real World

2004-12-14 10:44 • by
26660 in reply to 26640
It may be the current line number but it gets out of sync, hit enter a few times and try using the cursor up / down keys and watch it fail to notice the first one. Clicking the button then makes it display the 'correct' line number.
So you see it is a 'feature' rather than a wtf in that respect ;)

Re: Welcome to the Real World

2004-12-14 12:22 • by drew
26662 in reply to 26660
hey, don't get us started on the storedproc vs code data access debates. Many minds far better than ours still walk in opposite directions on this subject..[8-|]

Re: Welcome to the Real World

2004-12-14 12:43 • by DJDanny
26663 in reply to 26662
drew:
hey, don't get us started on the storedproc vs code data access debates. Many minds far better than ours still walk in opposite directions on this subject..


There is no debate to be had. Stored procedures are better and more efficient.

End of story.

Re: Welcome to the Real World

2004-12-14 13:22 • by DJDanny
26666 in reply to 26663
DJDanny:
 drew wrote:
hey, don't get us started on the storedproc vs code data access debates. Many minds far better than ours still walk in opposite directions on this subject..


There is no debate to be had. Stored procedures are better and more efficient.

End of story.


And to quote Microsoft themselves (http://msdn.microsoft.com/library/en-us/iissdk/iis/dataaccessperformance.asp)

  • To optimize performance, avoid using the ADO record addition and deletion methods, such as AddNew and Delete. If your application adds and deletes records intensively, your application will perform better if it uses direct SQL statements, such as INSERT.

  • Re: Welcome to the Real World

    2004-12-14 13:47 • by
    26669 in reply to 26666
    Easiest code to read and maintain:
    ADO based addnew

    Fastest SQL SPs

    SQL Sps are easier to maintain than direct SQL statements, but harder to maintain the ASP code than ADO based addnew (code is a little more complex with adding parameters, getting result params etc)

    It's a balancing act.

    Our systems were written to be easy to maintain, with the handicap of no SPs. The performance wasn't an issue because the hardware was more than up to the task. When you've got to maintain a code base into the future, that's a good tradeoff.

    Hence why whoever said it's a debate with no answer. Pure perfomance has an answer. Best for a given project is a big debate.

    Re: Welcome to the Real World

    2004-12-14 13:55 • by drew
    26673 in reply to 26669
    Hi DJ, as i mentioned, better minds than ours have debated this much more extensively than saying, hey sp's are better, period. I have walked in both camps extensively and there is no correct answer. For more detailed thoughts, start by following this url http://weblogs.asp.net/fbouma/archive/2003/11/18/38178.aspx

    Re: Welcome to the Real World

    2004-12-14 16:07 • by
    I wrote a class (in ASP - it was converted to COM DLL later on) to handle dates. It converted a date to JDN (essentially a Long).

    Although to my defense, it had add and subtract operations, it calculated easter and it knew the Maya Calendar and the Zodiac (Hijri was on the Todo list).

    Re: Welcome to the Real World

    2004-12-15 15:04 • by Jeff S
    >> Easiest code to read and maintain:  ADO based addnew

    Wrong!  That binds your code to the database schema ... much harder to maintain, if the schema needs to change.  Stored procs. much easier to read/maintain, if used properly.

    Back to this WTF:  The funny part is, in this app, there is a button or option (I forget which) which adds the "standard company style sheet" to the document.  Not a link, the actual text of the style sheet definitions! embedded in each page's HTML !!  Talk about defeating the purpose of a style sheet!  THAT is a major WTF .........

    Re: Welcome to the Real World

    2004-12-16 08:16 • by Mike R
    Wow.

    All I can say is ... wow.

    After using it for a brief 10 seconds (not recommended), I'd highly suggest finding a version of vi for windows, or even edlin.

    In fact. edlin is better [+o(]

    Seriously -- Talk about arrogance: "Hey-- UnderlingTM, I just got wind that you're using notepad again. I insist that you use my editor, Its better than notepad, and so very 1337"

    Re: Welcome to the Real World

    2004-12-17 06:42 • by
    I think the real WTF here is that Alex is hosting a ZIP archive for an application in the /IMAGES path of the web server [;)][;)]

    Re: Welcome to the Real World

    2004-12-29 17:37 • by
    I wonder what does the button with number "7" on it (left-middle)?

    Re: Welcome to the Real World

    2004-12-31 20:45 • by
    27212 in reply to 26614
    re: ado updating.



    I've fixed 3 apps now where the original developer used ado updating.
    Once the database started to get large (LAAAAAAAAAAAAAAAAAARGE), the
    update/addnew  code started running like a dog.



    I'd rather write stored procedures which do the insert. I like creating
    a stored proc and assigning a user execute access on it, rather than
    giving them access to insert/update the entire table.

    Re: Welcome to the Real World

    2005-04-23 18:37 • by rsynnott
    Does the window title flick quickly from being selected to unselected
    every time you move the mouse on a menu in Windows too, or is that just
    WINE being weird?

    Re: Welcome to the Real World

    2005-05-10 15:27 • by vmpstr
    34072 in reply to 26649

    gondalez:
    I like the tooltip for the HR button: "hard rule".  Also the box that turns eye smashingly red whenever you haven't saved your changes. It's the subtle things that make an application like this so great!


    Speaking of subtle things, I also like how the tabbing order just succeeds at having no pattern whatsoever. It seems like it does at the start (when tabbing through the bottom two rows of buttons), but then, at the end, it just switches.


    This is a brilliant editor.

    « PrevPage 1Next »

    Add Comment