Live data from Hacker News

Serverless QBasic

psuter.net

31–40 of 40 posts

Re: Serverless QBasic

#31
post #10

The suggestion to "use SYSTEM instead of END" is suspicious. SYSTEM spawns the system shell as a sub-process. If one would EXIT from the spawned command.com/cmd.exe, QBASIC would pop up back. I think a user of programs written in this way would find themselves surprised.

SYSTEM with no arguments exited BASIC.

SYSTEM with a string argument on some Microsoft BASICs spawned a shell that ran the command in the argument. On others, the SHELL command did this. (iirc mbasic on xenix used SHELL, GWbasic used SYSTEM with an argument.)

Re: Serverless QBasic

#32
post #18

This is very cool. I've often wished I could return to my roots of simply programming, and not being a server admin and dba. Am I the only who wishes we could deploy things like BASIC applications to a runtime in the cloud and be done with all these layers of abstraction and incidental complexity?

I get the nostalgia, but even though I started with BASIC (Applesoft BASIC as an 8-year-old in 1988), I wouldn't want to go back there. Structured, object-oriented, event-driven, and functional programming are all truly useful. Trying to choose the modern programming language with the least incidental complexity is enough IMO. Furthermore, the UI facilities that early microcomputer BASICs provided would not be accept…

Yeah, I meant web applications with the ease of developing and running a basic program of old. Sorry that wasn't clear.

Re: Serverless QBasic

#33
post #18

This is very cool. I've often wished I could return to my roots of simply programming, and not being a server admin and dba. Am I the only who wishes we could deploy things like BASIC applications to a runtime in the cloud and be done with all these layers of abstraction and incidental complexity?

I get the nostalgia, but even though I started with BASIC (Applesoft BASIC as an 8-year-old in 1988), I wouldn't want to go back there. Structured, object-oriented, event-driven, and functional programming are all truly useful. Trying to choose the modern programming language with the least incidental complexity is enough IMO. Furthermore, the UI facilities that early microcomputer BASICs provided would not be accept…

A web-based Apple Basic emulator can be found at:

http://www.calormen.com/jsbasic/

I taught some intro programming to my kid using this.

Re: Serverless QBasic

#34
post #33

Earlier quoted context omitted.

I get the nostalgia, but even though I started with BASIC (Applesoft BASIC as an 8-year-old in 1988), I wouldn't want to go back there. Structured, object-oriented, event-driven, and functional programming are all truly useful. Trying to choose the modern programming language with the least incidental complexity is enough IMO. Furthermore, the UI facilities that early microcomputer BASICs provided would not be accept…

A web-based Apple Basic emulator can be found at: http://www.calormen.com/jsbasic/ I taught some intro programming to my kid using this.

Source-code to draw a hamburger:

   70 REM draw hamburger 

   80 HGR2:HCOLOR=5

   100 for t = 1 to 50 step 0.01

   140 x = Sin(Tan(t))

   160 y = Cos(t) 

   180 xp = (x * 50) + 150

   190 yp = (y * 50) + 100

   200 HPLOT xp, yp TO xp, yp

   300 next t

Re: Serverless QBasic

#35
post #30
post #8

It’s slow. All those layers of abstraction exact their toll on latency, even on today’s monster systems. Reading the essay, my heart goes out to the author: he missed all those wonderful years in the ‘80’s and the early ‘90’s cracking protections, swapping, coding intros, watching demos and competing on the Commodore64, Commodore Amiga and the ATARI ST. He missed out on all the wonderful memories and all the action.…

The Rust Evangelism Strike Force has nothing on the remnants of the once-mighty civilization from the Lost Continent of Amiga. "Oh, you poor benighted soul, how I pity you. Do you not know that the gods spoke in 68000 assembly? If you've never programmed the Copper via a DMA transfer in response to a raster interrupt, then my friend, you haven't truly begun to live. "

I was firmly on the side of Atari ST, but I can't help but agree with you on this.

On the Atari side:

Switching screen refresh times in the middle of the line in order trick the graphics chip to not draw the border so you can fill the entire screen with graphics is something every developer should have done, the Amiga with its fancy copper didn't need this.

Re: Serverless QBasic

#36
post #30
post #8

It’s slow. All those layers of abstraction exact their toll on latency, even on today’s monster systems. Reading the essay, my heart goes out to the author: he missed all those wonderful years in the ‘80’s and the early ‘90’s cracking protections, swapping, coding intros, watching demos and competing on the Commodore64, Commodore Amiga and the ATARI ST. He missed out on all the wonderful memories and all the action.…

The Rust Evangelism Strike Force has nothing on the remnants of the once-mighty civilization from the Lost Continent of Amiga. "Oh, you poor benighted soul, how I pity you. Do you not know that the gods spoke in 68000 assembly? If you've never programmed the Copper via a DMA transfer in response to a raster interrupt, then my friend, you haven't truly begun to live. "

The Rust Evangelism Strike Force has nothing on the remnants of the once-mighty civilization from the Lost Continent of Amiga.

And that is good so, for it means that there are still hidden places on this world where the chaos and evil that is Rust hasn’t reached. May it stay hidden and unsullied by the Darkness, and may the Rust evangelism strike force never spread their foul language there!

Re: Serverless QBasic

#37
post #35
post #30

Earlier quoted context omitted.

The Rust Evangelism Strike Force has nothing on the remnants of the once-mighty civilization from the Lost Continent of Amiga. "Oh, you poor benighted soul, how I pity you. Do you not know that the gods spoke in 68000 assembly? If you've never programmed the Copper via a DMA transfer in response to a raster interrupt, then my friend, you haven't truly begun to live. "

I was firmly on the side of Atari ST, but I can't help but agree with you on this. On the Atari side: Switching screen refresh times in the middle of the line in order trick the graphics chip to not draw the border so you can fill the entire screen with graphics is something every developer should have done, the Amiga with its fancy copper didn't need this.

I have both, two Amigas and an ATARI Falcon 030. Do you know of any good hardware reference manuals for the ST?

Re: Serverless QBasic

#38
post #37
post #35

Earlier quoted context omitted.

I was firmly on the side of Atari ST, but I can't help but agree with you on this. On the Atari side: Switching screen refresh times in the middle of the line in order trick the graphics chip to not draw the border so you can fill the entire screen with graphics is something every developer should have done, the Amiga with its fancy copper didn't need this.

I have both, two Amigas and an ATARI Falcon 030. Do you know of any good hardware reference manuals for the ST?

The one that was the go-to manual back in the days was the Atari Compendium. I still have the book on my shelf.

I have seen digital versions (scans, I guess) floating around online. I don't know how complete they are.

There is still a demoscene for the Atari, although it's of course much smaller these days. You can find some pointers on our group's website: www.dhs.nu

Re: Serverless QBasic

#39
post #38
post #37

Earlier quoted context omitted.

I have both, two Amigas and an ATARI Falcon 030. Do you know of any good hardware reference manuals for the ST?

The one that was the go-to manual back in the days was the Atari Compendium. I still have the book on my shelf. I have seen digital versions (scans, I guess) floating around online. I don't know how complete they are. There is still a demoscene for the Atari, although it's of course much smaller these days. You can find some pointers on our group's website: www.dhs.nu

Wait, you’re from the Dead Hackers Society? Holy #$%*!, you guys are legends on the ST!

Re: Serverless QBasic

#40
post #39
post #38

Earlier quoted context omitted.

The one that was the go-to manual back in the days was the Atari Compendium. I still have the book on my shelf. I have seen digital versions (scans, I guess) floating around online. I don't know how complete they are. There is still a demoscene for the Atari, although it's of course much smaller these days. You can find some pointers on our group's website: www.dhs.nu

Wait, you’re from the Dead Hackers Society? Holy #$%*!, you guys are legends on the ST!

Yes, that's where my nickname comes from. :-)
Post reply on HN