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

My wife's last day was the 10th but I had tried to get them to stop earlier, basically put my foot down. We actually left the city that Saturday, now we are dealing with driving around northern New Hampshire with NY plates. Locals are starting to take more notice.


> We actually left the city that Saturday

And then you went into strict quarantine for 14 days right?


while i do agree that anyone traveling from anywhere now (but esp. hard hit areas like nyc) should be self quarantining for 14 days before circulating in the new community, to be fair, 3 weeks ago it wasn't clear what people should and should not be doing and the government was giving very mixed messages to people.

I know several people who left nyc over the last few weeks, mostly to stay w family in neighboring states.

We decided we are staying in nyc, and since the schools closed (march 13 was the last day they were open), we have had very limited exposure to anyone outside our apartment and have not left our apartment at all in 8 days except to go in our small backyard (which i am very grateful for right now).


Actually 100% 17 days still going


Why exactly are they taking notice?


NY is the new epicenter of the outbreak and therefore new yorkers have a higher chance of being infected.


Similar thing has been happening in France since the lockdown and 1 million Parisians fleeing Paris. In the region of Bretagne several cars with Paris plates have actually been vandalised [1] (first article that I could find, in French).

[1] https://rmc.bfmtv.com/emission/coronavirus-en-bretagne-des-v...


Not that vandalism is in any way an appropriate response, but people moving away from high infection areas is a big way in how the infection is spreading. Definitely a very selfish move.


If you believed your family was currently virus free but at increased risk of death because of high virus infection rates in your surroundings, would you do anything different than what these people are “selfishly” doing?


I live in Italy in a city with several hundred cases. I have a country house, and we're not moving there. We stay the fuck at home and we are under 50, we'll be fine. Don't be that guy, stay were you are.


Yes, I live in NYC, I decided to stay in NYC for this reason.


I think it's really people's experience. I'm in your camp, I write functional javascript, I learned clojure, I think about writing software in a way where react-redux (and re-frame) fit the paradigm and get out of the way. Vue seems like Backbone v2 after drawing inspiration from Ember and Angular


I really don't get the love around vue... I always read the glowing sentiment and go, "Ok, I'm missing something, let me go back to the vue.js docs and see what's good"

Things that are a deal breaker for me:

Template language... You can call it 'separation of concerns' all you want, but just let me generate templates using the language I already know, JSX is great

State management... I cut my teeth with Ember professionally for a few years, and really loved it up until I built a data intensive app. Having state spread across different controllers is great when you have many different routes and pages, but if one page turns in to a photoshop like app, controllers make a terrible state management tool. It doesn't seem overly complicated to me to use redux along with react-redux's connect function to connect regular functions returning JSX to your state object. Looking at Vue.js, it seems like I need to learn Ember-lite + Angular (custom directives).


Are you sure you read the right docs?

> let me generate templates using the language I already know, JSX is great

https://vuejs.org/v2/guide/render-function.html#JSX

> controllers make a terrible state management tool.

I haven't used react-redux but vuex is essentially the same decoupling, and there's very little boilerplate. https://vuex.vuejs.org/en/intro.html


"Template language... You can call it 'separation of concerns' all you want, but just let me generate templates using the language I already know, JSX is great"

Not everyone knows JSX, so while that argument applies to you, it doesn't apply in general.


They mean javascript; jsx is a very small amount of new syntax and is embedded in normal javascript. Learning a completely separate template language with all of its own constructs for conditionals, iteration, etc. is significantly more work.


There’s not any more to learn vs html than jsx. It’s like 5 relevant constructs that all follow the same form, and the colon. Takes 20 minutes to have it down pat.

v-if is actually a big reason I prefer Vue. Ternary operators in JSX are pretty ugly. The other is that Vuex just feels so perfectly integrated. I've never felt Redux blends in particularly cleanly, though I certainly don't judge people that do prefer it.


Ternary operators in JSX are valid javascript expressions. As is anything that goes into {}

All of the following is neither Javascript nor HTML:

    v-for=”x in list”
    v-if=”conditional”
    v-on:click=“function”
    v-bind:key=“something.id”
etc. etc. etc.


I'm aware of that bit, I just think they're an ugly piece of control flow inside JSX, and they're also not a particularly versatile piece of control flow.

Especially for the else-if case - you end up with repetitive conditionals to replicate that.


If `do { }` syntax makes it into ES9, the whole ternary-operator-hate business will be a moot point


That's alright. I love and appreciate React too, I just prefer Vue now.


> and is embedded in normal javascript

Exactly! I don't know, but I've always found that disgusting. It turned me off React when I first saw it, and it still does.

Then people use it to defend react, and I'm just like 'Lolwut? Did we spend years learning that SOC is a good thing only to throw it out of the window?'

I'll be the first to admit that any Vue template quickly becomes soup as well, but at least it's only half of the soup.

Is it just younger developers that think React is the best thing since sliced bread?


JSX is a thin XML-like DSL on top of Javascript.[1] Unlike untyped strings with a custom parser of Vue, which require you to write something that’s neither HTML nor Javascript.

You can have as much separation of concern as you like with React.

[1] https://reactjs.org/docs/jsx-in-depth.html


JSX is also neither HTML nor JavaScript.


> JSX is a thin XML-like DSL on top of Javascript

^ this.

It directly translates to `React.createElement`. This is also why everything inside {} is pure Javascript including things like proper `this` etc.


Ok, so they both let you use something more like what you already know, except neither of them are technically JavaScript or HTML. Glad we established that. I think the understated bikeshed color here is that VueJS allows you to use jade/pug syntax instead of HTML.


I can’t stand Jsx personally. Vue files with the entire component defined in 1 place and writing HTML templates... preferred for me.


Yea basically this. Built a 'big data app' using Ember, which was all well and fine until some of the routes essentially became their own apps, that were more akin to apps like photoshop. MVC really broke down for us here, and it wasn't until we introduced react / redux and slowly refactored the application until things got more manageable and sane.


In the apps that I've built, having many components manage their own private state makes it hard to coordinate said components, because all of the application state is stuffed inside different jars that you can't easily peak into.

It's been much easier to pull all app state into a central, db like structure, and allow components to connect and query that structure for whatever data they need. It makes making changes to components in the future easier, because all of my data is normalized in a structure, and it's all possibly available to any component in the app.

I've found that with MVC, if you design the private state a certain way, and in the future need largeish independent components to coordinate, well, you're going to have a bad time.

So redux or not, I'm definitely a fan managing state as it's own separate thing, and having components able to query and connect to that data structure, without having to pipe props down a tree of components, which leads to an app that's hard to change.


There weren't really 'legions' of front end devs when node came out. People were just learning backbone.js and the idea of SPA's being viable was still forming. It was not easy to pick up if you were coming from something like rails, because it had no well documented complete framework solution. The people that were doing node in the early days were legit back end folks. I am now a front end developer, but I learned on rails and I remember having a hard time 'learning' node. It had no debugger (I was used to something like pry) and was generally a collection of 'low level' libraries.


my dad is a fox news republican, a few years back we were driving for 5 hours and were listening to npr. he was basically waiting for the overt liberal bias, but instead we listened to a bunch of fascinating stories and interesting shows about a variety of topics. I read somewhere that npr isn't liberally biased, but their fan base is mostly liberal, because liberals tend to prefer news that has no bias. It's also not loud and obnoxious, which they like.


> I read somewhere that npr isn't liberally biased, but their fan base is mostly liberal, because liberals tend to prefer news that has no bias.

You don't need to "read somewhere" about whether a news source is biased. You just need to read news across a spectrum of sources. And you will realize that NPR definitely has a liberal bias if you have enough breadth in your sources. I'm a far-left liberal but I'm not afraid to admit when a liberal news source is biased. Everyone loves to point out the obvious bias at Fox News and Breitbart and Drudge but then delude themselves that there are no liberally biased news sources.


If liberal is defined as "not alt-right" then sure.

But if you expect to find prominent socialists or leftist political activists or their ideas on NPR, you'll be waiting a long time. Chomsky, nader, said, hedges, parenti ... none of them get mentioned or make an appearance. Who teamed up with Richard Wolff's radio show? NPR? Nope, it was iHeartMedia. You can find these people on Al Jazeera, the CBC, RussiaToday, the BBC... Essentially the public media of every country BUT the USA.

On NPR, you'll get Goldman Sachs, BlackRock, the Heritage foundation, the Hoover institute, and other prominent vested interests and orthodox free market fundamentalism thinktanks.

The reality is the Alex Jones ilk are so out there that if you want to call anything that's not like that as liberal, you have a giant space to work with. That pejorative label corrals and prods everyone else closer to the Hannity and Michael Savages and what we get is a dedicated right and a not-so-committed, more gentle right.

When actual "not on the right" politicians rise, they get ignored, dismissed, or ridiculed by all the mainstream media. Whether it's Jeremy Corbyn or Bernie Sanders or Mélenchon. NPR was dismissive of Corbyn, who picked up the largest legislative gain in over 70 years, even on election day as trouble for Labor and mismanaging a failing divided party with old broken ideas...

It's important to remember what a non-skewed left would actually look like since it effectively doesn't exist in the mainstream us media.


As a swede I have a hard time understanding what liberal and conservative is. Here we talk about Left and Right politics. I get the impression USA only has Right and Right+ in swedish terms.

Left would be social security, right would be free market / privatise everything.

I have to admit that I wasn't paying much attention to politics in my schoolyears but I did try to read some political comic book (comedy central?) from USA...


in practice, liberal is the city-life and conservative is the country-life.

This really helps in gerrymandering districts and subdividing the population into two easily manageable groups since they don't talk with one another a lot.

I think the definitions are intentionally designed to keep the public fighting itself with one group always trying to take away the rights of the other so in practice it's slow impoverishment of the commons and a forfeiture of political capital.

Essentially it's a huge scam (or a "scheme" if you think that sounds too conspiratorial). It's not a new scam, and not the first time it's been done - not even the first time in this country. The history of and tactics of union busting in the 1800s and 1900s essentially worked on the same divide-and-conquer techniques of pitting groups of workers against each other.

Going back further, the Indian wars worked in a similar manner ... feigning favoritism or some entitlement to one tribe to create a tribal conflict and prevent the indigenous from being a unified front.

This is the same game ... we call it "democrats" and "republicans" in this version.


The most effective Roman emperors were very good at playing frontier tribes against each other, and the plebeian, equestrian, and senatorial classes against each other. This is not a new tactic. :)


The equivalent in Sweden is having a discussion about immigration. Liberal Sweden won't even talk about it in any way that could be perceived as critical. Conservative Sweden would.


Whatever. Most people who identify as "liberal" in the US would not call themselves socialist, anarcho-syndacalist, Chomsky or Nader supporters, etc. They are mostly centrist Democrats.

/s/liberal/neo-liberal/g

Does that make you feel better?


Mainstream Republicans (not alt-right) are also neoliberals. They also believe structuring all of societies ills as free markets as the optimal solution (eg, CAFTA, NAFTA, Obamacare were started/proposed by Republicans and finished by Democrats and many of Reagan's championed policies were actually started by Carter). That's what's academically called "classical liberalism".

Honestly, the form of liberal that NPR is, is mostly just target demographics; what set of values an effective identical policy gets justified with. Hillary Clinton praises Kissinger, punted for Monsanto as Secretary of State...Obama used advisers from Milton Friedman's Chicago School...it's different wrapping paper on the same present.

For instance, job creators of the right become entrepreneurs and innovators on the left; it's the same people, different label. On the right, they shouldn't be taxed because they earned their wealth and on the left is because they invest in the innovation of tomorrow. Same policy, different backstory.

The American dynamics doesn't equate to substantive advocacy differences. They are effectively sports team playing the same game by the same rules with different fan bases.


Not really interested in responding to you again considering you heavily edited your first post after I responded to it.


>But if you expect to find prominent socialists or leftist political activists or their ideas on NPR, you'll be waiting a long time. Chomsky, nader, said, hedges, parenti ... none of them get mentioned or make an appearance.

Actually, an NPR station where I lived had all of those appear.

People have to realize that local affiliates have some room in picking the shows they broadcast. I was in a relatively activist town, and these folks were not rare. I know at least one of the names you mentioned because of NPR.


Funny I remember when Cokie Roberts was pimping Bush during the 2004 elections.

No, NPR's leadership since about the mid-nineties (at least) has been aligned with big business - they are part of the media elite, who collectively, despite the "liberal media" label are actually corporatists (because that's who owns them).


There are liberal corporatists. I don't know why that would be a contradiction.


It's not a contradiction, it's a clarification. Corporatist means liberal or conservative as long as it pushes the interests of the military industrial complex.

They are only as liberal as their funders permit and kowtow to conservative viewpoints as well.


Your argument rests on the fault assumption that in a 'wide range of media', the median publication is unbiased and things that are more left-wing than it are biased and things more right-wing than it are biased in the other direction.

That's just not based in reality. In reality, almost all mainstream media is incredibly biased towards the status quo.


>because liberals tend to prefer news that has no bias

You have to be joking. Have you heard of the Huffington Post or MSNBC?

Even NPR is heavily biased at the editorial level. Most of the stories are intentionally selected to represent downtrodden folks, rust belt workers/farmers that realize they are closet Democrats, etc. The individual stories will be true but the representation of reality portrayed by the overarching theme of the stories will be a lie.

It's like a conservative station that constantly reports only crimes committed by Muslims. All of it can easily be 100% true, but the overarching theme will be complete BS.


It's clear that NPR has bias in its choice of reporting, but every other political radio station has a clearly stated allegiance more than they have a simple bias.

The difference is stark -"oh boy this story is here for the lefties" versus a guy screaming into the mic that we have to fight the bastard liberals before they throw us to the sharks.

It's not close to perfect but it's at least news.


This. Bias is primarily in what you choose to report.


>because liberals tend to prefer news that has no bias

As a kid in the central US, I asked my mom why the people in our town didn't have an accent but people from everywhere else did.


> a few years back

I'm a centrist from Minnesota, which is where a lot of NPRs content is made through our local public stations MPR. We are pretty proud of our public radio here and pretty much both sides listen to the non political interest shoes like car talk, prairie home companion, etc.

NPR news and political opinion pieces used to be neutral with a libral flair: biased, but only a little bit.

The last year or so is when they really started going crazy left and it has become unbearable. I really think that whoever the editors are made a conscious decision right around the time of the primaries to stop trying to be neutral and just go full left propaganda. There was a noticable shift and I was no longer able to listen because of how overt and propaganda ish their reports became.


>because liberals tend to prefer news that has no bias

Hmmm, I think your liberal bias may be showing.


Im not sure what you'd call it when liberals listen to... Slightly biased news, and conservatives listen to people with clearly expressed political allegiances who refer to conservatives as "us", liberals as "them", and talk about how to politically defeat the other side.

Just because bias is hard to separate out, doesn't mean everyone's behavior and preferences are equivalent mirror images of each other.

You could find someone yelling about defeating conservatives on YouTube but that viewership is going to be lower than NPR... thus liberals prefer the less-biased sources...


Each side of the political spectrum has a spectrum of biased news. For example, Huffington Post and The Young Turks are liberal news sources which are very partisan. The Economist is a fiscally conservative magazine which is less partisan, Uncommon Knowledge is an interview show with a conservative viewpoint, but also an educated and intellectual viewpoint.

If you're a liberal minded person, your exposure to conservative sources of news is likely excerpts of their most grievous offenses. Hence, the liberal bias suggests that conservatives get all their news from Tucker Carlson making funny faces at people, or Alex Jones identifying gay amphibians. The result is the belief that liberals are reasonable intellectuals and conservatives stupid fools.


Yup, front end development is light years ahead of JS. sad


Exactly. Wave goodbye to Webpack, Babel, Redux, Gulp, Grunt, Browserify, Brunch, Yeoman and the rest of the usual suspects. I'm baffled as to why Clojurescript + Leiningen isn't the preferred way. Javascript Stockholm syndrome perhaps?


It's true of everything in life. The best is never the most popular. The most popular is often, frankly, crap. Why would programming be any different?


Don't look for such an elaborate explanation, it's just the parentheses that set most JS programmers off


Parinfer is a huge game changer. Everyone afraid of writing lisp needs to try again using parinfer.


The issue is more that I have to add, and use an immutable library vs it being just baked in to the language. I have to convert from and to JS. Worry about setting a deep value that is regular JS. It's janky is all.


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

Search: