Hacker Newsnew | past | comments | ask | show | jobs | submit | redonkulus's commentslogin

Hmm, I haven't used an RSS reader in many years. Thanks for the tip though.


We've been using similar architecture at Yahoo for many years now. We tried to go all in on a React framework that worked on the server and client, but the client was extremely slow to bootstrap due to downloading/parsing lots of React components, then React needing to rehydrate all the data and re-render the client. Not to mention rendering an entire React app on the server is a huge bottleneck for performance (can't wait for Server Components / Suspense which are supposed to make this better ... aside: we had to make this architecture ourselves to split up one giant React render tree into multiple separate ones that we can then rehydrate and attach to on the client)

We've moved back to an MPA structure with decorated markup to add interactivity like scroll views, fetching data, tabs and other common UX use cases. If you view the source on yahoo.com and look for "wafer," you can see some examples of how this works. It helps to avoid bundle size bloat from having to download and compile tons of JS for functionality to work.

For a more complex, data-driven site, I still think the SPA architecture or "islands" approach is ideal instead of MPA. For our largely static site, going full MPA with a simple client-side library based on HTML decorations has worked really well for us.


> We've been using similar architecture at Yahoo for many years now.

At all of Yahoo? I imagined such a big company would have a variety of front-end frameworks and patterns.


Nope, not all. Yahoo homepage, News, Entertainment, Weather all use this architecture. Yahoo Mail uses a React/Reduct architecture on the client. Other Yahoo properties with more complex client-side UX requirements are using things like Svelte or React. It's not a one size fits all architecture at Yahoo, we let teams determine the right tools for the job.


I had no idea Yahoo


> simple client-side library based on HTML decorations has worked really well for us

What library are you using?


We developed an internal library, but there are similar libraries in open source (although I can't remember their names).


Essentially it’s because new developers cycle in every decade and do not have all the context of the previous generation of developers.


Real life Yellowstone but instead of ski resorts and casino's, its data centers.


and instead of mountains and rivers and breathtaking scenery, it's featureless flat land.


I imagine almost everywhere in the world where something went from rural to metropolis there are stories like this, but the winners write the ending of the story, backed by the legions of people that profit with them.


The clicking on the photo title or description to inline edit blew my mind as a young web developer starting out.


We have used a similar css utility library (Atomizer) at Yahoo for 8+ years. This has been used across many sites with a large group of developers touching the code. It has saved a ton on CSS size and duplication. We never force only atomic classes, for more complex use cases we push developers to write vanilla CSS.

Some of his points are valid about maintainability and complexity, but that can be resolved by building smaller components to share markup and classes. All depends on the use-case.

Disclaimer: Maintainer of Atomizer.


This comment really helps illustrate how we are always reinventing the same tools in web development.


That is kinda a good thing. It allows the industry to understand the ebbs and flow of what people enjoy. Like the cycle of life, it allows for the industry to thrive.


Is it easy to support other CSS frameworks? I haven’t checked the docs yet.


Also no kids or family


That to. We shouldn't blame kids for "stealing" our time, it just happens to work out that way. Block out time... Sure and two minutes in: Dad, I got glue on my fingers.

This type of article is a little like a weight-loss program that tell you, in a roundabout way, that you just need to workout and eat healthy. All the advise is actually sound enough, but it's also something that most of us already know.


I don't think anyone is blaming the kids. I mean, the decisions to have the kids were made by adults. I'm in favor of blaming the adults.

That said, us nerds probably shouldn't stop reproducing.

The intro to Idiocracy (2006) is quite relevant today:

https://www.youtube.com/watch?v=sP2tUW0HDHA

I heard Mike Judge on a podcast about a month ago (JRE) saying that the ability to make that intro was a large factor in his motivation of making the Idiocracy movie in the first place.


Similar to how environmentalists conscientiously abstaining from children are just serving to remove conscientious people from the gene pool.


Do you think conscientiousness is heritable?


Yes, personality traits are heritable from what I've read.


Don’t you think values are transmitted from parents to children?

I think the “gene pool” phrase is not there to be taken literally…


—Or a partner that bears an outlandishly lopsided portion of household and parenting work.

Also, instead of investing in and maintaining relationship with said partner, reserve the post bedtime time for your SaaS

resentment, burnout and/or divorce is galactically more likely than startup success, so do be sure that you’re the exception.


I think that with one kid and a partner its doable. With two kids my free time shrunk to 22:00 - midnight which might not be enough


I have young kids and usually find 2-3 hours to work on my own stuff in the evening after they’ve gone to bed. But I have to sacrifice all the other things people usually get to do in that time. Weekends are just for family.


Easy ... money


ELI5 how do you know it’s being downvoted?


Posts turn grey if downvoted enough. It seems to have rebounded now, though.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: