Live data from Hacker News

Look ma, no React: I recoded my portfolio site with vanilla everything

clairefro.dev

161–170 of 192 posts

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#161
post #143

Earlier quoted context omitted.

It's not just you. The site has poor contrast ratio - fails all accessibility guidelines for text contrast ratio requirements.

Really? Firefox says the contrast ratios meet WCAG AA. For me, the main problem is the font weight. I'm sure it looks better on high-density displays, but it is way too thin to read comfortably at a regular pixel density.

Which extension are you using?

I use a tool called CCA and it takes font size into consideration.

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#163

Earlier quoted context omitted.

> Is this news at this point? If you started your career in the last 5-10 years then yes, it might be news. An entire generation of web developers has been trained to think that every app big and small needs to be a convoluted SPA. The results are a disaster.

You think they would have discovered Flask or something similar just out of personal curiosity.

They won’t touch anything that isn’t Javascript.

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#164
Why choose pug over EJS?

When I started my first Node/Express project I picked pug too but quickly realized it was too removed from vanilla HTML I was seeing in the books/MDN and switched to Handlebars. Immediately discovered that Handlebars didn’t have a built in support for something fairly basic I needed and I either had to roll my own extension to it or look for something else so I ended up switching yet again to EJS and I’m still using it a year later today. EJS is perfect if you want vanilla HTML + vanilla JS.

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#165

Earlier quoted context omitted.

I think a culture has been created where anything resembling server-side rendering (other than Node spitting out JSON) is legacy to be avoided ..... until of course the Javascript creates its own convoluted version of server-side rendering, which is revolutionary and the new hotness.

The main benefit to JS being used as a server side rendered and client side rendered language is that you have a lot more control over which parts you want on the server vs the client, and you can introduce hydration where needed. You technically could do that in PHP and other non JS languages but that's annoying because you'll be mixing multiple languages together and it would be more clunky. So yes, there is some "…

I mean, Django makes it very clear and very trivial which parts are serverside and which parts are client side, and I assume rails is the same way. I don't see how JS has any advantage over their approach.

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#166
post #37

Earlier quoted context omitted.

I think most of this comes down to the fact that these bootcamps are there to freshly bake people to work on the latest shiny tech completely ignoring the basics of computer science. I, like yourself, was very lucky to attend a university course that gave me exactly those fundamentals.

Not always. The bootcamp I worked for did 2 months of pure HTML/CSS/JS and then did a personal project for another month of which students almost exclusively used HTML/CSS/JS, some did React. Only in the final week did I teach React. This was around 2017, most students didn't become React devs. Most students did end up in the JS ecosystem, but 30% did something else [1]. [1] When I say 30%, that's not an official sta…

Which part of that curriculum was core CS?

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#167

Earlier quoted context omitted.

Actually, yes. The conventional wisdom these days is to do everything in React (or something similarly bloated). Because, you know, users just love seeing a bunch of grey boxes shimmer and dance on a white background for several seconds before the magic really starts to happen. So any exercise which demonstrates that there just might be an alternative to this philosophy should be applauded.

I don’t think this is the “conventional wisdom”!

It's been the conventional wisdom at every company I've worked for in the last ~5 years, and I hate it.

I ranted about this in another thread a few months ago and I stand by what I wrote: https://news.ycombinator.com/item?id=34857513

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#168

> I became a dev when everyone was hiring for React, so React is what I taught myself immediately after bootcamp in the scramble for a job A better education path (in a bootcamp, university, book, youtube, whatever) would start with the fundamentals and build it from the ground up... not the other way around. (I just realized how lucky I am for being taught in the best possible order, from the ground up... first the…

The opportunity one is really the core. A friend went through a bootcamp. Father of 3. I think this is the most viable option to join the field for him.

So the options are bootcamp or not. Not from the ground up or not. Bootcamps cater thst group. Ideally skilled, smart, willing to learn but on a tight schedule and in need of a job.

This also changed my mind a bit on how to think about bootcamps. They are a way to give people who couldn't afford a longer education on the discipline an entry point.

All the success or failure is still on the person, and there is a lot to learn, but I respect everyone going through the hard path.

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#169

About that Paperfuge analogy ... maybe I am stupid or overly skeptic but I haven't seen that paper wheel carry any samples in the video. If there was some solution to mount samples (symmetrically I'd guess) it would become quite dangerous to rotate them 120.000 rpm without any enclosure, right?

I could see a thin red tube (or maybe two half-tubes) which marked a sort of diameter line across the cardboard disc. For separating blood to get a concentration of plasmodium cells for quicker identification/diagnosis it should be enough?

Re: Look ma, no React: I recoded my portfolio site with vanilla everything

#170
I have a nitpick re: the centrifuge example

While the paperfuge is cool and may even reach higher RPM/G than some bench top ultracentrifuges, it cannot do so consistently.

Putting "Samples were centrifuged at whatever amount of G:s yours truly could crank out on a hand built paperfuge for a solid 10 minutes" in the materials and methods section doesn't exactly scream reproducible science.

Post reply on HN