Live data from Hacker News

Text-only CNN

lite.cnn.io

281–290 of 319 posts

Re: Text-only CNN

#281
post #94

Earlier quoted context omitted.

My computer's speakers are not plugged in. Problem solved.

Lol how I'd not being able to play any sound "problem solved?" You really reach down and plug your speakers in whenever it's time to play audio?

I play music while I work. I got tired of all the programs that insisted on using sound effects or playing other sounds, so now my computer's speakers are mechanically disabled, and I have a separate system for music.

I'll connect it to my sound system if I want to hear something from the computer, which is rarely.

Re: Text-only CNN

#282

Earlier quoted context omitted.

Because when you're treating React as a templating language, it's easier to let it run on the client side during development and add server rendering later.

i don't know react. Can you elaborate what you mean using React as a templating language? Are you saying react can be used sans any business logic and purely for template interpolation?

Simply put, React lets you do two things:

* Generate a HTML/DOM based on a template and data.

* Lets you efficiently update that DOM based on updates to the data and/or model (this is it's killer feature).

But if you're just going to do the first thing (generate a HTML/DOM), you don't need most of React's feature set, and you certainly don't need to push heavy JS onto the client.

For those cases, a much better approach (for both clients and SEO) is to just pre-render the DOM/HTML server-side and serve that without any need for any javascript client-side (which is what the similarly named module "Preact" does).

Re: Text-only CNN

#283
post #129
post #126

Earlier quoted context omitted.

What’s your affiliation with this site? All your submissions and comments on HN are about it.

I built the site because independent news is being increasingly censored/filtered out by monopoly platforms.

Thanks; you should mention that in your comments. There’s some irony in the fact you hide your affiliation when promoting a website about independent news.

Re: Text-only CNN

#285

Earlier quoted context omitted.

Because when you're treating React as a templating language, it's easier to let it run on the client side during development and add server rendering later.

i don't know react. Can you elaborate what you mean using React as a templating language? Are you saying react can be used sans any business logic and purely for template interpolation?

Josteink said it excellently, my addition is that React itself is a view library that lets you update DOM easily based on some data, and the data (and the logic behind it) can be and often are completely separated from React components themselves.

Re: Text-only CNN

#287
post #227

Earlier quoted context omitted.

http://www.npr.org ? It's not text only but it's considerably more minimal than most news websites, loads almost instantly, doesn't have auto play content, and is considered a reputable source. The BBC used to be similar but their international website is awful now (slow to load, more adverts, and less emphasis on actual news).

It's text-only when you use http://thin.npr.org

The full npr.org provides transcripts for many or all of their stories. This site leads me to stories that only contain bylines and no other content. Seems like a bug to not include at least a link to the audio or the transcript.

Re: Text-only CNN

#289

I can recommend https://cor.ax which is similar to this

Except with a political slant:

> We provide an alternative startpage for news, free from left-wing bias.

Post reply on HN