• Blah (unregistered)

    Run... Run for the hills!!!

  • shepherd (unregistered)

    Hi Dean, welcome to my life.

  • (cs)

    <FONT face=Tahoma>wow... just wow... i'm surprised they haven't printed it out and placed in the wooden table... :D

    "there's more to ASP.NET than just .aspx extensions..." -me (i think)



    </FONT>

  • Shizzle (unregistered) in reply to xrT

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]

  • (cs)
    Alex Papadimoulis:


    Open up the Web Application in a web browser (the login page will appear)

    1. Go to the File menu and click Save As.
    2. In the File Name box, enter the page's name, but use an ASPX at the end (i.e. "login.aspx")
    3. Select "Web Page, Complete" from the File Type the Click OK
    4. Add the newly saved file (login.aspx) and it's corresponding folder (login_files) to the ASP.NET project
    5. Navigate through the application and repeat for every page

    Sweet!  I'm going to convert thedailywtf back to Java by following the steps in reverse order.

    Fifth I hope...

  • (cs)
    Alex Papadimoulis:

    ... after receiving his first assignment to make a minor change to 100+ Javascript and CSS files, Dean decided that this type enterprise is not the type of experience he's looking for.




    wow, too bad dead didn't know that UltraEdit [www.ultraedit.com] has a 'find & replace across files & directories' function.

    [i'm not a shill.  at least, not a piad one]
  • (cs)
    Alex Papadimoulis:
    To remain consistent, each page had a slightly different coding style and communicated with each other in a slightly different manner. Some of the central pages had to read input parameters (such as username) in the querystring, cookies, and session.

    I strive for such "individuality" in all my code segments.
  • Ben (unregistered)

    He passed up the opportunity of automating this 1218 step process.

  • (cs) in reply to xrT

    Wow, that is just insane!!

  • (cs)

    An enterprisey Web Jungle!

    But seriously, I do this all the time.  When I don't have the right codec or driver to view print or do whatever I want to do, I change the extension and it works.



  • (cs) in reply to Shizzle

    Anonymous:
    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    I would imagine it would make a static site.  Maybe that's the WTF.  Or are you just being sarcastic?

  • (cs) in reply to Bus Raker
    Bus Raker:

    Anonymous:
    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    I would imagine it would make a static site.  Maybe that's the WTF.  Or are you just being sarcastic?

    You mean, ASP.Net can be dynamic?  ;-)

  • (cs) in reply to isaphrael
    isaphrael:

    wow, too bad dead didn't know that UltraEdit [www.ultraedit.com] has a 'find & replace across files & directories' function.

    Well, that solves it then - if only he had used UltraEdit, it wouldn't have really been so bad.
  • my name is missing (unregistered) in reply to Bus Raker

    I've worked for managers like this in my previous job. This is enterprise-grade WTFery. Running away is the best defense strategy, as the developers will always be blamed for anything that goes wrong and the manager promoted.

  • Dazed (unregistered)

    Dilbert's PHB has been found. A team of six maintenance developers for goodness sake. Plenty of money available to have people doing something mindnumbingly stupid but none to sort the mess out. I'd sure like to have asked the PHB why a rewrite was out of the question.

    A thoroughly worthy WTF.

  • Will (unregistered)

    Will to live fading...

  • (cs) in reply to Ben

    Anonymous:
    He passed up the opportunity of automating this 1218 step process.

    Aren't there going to be a ba-zillion copies of the common graphics etc.?

     

    [<b>edited by:</b> Bus Raker at 2:57 PM (GMT -5) on Mon, Jun 19 2006]
    Oops .. there's 6, and 1218 is a multiple of 6.  My bad.

     

  • rammadman (unregistered)

    I would have used a crawler like web whacker and resticted to the site, and have a static picture of site in minutes.

    Then calclulated the time it would have take and devote the time to find a new job!

     

    WTF- rewrite is off the table, for a conversion!!!!

     

  • (cs) in reply to Bus Raker

    this does seem like something straight out of dilbert.

  • Television God (unregistered)
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">2</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1551.html">Wal-Mart Stores</a>
    			</td>
    			<td class="revenue">315,654.0</td>
    			<td class="datacell">11,231.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">3</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/563.html">General Motors</a>
    			</td>
    			<td class="revenue">192,604.0</td>
    			<td class="datacell">-10,600.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">4</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/290.html">Chevron</a>
    			</td>
    			<td class="revenue">189,481.0</td>
    			<td class="datacell">14,099.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">5</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/529.html">Ford Motor</a>
    			</td>
    			<td class="revenue">177,210.0</td>
    			<td class="datacell">2,024.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">6</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1050.html">ConocoPhillips</a>
    			</td>
    			<td class="revenue">166,683.0</td>
    			<td class="datacell">13,529.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">7</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/561.html">General Electric</a>
    			</td>
    			<td class="revenue">157,153.0</td>
    			<td class="datacell">16,353.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">8</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/309.html">Citigroup</a>
    			</td>
    			<td class="revenue">131,045.0</td>
    			<td class="datacell">24,589.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">9</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/88.html">American Intl. Group</a>
    			</td>
    			<td class="revenue">108,905.0</td>
    			<td class="datacell">10,477.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">10</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/676.html">Intl. Business Machines</a>
    			</td>
    			<td class="revenue">91,134.0</td>
    			<td class="datacell">7,934.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">11</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/625.html">Hewlett-Packard</a>
    			</td>
    			<td class="revenue">86,696.0</td>
    			<td class="datacell">2,398.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">12</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/164.html">Bank of America Corp.</a>
    			</td>
    			<td class="revenue">83,980.0</td>
    			<td class="datacell">16,465.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">13</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/194.html">Berkshire Hathaway</a>
    			</td>
    			<td class="revenue">81,663.0</td>
    			<td class="datacell">8,528.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">14</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1366.html">Home Depot</a>
    			</td>
    			<td class="revenue">81,511.0</td>
    			<td class="datacell">5,838.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">15</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1521.html">Valero Energy</a>
    			</td>
    			<td class="revenue">81,362.0</td>
    			<td class="datacell">3,590.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">16</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/850.html">McKesson</a>
    			</td>
    			<td class="revenue">80,514.6</td>
    			<td class="datacell">-156.7</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">17</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1871.html">J.P. Morgan Chase &amp; Co.</a>
    			</td>
    			<td class="revenue">79,902.0</td>
    			<td class="datacell">8,483.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">18</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1525.html">Verizon Communications</a>
    			</td>
    			<td class="revenue">75,111.9</td>
    			<td class="datacell">7,397.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">19</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/257.html">Cardinal Health</a>
    			</td>
    			<td class="revenue">74,915.1</td>
    			<td class="datacell">1,050.7</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">20</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1047.html">Altria Group</a>
    			</td>
    			<td class="revenue">69,148.0</td>
    			<td class="datacell">10,435.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">21</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1370.html">Kroger</a>
    			</td>
    			<td class="revenue">60,552.9</td>
    			<td class="datacell">958.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">22</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1270.html">State Farm Insurance Cos</a>
    			</td>
    			<td class="revenue">59,223.9</td>
    			<td class="datacell">3,241.8</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">23</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1518.html">Marathon Oil</a>
    			</td>
    			<td class="revenue">58,958.0</td>
    			<td class="datacell">3,032.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">24</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1389.html">Procter &amp; Gamble</a>
    			</td>
    			<td class="revenue">56,741.0</td>
    			<td class="datacell">7,257.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">25</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/406.html">Dell</a>
    			</td>
    			<td class="revenue">55,908.0</td>
    			<td class="datacell">3,572.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">26</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1344.html">Boeing</a>
    			</td>
    			<td class="revenue">54,848.0</td>
    			<td class="datacell">2,572.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">27</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/95.html">AmerisourceBergen</a>
    			</td>
    			<td class="revenue">54,589.6</td>
    			<td class="datacell">264.6</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">28</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/371.html">Costco Wholesale</a>
    			</td>
    			<td class="revenue">52,935.2</td>
    			<td class="datacell">1,063.1</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">29</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1310.html">Target</a>
    			</td>
    			<td class="revenue">52,620.0</td>
    			<td class="datacell">2,408.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">30</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/905.html">Morgan Stanley</a>
    			</td>
    			<td class="revenue">52,498.0</td>
    			<td class="datacell">4,939.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">31</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1042.html">Pfizer</a>
    			</td>
    			<td class="revenue">51,353.0</td>
    			<td class="datacell">8,085.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">32</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/716.html">Johnson &amp; Johnson</a>
    			</td>
    			<td class="revenue">50,514.0</td>
    			<td class="datacell">10,411.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">33</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/749.html">Sears Holdings</a>
    			</td>
    			<td class="revenue">49,124.0</td>
    			<td class="datacell">858.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">34</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/865.html">Merrill Lynch</a>
    			</td>
    			<td class="revenue">47,783.0</td>
    			<td class="datacell">5,116.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">35</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1886.html">MetLife</a>
    			</td>
    			<td class="revenue">46,983.0</td>
    			<td class="datacell">4,714.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">36</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1357.html">Dow Chemical</a>
    			</td>
    			<td class="revenue">46,307.0</td>
    			<td class="datacell">4,515.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">37</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1499.html">UnitedHealth Group</a>
    			</td>
    			<td class="revenue">45,365.0</td>
    			<td class="datacell">3,300.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">38</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/111.html">Wellpoint</a>
    			</td>
    			<td class="revenue">45,136.0</td>
    			<td class="datacell">2,463.8</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">39</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1182.html">AT&amp;T</a>
    			</td>
    			<td class="revenue">43,862.0</td>
    			<td class="datacell">4,786.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">40</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1619.html">Time Warner</a>
    			</td>
    			<td class="revenue">43,652.0</td>
    			<td class="datacell">2,905.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">41</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/575.html">Goldman Sachs Group</a>
    			</td>
    			<td class="revenue">43,391.0</td>
    			<td class="datacell">5,626.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">42</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/804.html">Lowe's</a>
    			</td>
    			<td class="revenue">43,243.0</td>
    			<td class="datacell">2,771.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">43</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1498.html">United Technologies</a>
    			</td>
    			<td class="revenue">42,725.0</td>
    			<td class="datacell">3,069.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">44</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1493.html">United Parcel Service</a>
    			</td>
    			<td class="revenue">42,581.0</td>
    			<td class="datacell">3,870.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">45</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1549.html">Walgreen</a>
    			</td>
    			<td class="revenue">42,201.6</td>
    			<td class="datacell">1,559.5</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">46</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1561.html">Wells Fargo</a>
    			</td>
    			<td class="revenue">40,407.0</td>
    			<td class="datacell">7,671.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">47</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/50.html">Albertson's</a>
    			</td>
    			<td class="revenue">40,397.0</td>
    			<td class="datacell">446.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">48</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/879.html">Microsoft</a>
    			</td>
    			<td class="revenue">39,788.0</td>
    			<td class="datacell">12,254.0</td>
    		</tr>
    	
    		
    		
    			
    		
    		<tr id="tablerow" class="rowColor2">
    			<td class="rank">49</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/672.html">Intel</a>
    			</td>
    			<td class="revenue">38,826.0</td>
    			<td class="datacell">8,664.0</td>
    		</tr>
    	
    		
    		
    		<tr id="tablerow" class="rowColor1">
    			<td class="rank">50</td>
    			<td class="company">
    				<a href="http://money.cnn.com/magazines/fortune/fortune500/snapshots/1165.html">Safeway</a>
    			</td>
    			<td class="revenue">38,416.0</td>
    			<td class="datacell">561.1</td></tr></tbody></table><br>Well, at least he narrowed it down (and I've worked with 5 companies out of this list and haven't seen that app).<br>
    




    1
    Exxon Mobil 339,938.0 36,130.0
  • (cs)

    People I work with have this same sort of odd compulsion.  They wish to update a project done in revision 1.1 of our framework to the 2.0 revision (not related to .NET 1.1 vs. 2.0)

    The amount of work necessary to port the code up that high (1.2 and 1.3 were non-trivial minor revisions of the framework and changed certain areas of the entire system pretty deeply; however none of them really marked a major version upgrade like 2.0 has) is a lot less than starting over from scratch and bringing the rules and customizations in.

    But yet they insist.  Especially when all of the hacks that were needed in an earlier revision of the base code to get X to work are completely useless now that X is in the framework itself.

  • Television God (unregistered) in reply to Bus Raker

    FWIW, I would have rewritten the site anyway on my own time.  When el senior management comes by to see the progress, show them the enhancements to see if they are good to go---THEN drop the bomb that you rewrote everything.

    They can either go back to fixing all that old crap, or suck it up and switch to the new crap.  It's a tactic that has always worked every time I used it.  If it hurts your bonus/salary raise then just run around the PHB and have a 1-1 with the VEEP who approved the changes originally.  Be political!  It's not like they really care that you stay there.

    For all the PHB whining that goes on out there, you will discover that you can combat some of it if you are just a bit more aggressive, forceful and convincing (not conniving)--exactly the material "Management" looks for.

  • el jaybird (unregistered) in reply to Television God

    Sheesh.  A team of 6, eh?  I would have talked to them about banding together and mutinying by rewriting everything proper.  With the amount of WTF'ery going on here, I bet the ol' boss wouldn't even notice.

    Captcha: Genius

  • (cs)

    What's the point in converting from JSP to ASP anyway? Isn't JSP more enterprisy?

  • Bob Smith (unregistered) in reply to Television God
    Anonymous:
    FWIW, I would have rewritten the site anyway on my own time.  When el senior management comes by to see the progress, show them the enhancements to see if they are good to go---THEN drop the bomb that you rewrote everything.


    Im pretty sure my girlfriend would disown me if i spent my free time rewriting a "enterprise" web application.
  • Shizzle (unregistered) in reply to Shizzle
    Anonymous:

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]


    Sheeesh, the real WTF is converting to ASP.NET at all.  I mean really, what do you gain?

    But given some PHB decided they needed to do that, isn't it easier to modify the Java in the JSP to the equivalent code in ASP?  There should almost be a 1-1 match between those two in most constructs  and objects.  I think it much more difficult to work with html output and try to figure out where the loops/logic/etc go, and what they were calling and what queries they were running, etc.  Oh never mind, even my attempts at understanding how to do this the right way justify a WTF!

  • I don't Get it (unregistered)



    I find it pretty amazing how many of you say you would up an quit. Maybe its just me but if you have the attitude of "my boss told me to do something that is stupid so i will just quit" why not go for broke and tell him its stupid. Say this isn't the best way of doing things, here are the reasons why, and here is the way it should be done.

    This site is full of stories about programmers that would rather cut and run then try to make it better. Thats the real WTF.

  • Bob Smith (unregistered) in reply to I don't Get it
    Anonymous:


    I find it pretty amazing how many of you say you would up an quit. Maybe its just me but if you have the attitude of "my boss told me to do something that is stupid so i will just quit" why not go for broke and tell him its stupid. Say this isn't the best way of doing things, here are the reasons why, and here is the way it should be done.

    This site is full of stories about programmers that would rather cut and run then try to make it better. Thats the real WTF.


    You've obviously never worked for a company that KNOWS its crappy, but wont invest the time and money to do it the right way. He said in the post that he was told 4 times that there would be no rewrite. its obvious his manager KNEW it needed it.

    CAPTCHA : tps
  • Swanny (unregistered) in reply to Shizzle
    Anonymous:
    Anonymous:

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]


    Sheeesh, the real WTF is converting to ASP.NET at all.  I mean really, what do you gain?

    But given some PHB decided they needed to do that, isn't it easier to modify the Java in the JSP to the equivalent code in ASP?  There should almost be a 1-1 match between those two in most constructs  and objects.  I think it much more difficult to work with html output and try to figure out where the loops/logic/etc go, and what they were calling and what queries they were running, etc.  Oh never mind, even my attempts at understanding how to do this the right way justify a WTF!

    What do you gain?  You're comparing ASP 3.0/JSP to ASP.Net and are asking the question what do you gain?  Of course I agree that this was not the best upgrade path, but we've upgraded lots of apps to ASP.Net to take advantage of the tonnes of features/classes/functionality that is available in asp.net right out of the box.

  • Shizzle (unregistered) in reply to I don't Get it
    Anonymous:


    I find it pretty amazing how many of you say you would up an quit. Maybe its just me but if you have the attitude of "my boss told me to do something that is stupid so i will just quit" why not go for broke and tell him its stupid. Say this isn't the best way of doing things, here are the reasons why, and here is the way it should be done.

    This site is full of stories about programmers that would rather cut and run then try to make it better. Thats the real WTF.

    This reminds me of that experiment done with rats, where the manager electrifies some cheese, and everytime the rat tries to eat the cheese, it gets shocked.  After some time, the rat learns that the cheese is going to cause a great deal of pain, and they decide to find something else to eat.  I imagine programmers are at least as smart as these rats, and have similarly decided to stop chomping on the electrified cheese, and go look for a better hunk of cheese elsewhere.
  • Eric L (unregistered) in reply to Bob Smith

    Anonymous:

    You've obviously never worked for a company that KNOWS its crappy, but wont invest the time and money to do it the right way. He said in the post that he was told 4 times that there would be no rewrite. its obvious his manager KNEW it needed it.

    Right, and that is all the more reason to make sure you seriously torture that manager for staying at a job where his superiors are so dumb, and he has no spine to contradict them BEFORE you cut and run :D

  • bimbo69 (unregistered)

    How would you smartasses QUICKLY convert a jsp application to an aspx application ?!

    Well, image files and css's should be in one (two) folders, but the rest is fine.

     

    1. Open up the Web Application in a web browser (the login page will appear)
    2. Go to the File menu and click Save As.
    3. In the File Name box, enter the page's name, but use an ASPX at the end (i.e. "login.aspx")
    4. Select "Web Page, Complete" from the File Type the Click OK
    5. Add the newly saved file (login.aspx) and it's corresponding folder (login_files) to the ASP.NET project
    6. Edit the ASPX page and add the appropriate server-side code
    7. Navigate through the application and repeat for every page

     

     

  • Television God (unregistered) in reply to Eric L
    Anonymous:

    Anonymous:

    You've obviously never worked for a company that KNOWS its crappy, but wont invest the time and money to do it the right way. He said in the post that he was told 4 times that there would be no rewrite. its obvious his manager KNEW it needed it.

    Right, and that is all the more reason to make sure you seriously torture that manager for staying at a job where his superiors are so dumb, and he has no spine to contradict them BEFORE you cut and run :D



    Repeating the non-sensical means I will do the nonsensical.  It's a publicly held company, not the military.  Just play the political game.  You might not survive... but if you want to cut and run anyway what's the point in not trying to end-run around the idiots?
  • Shizzle (unregistered) in reply to Swanny
    Anonymous:
    Anonymous:
    Anonymous:

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]


    Sheeesh, the real WTF is converting to ASP.NET at all.  I mean really, what do you gain?

    But given some PHB decided they needed to do that, isn't it easier to modify the Java in the JSP to the equivalent code in ASP?  There should almost be a 1-1 match between those two in most constructs  and objects.  I think it much more difficult to work with html output and try to figure out where the loops/logic/etc go, and what they were calling and what queries they were running, etc.  Oh never mind, even my attempts at understanding how to do this the right way justify a WTF!

    What do you gain?  You're comparing ASP 3.0/JSP to ASP.Net and are asking the question what do you gain?  Of course I agree that this was not the best upgrade path, but we've upgraded lots of apps to ASP.Net to take advantage of the tonnes of features/classes/functionality that is available in asp.net right out of the box.



    I didn't realize it came in a box!  (Are you a sales droid?  Those are the only types who talk about how great a product is "out of the box")  Also, I didn't realize Java was so crippled.  Yeesh!  I guess you have to have Microsoft write all your features/classes/functionality and put it in the box for you?  Oh well, no point arguing with microsoft borgs, heh.

  • bimbo69 (unregistered) in reply to Television God

    WRONG! Where are non-US companies ?

     




    1
    <FONT color=#02469b>Exxon Mobil</FONT> 339,938.0 36,130.0
    2 <FONT color=#02469b>Wal-Mart Stores</FONT> 315,654.0 11,231.0
    3 <FONT color=#02469b>General Motors</FONT> 192,604.0 -10,600.0

  • Tom Robinson (unregistered)

    This reminds me of an episode of This Old House (looked like it was from the 80s) where they were talking about how they used computers to create staircases.

    To get a drawing to the computer controlled router they have to:

    1. draw the part on a computer CAD system
    2. print it out on a plotter
    3. take it to a digitizing board where they have to manually pick the important points of the drawing
    4. put that info into another computer
    5. export the data on a punched paper tape
    6. feed the paper tape to the routing machine

    Captcha: 1337

  • (cs) in reply to Television God
    Anonymous:

    Repeating the non-sensical means I will do the nonsensical.  It's a publicly held company, not the military.  Just play the political game.  You might not survive... but if you want to cut and run anyway what's the point in not trying to end-run around the idiots?


    And if you stick around playing the game, you've got a item on your resume that will be a net negative in the future, rather than cutting and running and finding something that will be a net positive.

    Biggest mistake in my life was not realizing what a dysfunctional organization SunGard Trading Systems was until I'd been there a year.  I hired a guy who realized it was dysfunctional after a week and quit and went back to his old job - I don't know if he stayed there, but I'll bet you anything he doesn't mention SunGard on his resume.

  • sdasdfgsdgsdg (unregistered) in reply to Shizzle
    Anonymous:
    Anonymous:

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]


    Sheeesh, the real WTF is converting to ASP.NET at all.  I mean really, what do you gain?

    But given some PHB decided they needed to do that, isn't it easier to modify the Java in the JSP to the equivalent code in ASP?  There should almost be a 1-1 match between those two in most constructs  and objects.  I think it much more difficult to work with html output and try to figure out where the loops/logic/etc go, and what they were calling and what queries they were running, etc.  Oh never mind, even my attempts at understanding how to do this the right way justify a WTF!

    JSP can use things like Servlets, classes, EJBs; things that the whole J2EE framework provides.  Those things have no real equivalent in classic ASP.
  • (cs) in reply to Shizzle
    Anonymous:
    Anonymous:
    Anonymous:
    Anonymous:

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]


    Sheeesh, the real WTF is converting to ASP.NET at all.  I mean really, what do you gain?

    But given some PHB decided they needed to do that, isn't it easier to modify the Java in the JSP to the equivalent code in ASP?  There should almost be a 1-1 match between those two in most constructs  and objects.  I think it much more difficult to work with html output and try to figure out where the loops/logic/etc go, and what they were calling and what queries they were running, etc.  Oh never mind, even my attempts at understanding how to do this the right way justify a WTF!

    What do you gain?  You're comparing ASP 3.0/JSP to ASP.Net and are asking the question what do you gain?  Of course I agree that this was not the best upgrade path, but we've upgraded lots of apps to ASP.Net to take advantage of the tonnes of features/classes/functionality that is available in asp.net right out of the box.



    I didn't realize it came in a box!  (Are you a sales droid?  Those are the only types who talk about how great a product is "out of the box")  Also, I didn't realize Java was so crippled.  Yeesh!  I guess you have to have Microsoft write all your features/classes/functionality and put it in the box for you?  Oh well, no point arguing with microsoft borgs, heh.

     

    I don't recall bad-mouthing Java at all!  Don't know where you got that impression.  Java has a bunch of great functionality as well.  An no, I don't need MS to write all of my functionality for me, but if some of that functionality is already at my disposal we reinvent the wheel?  I've worked with your type too: You hate to use anyone elses code and would reather re-implement something over using a component or built-in functionality.  Oh well, no point arguing with anti-microsoft types, heh.

  • sdasdfgsdgsdg (unregistered) in reply to Benanov
    Benanov:
    People I work with have this same sort of odd compulsion.  They wish to update a project done in revision 1.1 of our framework to the 2.0 revision (not related to .NET 1.1 vs. 2.0)

    The amount of work necessary to port the code up that high (1.2 and 1.3 were non-trivial minor revisions of the framework and changed certain areas of the entire system pretty deeply; however none of them really marked a major version upgrade like 2.0 has) is a lot less than starting over from scratch and bringing the rules and customizations in.

    But yet they insist.  Especially when all of the hacks that were needed in an earlier revision of the base code to get X to work are completely useless now that X is in the framework itself.
    There are no 1.2 and 1.3 versions of the .NET framework.
  • Bob Smith (unregistered) in reply to Shizzle
    Anonymous:
    Anonymous:
    Anonymous:
    Anonymous:

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]


    Sheeesh, the real WTF is converting to ASP.NET at all.  I mean really, what do you gain?

    But given some PHB decided they needed to do that, isn't it easier to modify the Java in the JSP to the equivalent code in ASP?  There should almost be a 1-1 match between those two in most constructs  and objects.  I think it much more difficult to work with html output and try to figure out where the loops/logic/etc go, and what they were calling and what queries they were running, etc.  Oh never mind, even my attempts at understanding how to do this the right way justify a WTF!

    What do you gain?  You're comparing ASP 3.0/JSP to ASP.Net and are asking the question what do you gain?  Of course I agree that this was not the best upgrade path, but we've upgraded lots of apps to ASP.Net to take advantage of the tonnes of features/classes/functionality that is available in asp.net right out of the box.



    I didn't realize it came in a box!  (Are you a sales droid?  Those are the only types who talk about how great a product is "out of the box")  Also, I didn't realize Java was so crippled.  Yeesh!  I guess you have to have Microsoft write all your features/classes/functionality and put it in the box for you?  Oh well, no point arguing with microsoft borgs, heh.



    ...here come the whiney slash-dotters
  • DocLogic (unregistered) in reply to my name is missing

    Anonymous:
    I've worked for managers like this in my previous job. This is enterprise-grade WTFery. Running away is the best defense strategy, as the developers will always be blamed for anything that goes wrong and the manager promoted.

    These decisions are ALWAYS the manager's fault. Either the manager forced the team into this situation by not providing the right tools, mandating the approach, or hiring idiots (or perhaps a combination of these). This is an extreme case, no doubt, but there are far too many bad decisions made by the wrong people that ultimately result in horrible systems. And in the end, the last developer to touch it right before it collapses is the one that gets blamed.

     

  • sdasdfgsdgsdg (unregistered) in reply to sdasdfgsdgsdg

    Whoops, sorry, misread your post.

  • (cs) in reply to sdasdfgsdgsdg
    Anonymous:
    There are no 1.2 and 1.3 versions of the .NET framework.


    RTFP.  Notice the word our before the word framework. My company has a base framework for projects that is maintained by a different department.

    Sorry, please try again.


  • Shizzle (unregistered) in reply to kswanton
    kswanton:
    Anonymous:
    Anonymous:
    Anonymous:
    Anonymous:

    How would this conversion even work.  All you are going to do is get a snapshot of what the page looked like for that particular run.  I mean, the jsp would have to have code to dynamically generate the page, and saving the page would lose all that.  This technique won't work at all, but this WTF implies that it had already been done?  So was it in production?  Were they still working on adding back the dynamic code to the asp pages?  I just don't get it, this would never work, never.

    [Note from Alex: Looking back, I realize it wasn't obvious from the write-up that they added coding to the ASPX pages saved -- I've updated the post with this as a step]


    Sheeesh, the real WTF is converting to ASP.NET at all.  I mean really, what do you gain?

    But given some PHB decided they needed to do that, isn't it easier to modify the Java in the JSP to the equivalent code in ASP?  There should almost be a 1-1 match between those two in most constructs  and objects.  I think it much more difficult to work with html output and try to figure out where the loops/logic/etc go, and what they were calling and what queries they were running, etc.  Oh never mind, even my attempts at understanding how to do this the right way justify a WTF!

    What do you gain?  You're comparing ASP 3.0/JSP to ASP.Net and are asking the question what do you gain?  Of course I agree that this was not the best upgrade path, but we've upgraded lots of apps to ASP.Net to take advantage of the tonnes of features/classes/functionality that is available in asp.net right out of the box.



    I didn't realize it came in a box!  (Are you a sales droid?  Those are the only types who talk about how great a product is "out of the box")  Also, I didn't realize Java was so crippled.  Yeesh!  I guess you have to have Microsoft write all your features/classes/functionality and put it in the box for you?  Oh well, no point arguing with microsoft borgs, heh.

    I don't recall bad-mouthing Java at all!  Don't know where you got that impression.  Java has a bunch of great functionality as well.  An no, I don't need MS to write all of my functionality for me, but if some of that functionality is already at my disposal we reinvent the wheel?  I've worked with your type too: You hate to use anyone elses code and would reather re-implement something over using a component or built-in functionality.  Oh well, no point arguing with anti-microsoft types, heh.


    My point was Java has everythign you need, and "upgrading" a Java application to .NET isn't really much of an upgrade, and is almost guaranteed to be more a pain in the butt that it is worth.  I have no problem using someone else's code, I just prefer to be able to pick what code I'm going to use.  Java has plenty of frameworks both free and for sale out there, but as far as I have seen, with .NET you are stuck mostly with Microsoft's vision on how things are supposed to work.
  • Indiaformatix (unregistered) in reply to Bob Smith

    Anonymous:
    Anonymous:
    FWIW, I would have rewritten the site anyway on my own time.  When el senior management comes by to see the progress, show them the enhancements to see if they are good to go---THEN drop the bomb that you rewrote everything.


    Im pretty sure my girlfriend would disown me if i spent my free time rewriting a "enterprise" web application.

    HA HA! Best joke of the day! No one who posts, let alone reads, this website has a girlfriend!

  • (cs)

    You folks aren't thinking enterprise-y enough....

    The static pages are dynamically generated every time. Then the asp code is stream-edited into them on-the-fly. There is, of course, the extensible option in the system to print out the resulting pages (they fall onto a wooden table), a timer snaps a digital image, which is then returned to the users' browser as a gif in a page with nothing but mapped sensitive areas.

  • Mark H (unregistered)

    I don't get it...is this another case of missing source code?

  • (cs) in reply to qqqqqq
    qqqqqq:

    You folks aren't thinking enterprise-y enough....

    The static pages are dynamically generated every time. Then the asp code is stream-edited into them on-the-fly. There is, of course, the extensible option in the system to print out the resulting pages (they fall onto a wooden table), a timer snaps a digital image, which is then returned to the users' browser as a gif in a page with nothing but mapped sensitive areas.


    I think you've got something here -- more user involvement. Why not have the user do the conversion from JSP to static HTML, print whatever they need (digital image on wooden table, etc.), fill out the forms manually (including the login? what security!), and submit the paper? Tech-savvy users could use a scanner to submit a scanned image via e-mail.

    Don't know what form the response pages would take.
  • l1fel1ne (unregistered) in reply to Television God

    Or instead of telling them that you re-wrote it, you put it in place without telling them (would they really notice?).

    Then when you're "making fixes" you and the other devs find creative ways to waste your time ;)

Leave a comment on “Enterprise Conversion Quirks”

Log In or post as a guest

Replying to comment #:

« Return to Article