Hacker News new | ask | show | jobs
by saravieira 2958 days ago
Hey!

I made this dumb thing! Yes, the fact that it's made with vue and stuff is on porpuse, I wanted to make it with reasonml but didn't have any time so ended up with vue.

The point is that we complicate so many shit today that is not needed

Have fun and I will add some marquee tags!

5 comments

I think you need to look forwards and not back in time for getting back to having fun.

The reason I say this is that we now have 'css grid'. This means that you do not need frameworks, little scripts on the page, and 'div/span' markup, you don't even need ids and classes. You can directly style 'aside', 'main', 'article', 'form', headings, p tags, 'details/summary', 'nav' and other tags to get the desired effect.

If you have a three column layout with the column left and column right as 'aside' then the CSS does not need classes to identify the column names, 'article + aside' will refer to the right column perfectly fine.

This will also work responsively so you can do everything these days with no paddings, margins, floats, line-heights or anything else that is a bit silly.

The resultant code when freed of all this debris that should never have been in HTML is a quarter of the size. I say code, but is it really code when you have button text inside a span inside a span inside a button inside a div inside a div with a label inside another div and yet another div just so it works as the'designer' intended?

For me CSS grid + semantic minimal 'div free' markup is getting back to the fun. No longer do web pages require a team of a designer (that knows no code) plus a front end developer ( that knows nothing about 'real code') plus a backend developer (that knows nothing about design) plus a team manager to book inane meetings and to do scrum rituals as if it mattered.

We can also get rid of lorem ipsum and go 'content driven design' (a phrase I had to invent just now as nobody has had a use case for such a phrase in decades).

Happy times in web design are back on. Even more interesting is that with the likes of Rachel Andrews we also have a lot of women getting into doing web design properly and showing how its done.

> The point is that we complicate so many shit today that is not needed

Isn't your site making the opposite point? That without all the "complicated shit that is not needed", websites would look as awful as they did in the 1990s. Any website-maker is of course free to make their site as "shit" as they want, but 99% of users are not going to visit it a 2nd time.

Sites that were pixel perfect photoshop exports looked better than the basic look we have now. Designers had more freedom to reproduce high res designs. Mobile forced us to get simplier and everyone uses a framework now. Designing feel more restricted and difficult.
They only ever looked pixel perfect in one browser on one OS in a 1200x800 window. For everyone else, they broke.
Add a button to convert many elements to marquee!

  javascript:a=(b,c)=>{d=document.createElement(c);d.classList=b.classList,d.id=b.id,d.style=b.style,d.innerHTML=b.innerHTML,d.name=b.name,d.src=b.src,d.href=b.href,b.parentElement.insertBefore(d,b),b.remove()};document.querySelectorAll("span,%20p,%20a,%20code,%20li,%20h1,%20h2,%20h3,%20h4,%20h5,%20h6,%20h7,%20label,%20button").forEach(b=>a(b,"marquee"));
I'm surprised. I'm running uMatrix and block all js by default. Still, my mouse pointer got changed into a spaceship. How does this work?
Looks like you can set the cursor [1] property on some root element and it replaces the cursor with a custom image.

[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor

To the moon!

From memory, it’s just CSS. You have a ‘pointer: spaceship.ico’ probably on the body.

cursor: url (path to spaceship.cur) or something like that.
Why did you add jquery to a list containing "blink" on a page with CRT monitors and animated GIFs? Let me guess, you have a negative opinion about jquery, that all anyone needs is vue.js
I think the suggestion is that building a page with jQuery is now seemingly as “forgotten” a technique as building a page with plain HTML, despite being both a relatively-recent and still-valid approach to modern design.

(Saying that nobody uses plain Javascript to build pages these days wouldn’t be as notable, and so not as funny. jQuery is just standing in for “plain Javascript” here, because it sort of was the only way to write plain Javascript that worked in all browsers, until browsers standardized on their JS APIs some eight years back.)

Many I'm in the minority but if I need one small item I'll write pure javascript if I need a little more I'll use jquery, if I need an spa I'll use react or vue if I need an site/app I'll use the ionic or quasar framework.

Use what you need.

I think you're being too forgiving of a lousy joke.
well with javascript itself maturing, many are starting to believe jquery is no longer needed. Plus, it was the first real framework back in the day. When I think old internet, I think pre-jquery, but I guess I am getting old. We still use jquery at work...
A lot of people still use jquery at work. Regardless of improvements in javascript for DOM manipulation, Jquery is not just about that.
Thanks, that makes me feel a lot better!
Oh no! I love jQuery! I miss it that's the point.

At work I use react and can't use jQuery anymore and I miss it man.

jquery is a technology that has mostly outlived its usefulness, much like the others on the list.
It's not a "technology" it's a library, and still very useful, found on millions of sites old and new. Has a vast ecosystem of free plugins with extensive documented support and very diverse browser support.

Also he put "HTML" on the list, you're saying that has outlived its usefulness?

I thought libraries could be technologies. If that's wrong, then I used the wrong word.

I probably characterized the list wrong anyway, as you've pointed out, since HTML decidedly has not outlived its usefulness. Perhaps it's a list of web things prominently used 15 years ago.

I would normally use "technologies" here, but it seems we have a difference of definition.

Ok, but jquery didn't exist 15 years ago, and really didn't get popular until after 2008 IMHO. Doesn't matter, I get your point.
I love jQuery and I don't believe it has outlived anything.

About the html, I live in a bubble of react and vue and everything is templates and jsx that's why HTML is there

Cool. Jquery has helped me a lot over the years in my job. Jquery plugins have saved my ass countless times. I would only use them sparingly, such as slideshow carousels, which are too difficult to whip one up when client needs it 5 min ago.

I love having an API into the jquery plugin and getting things done quickly and efficiently, and giving credit to the developer who kindly gave it away for free.

This is why jquery doesn't belong on a list with "blink" tag which everyone hates because it's a flawed tag that should be forgotten, much like over-use of animated gifs.

Anyway.. good luck breaking free of the bubble!

*she