Live data from Hacker News

Ask HN: What are weird and/or novel ways to do web UIs?

news.ycombinator.com

21–30 of 364 posts

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#21
This is a bit of an odd answer, even in a question that expects odd answers. That is because it sounds so normal, yet I have Googled for it and almost no one advocates for it. They do maybe advocate for it in terms of design, but I mean in making actual static websites.

Enter Google Slides: the product for your uncle Joe and aunt Lysa to create their own websites without knowing how to code!

I even have an example website for you that I made as it is a project that I'm working on in my free time. I already remade the website in actual HTML/CSS/JS but I was simply curious how well Google Slides would work. IMO, it has a thing or two over Sketch (such as displaying GIFs, having links) since I made the actual layout with Sketch, and then redid everything with Google Slides to do a side by side comparison (I went too far with this :P).

There are a few things to consider:

1. Every page needs to be made in its own slide show as you cannot have different document sizes.

2. You will be stuck with a slide viewer, but I figured for the industrious fellow, you could simply inject some JavaScript that disables that whole viewer when you iframe your Google Slides website.

3. There are zooming issues because the pages are of different document sizes.

4. The fact that you need to define document sizes is noteworthy in itself.

So yea, not super duper practical, unless you aren't a web designer and simply want a simple profile page online, but definitely weird :D

Example website / project that I'm working on (and recreated to the best of my abilities in Google Slides for fun): https://docs.google.com/presentation/d/e/2PACX-1vRxqg4SNv1Sl...

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#23

I've heard that some people build UIs with thousands of dependencies, in JavaScript that hits the server for text that is then parsed to object that are then passed through all sorts of classes that each spit out HTML. They also do some weird stuff with events like key-ups in order to re-render input fields based on objects rather than letting the browser manage those kinds of things. Sounds pretty weird to me.

Sounds weird if you phrase it in a weird way, yes. Just like communicating with strangers via on-demand electric currents is weird as well, if you phrase it like that.

I have been thinking about this weirdness a lot. In my book communicating via electric currents while seeming weird, isn't because of it's pure practicality. Digitizing these currents instead of transmiting an analog signal seems weird, but isn't because it allows faster, errorfree and more diverse communications etc.

You can go on and follow the technical developement, but you will inevitably reach a point where people stopped understanding the whole stack below them and instead started to cobble together new abstractions from the things they did – until the next generation came and abstracted that. We all know this – it is far easier to add onto something existing, than removing or changing existing things that are just not good enough for the things we want.

So at a certain point you stop doing the rational and efficient thing to solve a problem, but react to more or less organically grown structures and go a extra mile to solve problems you might have never had if you included these capabilities in the existing layers below. But the existing layers below were written ages ago in languages you hate by obscure circles talking on mailing lists, so we don't even bother. The resulting Rube-Goldberg-Machine is weird in that sense: nobody rational who understands all the layers would plan it like it is from the ground up if they had the choice.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#24

I've heard that some people build UIs with thousands of dependencies, in JavaScript that hits the server for text that is then parsed to object that are then passed through all sorts of classes that each spit out HTML. They also do some weird stuff with events like key-ups in order to re-render input fields based on objects rather than letting the browser manage those kinds of things. Sounds pretty weird to me.

If you think that's bad you do not want to know what's happening in the code for a desktop or a native app.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#25

This is a bit of an odd answer, even in a question that expects odd answers. That is because it sounds so normal, yet I have Googled for it and almost no one advocates for it. They do maybe advocate for it in terms of design, but I mean in making actual static websites. Enter Google Slides: the product for your uncle Joe and aunt Lysa to create their own websites without knowing how to code! I even have an example we…

Possibly the closest "mainstream" product to Hypercard-on-the-web?

(Actual Hypercard is on the web now too: https://archive.org/details/hypercardstacks )

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#26
post #24

I've heard that some people build UIs with thousands of dependencies, in JavaScript that hits the server for text that is then parsed to object that are then passed through all sorts of classes that each spit out HTML. They also do some weird stuff with events like key-ups in order to re-render input fields based on objects rather than letting the browser manage those kinds of things. Sounds pretty weird to me.

If you think that's bad you do not want to know what's happening in the code for a desktop or a native app.

Given that the last job I had was maintaining ancient MFC-era C++, the nativest of native apps .. actually, it's pretty straightforward, because so much of it dates from the era when there weren't cycles to waste, but as soon as you touch COM the insanity creeps back in.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#27
This website uses scatterplots instead of lists to display products:

https://www.productchart.com

So on Product Chart, you can for example say "Show me 300 smartphones and put the price on the x-axis and the size on the y-axis".

It's a bit like you would lay out things on a table and then organize them by some criteria.

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#28

I've heard that some people build UIs with thousands of dependencies, in JavaScript that hits the server for text that is then parsed to object that are then passed through all sorts of classes that each spit out HTML. They also do some weird stuff with events like key-ups in order to re-render input fields based on objects rather than letting the browser manage those kinds of things. Sounds pretty weird to me.

That's indeed weird. How would they not lose track of their dependencies? How do they keep their code lean and load times fast?

Relatedly, how do they track security issues in their dependencies?

Re: Ask HN: What are weird and/or novel ways to do web UIs?

#30
post #25

This is a bit of an odd answer, even in a question that expects odd answers. That is because it sounds so normal, yet I have Googled for it and almost no one advocates for it. They do maybe advocate for it in terms of design, but I mean in making actual static websites. Enter Google Slides: the product for your uncle Joe and aunt Lysa to create their own websites without knowing how to code! I even have an example we…

Possibly the closest "mainstream" product to Hypercard-on-the-web? (Actual Hypercard is on the web now too: https://archive.org/details/hypercardstacks )

I'm not old enough to have known Hypercard, though my thesis very adjacently touches on it (kind of, not really, but it talks about Douglas Engelbart and Ted Nelson and hyperlinked text and how it devolved -- according to Nelson -- to the www).

So it's really cool to see hyper card for real this time!

Oh! Of course! I presume you can also inject JS into Google Slides itself. Hmm... I'll see if I can make a simple game then, when I'm bored again.

Post reply on HN