Live data from Hacker News

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

news.ycombinator.com

171–180 of 364 posts

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

#171
Last time I checked Gtk has a web backend, meaning you can run basically any gtk app with the right environment variables and it'll pop open a browser with the app rendered pixel perfect into it.

I don't really think it's useful as an actual web technology since you'd need to spawn a process, reserve a port, and keep a connection open for each and every user which seems like it wouldn't be workable.

It's a neat trick though.

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

#172
post #155

Earlier quoted context omitted.

Try build a complex website with complex journeys and a component architecture and you'll be begging for React. It's probably because you haven't seen the light. I'd never ever go back to using jQuery unless it was for a basic marketing site - even then I'd probably think of using Vue if anything got more complex than a carousel on the page.

Keep the majority of the rendering server side and it isn't a problem at all. Jquery for some UI enhancement.

Then you end up having the page refresh loads of times and having a less smooth experience.

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

#173
post #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.

I'm glad to see this site making progress and gaining attention. I remember it used to be "GNOD": https://news.ycombinator.com/item?id=7465980 Also similar, and by another HN user: https://diskprices.com/ https://battprices.com/

> https://diskprices.com/

These do not compare things such as sequential read, sequential write, random read, random write, temperature, MTBF, Backblaze outage percentages (statistical relevant), type of storage (SLC, MLC, AMLC, QLC, TLC, etc), chipset used, and so on, and so forth.

I'm scared shitless to check or use the battprices.com as it probably does not do anything like the above either. Which, in case of batteries, can cause something arguably more severe than bad performance or data loss: fire.

Don't use websites like these. Instead, read reviews and support websites which release quality reviews.

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

#174
post #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.

I'm glad to see this site making progress and gaining attention. I remember it used to be "GNOD": https://news.ycombinator.com/item?id=7465980 Also similar, and by another HN user: https://diskprices.com/ https://battprices.com/

These are great.

I miss a page like this for Canada.

In Germany, where I'm originally from, we have geizhals.de for product and price comparison that works a lot like these pages you linked and has been around for ages.

They have an English version you can check out here: https://skinflint.co.uk/?cat=nb (this links directly to the Laptop section so you can check out their filtering capabilities).

Here's their listing of price per TB for SSDs which is very much alike the diskprices.com page you linked: https://skinflint.co.uk/?cat=hdssd&sort=r#productlist

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

#175

Earlier quoted context omitted.

Wonderful story - thanks! I was at Chase Manhattan in London from 1997-2000, and remember the Lotus Notes system well. I had Win NT and Solaris desktop systems. There was an appalling timesheet system called Agresso, the most counterintuitive Windows GUI I ever encountered. I guess the lesson is that mgmt diktat in corp envs repeatedly inflicts crappy solutions on captive users. Plus ca change!

No! It cannot be that Agresso was already around at that time. I still have to work with that horrific system, even though it is webbased now. It's still a horrible experience.

> There was an appalling timesheet system called Agresso, the most counterintuitive Windows GUI I ever encountered.

I love the idea that there was a terrible timesheet system called Agresso. And that it's still around today!

Some things do change with time. If this system was created today, I imagine it would be named something like quiesso or daisy.

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

#176

Earlier quoted context omitted.

They just hope that Google will keep pouring infinite money into making their JavaScript engine faster. And they never kept track of their dependencies in the first place. That's the job of some build tool. Whatever it pulls in is fine.

We target IE11 with angular1.6, React and Vue and it all runs very fast. The only time we ever had trouble were lists over a few hundred items long that our internal customers didn’t want paginated. But delivering those more demanding apps in react and vue solves all our IE11 is slow problems. On any other brothers the code might as well be native.

That would indeed be impressive, IE surely needs a ton of polyfills?

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

#177
post #142

I’ve always liked the approach of http://intercoolerjs.org/ . But I’m not a web dev and I don’t know the real reasons why it didn’t get traction :)

I think the main reason is because you have to build your entire back-end based on the assumption that you are using intercooler. It requires the responses to be formatted HTML for anything more complex than changing the content text. It ends up making the whole approach much more complex than it is advertised.

No, you really don't. What you do, is you write your back end based on the assumption that you have no JS at all, using a server-side MVC framework like Rails or Django or ASP.NET MVC. Make sure that your controllers and views are well-factored and that you're using partial views where appropriate. It's then almost trivial to apply intercooler to the front-end. In a lot of cases, you don't have to change anything at all in your controllers: just tell intercooler to select out the element you care about from the response (this is most appropriate when a lot of stuff on a page is changing at once, e.g. when you are PJAXing-away a full page refresh). In most others, you usually only have to tell a controller to check whether the request is being made by intercooler, and return a partial view rather than the full view.

The point is that you already have the infrastructure that is generating formatted HTML responses (partial views), and you are now re-using it. If you were trying to write a client-side application from scratch while avoiding the easy path of writing a server-side MVC app, then yeah, I can see how it would be more complex than advertised.

Source: I've built a couple of web apps using intercooler.

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

#178

Earlier quoted context omitted.

They just hope that Google will keep pouring infinite money into making their JavaScript engine faster. And they never kept track of their dependencies in the first place. That's the job of some build tool. Whatever it pulls in is fine.

We target IE11 with angular1.6, React and Vue and it all runs very fast. The only time we ever had trouble were lists over a few hundred items long that our internal customers didn’t want paginated. But delivering those more demanding apps in react and vue solves all our IE11 is slow problems. On any other brothers the code might as well be native.

> lists over a few hundred items long that our internal customers didn’t want paginated.

Does it not bother you that a machine that can do at least a billion computations in a second struggles with a list that short?

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

#179

An impressive implementation of a web UI is Figma: Figma is written in C++ code then run in the browser by cross-compiling it to a subset of JavaScript known as asm.js. The asm.js subset is basically JavaScript where you can only use numbers (no strings, objects, etc.). This is all you need to run C++ code since everything in C++ is either a number or a pointer to a number, and pointers are also numbers. The C++ addr…

That's fantastic- have you used the Ligma fork?

nice try

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

#180
post #147

Earlier quoted context omitted.

Hacker News is pretty minimal in terms of UI. I like it for that.

It is, but unfortunately the HTML structure is quite horrible. It is built less like a web page and more like an Excel spreadsheet. Makes it terribly hard to parse automatically.

Use the API. There is HTML in it's fields but the mess is contained
Post reply on HN