News for hackers. Stuff that matters.
Re:I’m Joining LinkedIn by iamleppert on Thursday January 05, 2017 @02:30AM (#13325405)
The ember roll out within LinkedIn has been a disaster from those I know still working there.

No one likes it and it takes over 20 minutes to "build" the code from scratch.

We're talking about frontend code, mind you.

At a certain level in LinkedIn, someone decided to standardize on Ember. Fine. But there were many issues, and instead of finding a more suitable and workable pragmatic framework, LinkedIn is instead deciding to hire Ember people to fix up their framework so it's actually useable. We really do work in the only industry where you can get hired to fix a mess you created yourself.

Anyway, besides the recruiter app, is LinkedIn really worthy of a SPA experience? Last time I checked isn't most of the traffic a quick "accept connection" or reply to inmail, or maybe check who viewed your profile bounce? Does the average user actually spend time in it? Probably not.

I'm reminded by a certain quote from a friend: "At a certain level in McDonald's, the managers start thinking of themselves as restaurateurs, and not fast food servants."

Re:I’m Joining LinkedIn by gravyboat on Thursday January 05, 2017 @03:39AM (#13325691)
LinkedIn tried to hire me to help with their SaltStack infrastructure several years ago when they were first rolling it out/beefing up their infra with it and I emphatically said no. Even if I like working with the technology I would never work somewhere like LinkedIn, they are scum and working there lowers my opinion of a person.
Re:I’m Joining LinkedIn by Desustorm on Thursday January 05, 2017 @04:08AM (#13325803)
Out of interest, why are they scum? Never heard this before about LinkedIn.
Re:I’m Joining LinkedIn by throwaway7767 on Thursday January 05, 2017 @05:32AM (#13326099)
Where to start?

* They steal the address book of any user who installs their app, collecting private information of people who have given no such consent

* They then proceed to create shadow profiles of all those people that haven't registered, creating the illusion that more people are on LinkedIn than really are (not sure if they still do this)

* They then start spamming all those contacts with multiple emails per day, for several days, asking them to register with LinkedIn. There is no "fuck off and stop emailing me" button, the only way to make it stop is to register for an account

I've blacklisted linkedin.com in my mailservers for this reason. And I would agree with the GP that they are scum and that working there lowers my opinion of a person.

Re:I’m Joining LinkedIn by pimeys on Thursday January 05, 2017 @09:09AM (#13327167)
After writing my own comment and reading the others in this thread, I actually realized I gain nothing from LinkedIn and deleted my account.

From now on I will only use my personal network and services I have more respect, like SO Jobs, if I have a need for new opportunities.

Re:I’m Joining LinkedIn by csswizardry on Thursday January 05, 2017 @08:23AM (#13326889)
Literally just received an unsolicited LinkedIn email as I was reading your comment :(
Re:I’m Joining LinkedIn by lawik on Thursday January 05, 2017 @05:34AM (#13326107)
I would assume it is related to their widespread use of dark UI patterns and general attempts to get your to share e-mail-addresses of everyone you've ever communicated with. Constant badgering with new types of notification emails and generally strange user-hostility.

I use the site but I'm deeply skeptical of the way their business tactics appear in my interactions with the site.

Edit: I would probably meet them for an interview to get a feeling for the company and team, but as a company they start on the minus side for me.

Re:I’m Joining LinkedIn by pimeys on Thursday January 05, 2017 @04:33AM (#13325901)
I don't know are they really scum, but also for me the platform is mostly clueless headhunter bots offering Ruby positions even without reading my CV. Ok, I know it's nice that we have headhunters banging our doors, but when you like to do things properly yourself, you kind of expect the same from the headhunters.

P.S. I never took any jobs from that platform.

Re:I’m Joining LinkedIn by mzzter on Thursday January 05, 2017 @04:43AM (#13325933)
I'm curious to know about this too.
Re:I’m Joining LinkedIn by weq on Thursday January 05, 2017 @07:23AM (#13326561)
LinkedIn is click-bait personified
Re:I’m Joining LinkedIn by luketheobscure on Thursday January 05, 2017 @02:55AM (#13325517)
I can't imagine where that 20 minutes number came from. Maybe a fresh `git clone && npm install && bower install && ember start`... But even then that seems very high (and somewhat irrelevant since subsequent builds will take seconds). Citation needed?

The people who are talking publicly seem very excited about how things are going. Chris Thoburn (runspired) was on Ember Weekend a few weeks ago talking about the work he's doing on Ember Data over at LinkedIn.

Re:I’m Joining LinkedIn by cocktailpeanuts on Thursday January 05, 2017 @04:34AM (#13325904)
if you count all the jenkins task with automated unit tests and integration tests, etc. this is pretty believable. It happens all the time.
Re:I’m Joining LinkedIn by iamleppert on Thursday January 05, 2017 @01:43PM (#13330019)
I can't give you a direct citation, sadly. And this is just one anecdote, there are many others on how this choice of framework has actually contributed to losses of productivity, the exact opposite of what its supposed to do, I assume?
Re:I’m Joining LinkedIn by biznizcat on Thursday January 05, 2017 @02:41PM (#13330613)
I have worked on the Ember apps since the beginning of the project. It easily takes 20 minutes to start a server up. At its worst it took me maybe 35 minutes-- enough time to come to work, start the server, go have breakfast. Add in that the server crashes a couple times a day and I lose ten hours a week from tooling.

It used to take a huge amount of time to initialize a repository as well, but they recently switched to Yarn and that helped a lot.

I'm planning on leaving because as parent says, it's been a disaster from start to finish. Developer tooling does not help you be productive, the app performance is quite poor, and it's just not enjoyable to work on.

Re:I’m Joining LinkedIn by pier25 on Friday January 06, 2017 @10:58AM (#13337268)
> Anyway, besides the recruiter app, is LinkedIn really worthy of a SPA experience?

In some cases it makes sense, but very few websites really need to be SPAs yet everyone these days is using React, Angular, Ember, etc.

Facebook created React to not depend on other frameworks. They also added HTML and CSS into JS because their application is huge and complex. At their size it makes sense to have all the bits needed to work on something in the same place. Redux, same thing. It's a solution that is intended to solve problems at the 1B users scale.

The truth is 99.99% of web applications won't come close to that level of complexity, but devs insist in using solutions React and Redux because... hype? It's like driving with a school bus to carry 1 person. Dan Abramov has said himself that it doesn't make sense to use Redux until you need it.

Same thing with all those JS UI benchmarks. There must be a use case for rendering and doing data binding in 10000 UI elements at 60 fps, but those are very rare edge cases.

I'm guilty of this myself. I've spent 2016 working with React on a few SPAs and I have to admit I only got in it or the hype. Everyone was doing it which must mean it's the best way to go, right? Wrong.

I'm moving away from SPAs in 2017. Going back the classic route of generating dynamic HTML in the server and sprinkle pages with JS "widgets" whenever I REALLY need those UI enhancements.

If I need an SPA for a particular use case, sure I'll do it, but not as a default option.

Edit: In mobile SPAs makes even less sense. Sure you may be reducing requests, eventually, but the CPU usage is bigger and the initial load is also bigger. And sure, you can really optimise an SPA but this adds complexity on top of complexity.

Sites like HN and Reddit have proven that content is king.

Re:I’m Joining LinkedIn by KurtMueller on Friday January 06, 2017 @03:26PM (#13339882)
React and redux don't have to be a part of a SPA. You can have server-rendered pages with some react-based widgets on them. I think react and redux is great for that kind of stuff - I know I enjoy building widgets using react and redux as opposed to jQuery.
Re:I’m Joining LinkedIn by pier25 on Friday January 06, 2017 @03:44PM (#13340015)
In that case why not use something more lightweight such as Vue?