Conversation

Alice Averlong🏳️‍⚧️

lazyweb:
imagine you need to make an HTML page that just shows a simple form, which'll do a simple request to a backend API when the user clicks the OK button.

but you don't want to write raw HTML, use AI, or use anything cloud-hosted.

What would you use to generate this?

9
0
0

@foone why would you not do this in raw html? I can't think of any alternative that would be less work

1
0
0

@azonenberg cause I'm burnt out on HTML at the moment

0
0
0

@foone ok but why don't you want to write raw html because this is like four lines of html

1
0
0

@foone if you want it to not look like a compsci professor's website it might be like 12 lines of html

0
0
0

@foone ask someone i know to write the html

1
0
0

@foone i'm sure one of the 34K people who follow you will do it happily

0
0
0

@foone

A long URL that submits a form?

So there is no form just a page that you can send things to like

myurl. com/lazy.php?name=Alice

1
0
0

@futurebird @foone hey alice if you say what the form needs to have on it I'm sure a lot of people would be willing to write the html for you

for example this one is

<form action="https://example.com/lazy.php">
<input type="text" name="name" placeholder="Name" required>
<br>
<button type="submit">yeah</button>
</form>
0
0
0

@foone describe the api's schema and use swagger-ui-dist ?

1
0
0

Alice Averlong🏳️‍⚧️

Edited 12 days ago

@ellie swagger-ui's repo is flagged as having AI contributions, sadly

0
0
0

@foone clay c library. but thats not very lazy I think

1
0
0

@waimus honestly I'm fine with not being lazy, I just don't want to have to write HTML tonight

0
0
0

I'm thinking of compiling a small visual basic program and embedding it into the internet archive's emularity version of windows 3.1 inside an em-dosbox on my website

2
1
0

in reality I've already written the HTML form (kinda: I copied a couple jquery-UI examples together) but I'll be happy to recreate it for fun (and to avoid writing HTML)

1
0
0

@foone oh so it's for sex reasons

got it

1
0
0

@ben (literally, yes)

0
0
0
@foone evil option: write it in ms word
0
0
0

oh god
for the first time in over 20 years
writing some PHP code is the easiest path forward

do I fall to temptation?

1
0
0

"The package requires PHP version 8.0 or higher."

well, the last time I did any PHP, it was like... PHP 5

1
0
0

so I have no idea if that's obviously what my server has, we've been running that for a decade, or if that's like released last tuesday

1
0
0

hoping closer to the former since I don't wanna have to update PHP on a school night

2
0
0

@foone well the latest is 8.5, 8.0 is already out of support

edit: typo

1
0
0

@whitequark @foone
The latest stable is 8.5, not 8.4.

1
0
0

okay I wrote the PHP script. it worked just fine. I didn't die

2
0
0

@lasombra_br I'm a pope, that's my job

0
0
0

but I'm installing Visual Basic 4.0 just in case.

1
0
0

@foone OBVIOUSLY you need to find an archival copy of Visual CobolScript for Windows 95, CGI edition!

1
0
0

@foone Should've gone with PHP /s

(Actually some folks on the retro network set up a PHPBB2 fork running like, PHP 4 I think?)

1
0
0

@CursedSilicon actually I did, the PHP code is already deployed.

0
0
0

wow, they've got both cis and trans versions of Visual Basic.

1
1
0

I just went and installed it on Win98 since Win3.1 was crashing every time

1
0
0

@foone Visual BASIC was such a good idea, and I wish they'd actually made the other "Visual" languages work that way. I was super disappointed when it turned out that Visual C++ didn't actually provide any of what made Visual BASIC good.

I don't know of anything else which provides even remotely as good of a data binding layer for the UI, except maybe building apps in Access or whatever.

0
0
0