[HN Gopher] DOS on Dope: The last MVC web framework you'll ever ...
       ___________________________________________________________________
        
       DOS on Dope: The last MVC web framework you'll ever need (2010)
        
       Author : thunderbong
       Score  : 86 points
       Date   : 2023-12-20 08:20 UTC (1 days ago)
        
 (HTM) web link (secretgeek.net)
 (TXT) w3m dump (secretgeek.net)
        
       | j4yav wrote:
       | I built a few websites with this, but to be honest I found a few
       | of the architectural decisions to be quite limiting. I wired in
       | gwbasic as an escape hatch (it gave me the equivalent of an eval
       | in batch) and it let me do what I needed. The only pain was
       | needing to print out the websites for distribution.
       | 
       | Kidding aside, I love this. Once I built a GitLab runner that
       | would execute a .gitlab-ci.yaml script written in Commodore
       | BASIC. You feel like a mad genius when it all comes together.
        
         | rubicks wrote:
         | That's awesome. At my last job, I created a Makefile-driven
         | abomination that would, for a specific form of shell script,
         | generate .gitlab-ci.yaml fragment and "link" them together. I'm
         | equal parts proud and ashamed.
        
           | ilc wrote:
           | I've got one worse.
           | 
           | For those who know Clearcase, and winking in. Well, there was
           | a team that had a 2 hour java build and they were suffering.
           | Nothing was working right.
           | 
           | One could argue that using Clearcase and Clearmake was the
           | error.. and even back then as a PFY I'd agree.
           | 
           | But help them I must. So I wrote a makefile, that wrote
           | makefiles, that would then compile all the code into /tmp,
           | and copy the jar back into place.
           | 
           | Because... Clearcase tracks every file you touch, it is
           | critical, you ONLY touch your inputs, do not produce extra
           | .class files where it can see them, or you'll end up with a
           | bunch of files all interdependent and confused.
           | 
           | Their build went from ~2hrs to about ~5 minutes when I was
           | done. Less if it "winked" in everything.
           | 
           | ... The amount of good, stupid can do is amazing.
        
             | zaphar wrote:
             | I don't know, Most stories like this sound more like
             | "clever" than "stupid" to me. You have a set of constraints
             | and some tools. You use those tools to workaround/within
             | those constraints to solve a problem.
             | 
             | Clearcase being a tire fire is "stupid". But your solution
             | is "clever"
        
             | rubicks wrote:
             | Stupid tools need stupid fixes. I will die on this hill.
        
               | pasc1878 wrote:
               | In this case the stupid tool is Java.
               | 
               | What clear case did was correct for C/C++ and possibly
               | Pascal and Ada and run by makefiles. Clearcase would spot
               | which header files were used in your code and only
               | recompiled if you changed those headers and if someone
               | else used the same code and headers clear case would give
               | them the .o file it had compiled for you. (no having to
               | generate .dep files). As local machines got faster this
               | became less of a speedup.
               | 
               | In the latter all dependency tracking was not part of the
               | language so it could be left to clear case.
               | 
               | Java does its own dependency tracking and so did cleanse
               | on the server so you get the mess. Clearcase is not
               | necessarily at fault here it just was not designed for
               | Java.
        
               | ilc wrote:
               | Clearcase is 100% to blame here. It made assumptions and
               | the world changed.
               | 
               | And when it changed... Clearcase did not degrade
               | gracefully. It was a full on collapse.
        
       | ilovetux wrote:
       | > Whenever I've opened up a DoD website to several users, my hard
       | drive tends to get wiped long before I discover performance
       | issues.
       | 
       | I love the sense of humor on this site.
        
       | pelagicAustral wrote:
       | Reminded me of COBOL on Wheelchair:
       | https://github.com/azac/cobol-on-wheelchair
        
         | ketralnis wrote:
         | Or COBOL on COGS http://www.coboloncogs.org/INDEX.HTM
        
         | t0mek wrote:
         | Trivia: this one was created by Adrian Zandberg, currently a
         | Polish MP.
        
       | elliottcarlson wrote:
       | There was also Bash on Balls, in case you don't have that shiny
       | cmd.exe on your machine
       | 
       | https://github.com/jneen/balls
        
         | veganjay wrote:
         | There's also Bask (bash + flask). It's a CTF challenge on day 8
         | of HackVent (1). It's based off an article on building a bash
         | web server (2).
         | 
         | 1. https://hv23.idocker.hacking-lab.com/
         | 
         | 2. https://dev.to/leandronsp/building-a-web-server-in-bash-
         | part...
        
         | riffraff wrote:
         | Let's not forget COBOL on COGS
         | 
         | http://www.coboloncogs.org/HOME.HTM
        
           | myth2018 wrote:
           | There's also Cobol on Wheelchair[0], although they didn't
           | follow the good name abbreviation practice.
           | 
           | [0] https://github.com/azac/cobol-on-wheelchair
        
       | dang wrote:
       | Related:
       | 
       |  _DOS on DOPE_ - https://news.ycombinator.com/item?id=32970096 -
       | Sept 2022 (18 comments)
       | 
       |  _DOS on Dope (2010)_ -
       | https://news.ycombinator.com/item?id=29962658 - Jan 2022 (67
       | comments)
       | 
       |  _DOS on Dope_ - https://news.ycombinator.com/item?id=24826251 -
       | Oct 2020 (2 comments)
       | 
       |  _DOS on Dope: The last MVC web framework you 'll ever need_ -
       | https://news.ycombinator.com/item?id=1666580 - Sept 2010 (20
       | comments)
        
       | unleaded wrote:
       | Does it actually run on DOS? or just Windows command prompt
        
         | hans_castorp wrote:
         | Many people mistake the Windows command line as being "DOS"
        
       | oooyay wrote:
       | > Does it scale?
       | 
       | > So far I haven't run into any performance problems. Whenever
       | I've opened up a DoD website to several users, my hard drive
       | tends to get wiped long before I discover performance issues.
       | 
       | I was floored by this dead panning
        
       | bdcravens wrote:
       | While satirical, this was around the time when building Rails-
       | like frameworks was the rage. I was doing ColdFusion at the time,
       | and tried out the Rails clone, CFWheels. Grokking many of the
       | Rails concepts in a language I was familiar with led me to the
       | original, which is where I do most of my work today.
        
       | EliRivers wrote:
       | Terry Davis in the comments. That was just the kind of thing that
       | he'd like, poor soul.
        
         | LeonB wrote:
         | Author here. Thank you for pointing that out. I didn't know who
         | Terry Davis was -- but I had heard of TempleOS and now I have
         | some more reading to do. Much appreciated.
        
       | dang wrote:
       | (sort of) related ongoing thread:
       | 
       |  _How to run a DOS-based web server_ -
       | https://news.ycombinator.com/item?id=38705747 - Dec 2023 (20
       | comments)
        
       | naikrovek wrote:
       | This is unhinged and I appreciate this on that trait alone.
        
       | haolez wrote:
       | On a more serious note, what would be a (mostly?) sane way to do
       | something like this on DOS? TurnoC? TurboPascal? What was the
       | "web tooling story" of those toolkits?
        
       | LeonB wrote:
       | Author here. I'm pleased to see DOS on Dope reaching new
       | generations. This thing will outlive me, and I'm happy about
       | that.
       | 
       | A few days ago at work, building an internal website for a
       | customer, I designed a feature which involved executing a console
       | app in another folder.
       | 
       | My fellow dev, a little younger than I, balked at the idea and
       | said "are you sure web sites can even do that?"
       | 
       | A distant, dreamy look washed over my eyes, visions of 'DOS on
       | Dope' shimmered inside the brain,
       | 
       | The words "are you sure web sites can do that?" echoed over and
       | over, reflecting around and around inside the porcelain dome of
       | the skull...
       | 
       | Strange mathematical symbols like ">", ":\", and "|" appeared and
       | disappeared within the mind's flickering cathode ray tube, and I
       | said:
       | 
       | "Yep."
        
         | topato wrote:
         | The only comment you'll ever need on this , might as well close
         | up the other threads and turn back now.
        
       ___________________________________________________________________
       (page generated 2023-12-21 23:00 UTC)