r/webdev • • Jul 28 '15

I'm all in. [xpost /r/javascript]

Post image
1.4k Upvotes

142 comments sorted by

7

u/mindsnare Jul 29 '15

No one actually did this... did they?

I mean I know people did, but I assume they were just robots... or Steve Ballmer.

32

u/cool_acid Jul 29 '15

Many developers developers developers did.

2

u/SemiNormal C♯ python javascript dba Jul 30 '15

developersdevelopersdevelopersdevelopersdevelopersdevelopers

2

u/theDoctorAteMyBaby Jul 29 '15

...did what? choose a language to focus on?

...yes.

2

u/todaywasawesome Jul 29 '15

A few years ago I was at a company where we had a 8 developer team lead by a CTO that bet everything on Silverlight. They went all in on MSFT stack across the board.

The team focused on a project for 9 months but it was still lagging behind.

We had a 2 man R&D team working in a JS/PHP stack that took a week to catch up with the Silverlight team and another week to launch the whole project.

CTO was let go after that.

1

u/thomasz Jul 29 '15

That's nothing. I once completed a php/JS project which had already wasted 200 man years in 20 minutes using visual basic script.

120

u/cube-drone Jul 28 '15

In defense of Silverlight, there's Netflix propping it up for at least a little longer.

93

u/sockstream Jul 28 '15

Is or was? It's HTML5 video for me.

56

u/[deleted] Jul 29 '15

It's HTML5 on Chrome, everything else still uses Silverlight

45

u/fwywarrior Jul 29 '15

Netflix in Safari on Mac has been HTML5 since last year.

source

2

u/TurloIsOK Jul 29 '15

Not Apple TV.

1

u/ninth_reddit_account Jan 24 '16

Actually it's Javascript on Apple TV - but that's an implementation detail of Apple TV apps.

-10

u/Skizm Jul 29 '15

too bad you cant get anything over 720p in chrome

13

u/I_cut_my_own_jib Jul 29 '15

? I get 1080p and I use chrome.

3

u/sagar_r Jul 29 '15

How do you even check the video resolution in netflix?

2

u/MooseEatsBear Jul 29 '15

I believe you hold alt or shift+alt and left click and it should bring up stream options on Netflix.

8

u/Amezis Jul 29 '15

Why is Skizm being downvoted? Netflix clearly states that Chrome with HTML5 only supports up to 720p: https://help.netflix.com/en/node/23742

8

u/[deleted] Jul 29 '15

Because it's not up2date. You get 1080p (you can check the stream).

2

u/[deleted] Jul 29 '15

I can confirm this was ONCE the case for me (at least for some shows) but now I'm getting 1080p.

-5

u/Aurilion Jul 29 '15

Limited by a browser and not the recording equipment or potential of the individuals computer? I don't think you know how this works.

-2

u/PromaneX Jul 29 '15

It's not. Skizm is talking out of his botty.

1

u/natebx Jul 29 '15

If you want 1080p HD via a PC, then you need to use IE/Silverlight.

-9

u/[deleted] Jul 29 '15 edited Jul 29 '15

I stream 720p using Netflix on Chrome via HTML5 all the time, and it's 1080p for Edge, IE and Safari. What the fuck are you talking about?

EDIT: It's 1080p for Edge and Safari. You can still use those fine.

Why the hell are you downvoting this?

17

u/Soccham Jul 29 '15

https://help.netflix.com/en/node/23742

Netflix themselves say they don't support 1080p on Chrome via HTML5...

5

u/[deleted] Jul 29 '15

Ah, I must have been mistaken.

It's still 1080p for Edge, IE and Safari though via HTML5.

3

u/natebx Jul 29 '15

If you want 1080p

-3

u/[deleted] Jul 29 '15

You can still fucking use Edge and Safari for 1080p HTML5.

Those aren't IE, and it's HTML5.

Stop saying that Chrome is the end-all, be-all of browsers.

4

u/natebx Jul 29 '15

That's exactly not what I'm saying. You're funny.

-2

u/[deleted] Jul 29 '15

Meh.

I don't care at all anymore.

I still don't see why chrome's streaming is worse than the rest of them though.

3

u/natebx Jul 29 '15

I think the answer is drm. I'm guessing it's too easy to make a chrome extension that records the video streams.

2

u/[deleted] Jul 29 '15

But it's 720p compared to 1080p.

And Edge is gonna support Chrome extensions.

It just doesn't make sense.

→ More replies (0)

22

u/GrayBoltWolf Jul 28 '15

Which they basically nuked for everyone except for the open-source browsers.

8

u/InfiniteBlink Jul 28 '15

I'm using the chrome browser to watch Netflix in Linux. Chromium wasn't supported

19

u/aaronbp Jul 28 '15

Chromium works, you just got to install the drm bit separately

4

u/APIUM- Jul 29 '15

Chromium works on arch with chromium-widevine

4

u/Falmarri Jul 29 '15 edited Jul 29 '15

That's hardly a solution. That basically runs silverlight inside wine.

Edit: Ignore me. I was thinking of having to use pipelight to use widevine under wine http://pipelight.net/cms/plugin-widevine.html

6

u/jleedev Jul 29 '15

widevine is neither silverlight nor wine.

1

u/Falmarri Jul 29 '15

Oh, you're right. I was thinking of pipelight, which is how netflix used to have to be run, which is basically widevine under wine.

1

u/thevdude Jul 29 '15

basically silverlight under wine. widevine is something completely different.

2

u/papers_ Jul 28 '15

But for how long?

43

u/AceBacker Jul 28 '15

Arrrgh. This was me. I developed a whole suite of reports for a bunch of folks using visifire.

Aaaaaand then eventually had to rewrite them using highcharts when they found out that they needed to use them from some linux terminals using firefox.

1

u/Jew_Fucker_69 Jul 29 '15

I guess you're in Bing-Optimization now.

0

u/[deleted] Jul 29 '15

[deleted]

6

u/AceBacker Jul 29 '15

You might consider rotating that time axis 45 degree's for readability: http://www.highcharts.com/demo/column-rotated-labels/grid

It sounds like you want a custom zoom. I've also done this manually. I usually use middle ware to calculate the values and pass them to javascript.

var chart = $('#highchart_container').highcharts();
chart.zoomOut();
var js_min = 0; // put your determined values here
var jsmax = 100;
chart.xAxis[0].setExtremes( js_min, js_max, false);
chart.redraw();
chart.showResetZoom();

Sounds like you have too though.

The benefit of doing it this way was that the user can press the zoom out button to view all the data if they prefer. I like full transparency in my charts.

3

u/BasicDesignAdvice Jul 29 '15

is there anything remotely similar to this that is open-source?

2

u/PM_ME_UR_PERESTROIKA Jul 29 '15

Yeah, ChartJS. It's less feature complete by a long margin, but hey, it's free. The graphs it produces are also pretty.

3

u/strig Jul 29 '15

check out c3.js as well

1

u/PM_ME_UR_PERESTROIKA Jul 29 '15

Thanks for the heads up, that looks interesting! D3 is awesome, but D3 is to charting what jQuery is to single page applications. c3.js looks like it could tame D3 a bit.

1

u/strig Jul 29 '15

c3.js is what we use at work, it's great

2

u/sqrtnegative1 Jul 29 '15

I don't think I've ever found something I can't do with it.

I'm willing to bet you can't access local resources in Chrome...

32

u/jamesinc Jul 29 '15

I gambled on focusing my skills around JS in 2006/7 and it's like the single best choice I ever made. I remember after getting stuck into it for a few months wondering why it wasn't even more popular (given that 'Web 2.0' libraries were already out in force at the time. Prototype, script.aculo.us, and Mootools were the ones I remember the most). I ended up being what you call a full stack developer, but JS was core skill #1.

12

u/MrObvious Jul 29 '15

Prototype, script.aculo.us

Please stop

The flashbacks

9

u/not_a_real_penguin Jul 29 '15

The flash javascriptbacks

Is there a /r/webdevdadjokes I can go to now?

6

u/scoarescoare Jul 29 '15

Same for me, just started a couple years after you. I went way down the rabbit hole around the rise of the sproutcore era.

1

u/[deleted] Jul 29 '15

Same for me.

1

u/OkSt00pid Jul 29 '15

I knew around 2001 JS would be a game changer, I just tried to avoid it as long as possible. That backfired of course...

15

u/dodeca_negative Jul 29 '15

flex*

--me, 2007

5

u/[deleted] Jul 29 '15

flex was pretty decent, actually, so I'm a little bit bummed over that too. AIR was kind of awful though, I'd rather have flex to make web UIs or something.

2

u/Phreakhead Jul 29 '15

I mean, you didn't realize it was a terrible idea after 5 minutes of programming in it?

48

u/goofygrin Jul 29 '15

Been a msft stack developer since 2001. Even I knew silver light was a non starter.

27

u/wafflesareforever Jul 29 '15

I never understood how they expected to compete with Flash, which was basically on every computer already and AFAIK could do all the same things.

22

u/dodeca_negative Jul 29 '15

But didn't you see how well it zoomed?

2

u/Nilzor Jul 29 '15

Oh god, the Hard Rock Cafe Memoribilia show case. If you weren't sold there, you'd never be! Such zoom!

7

u/see__no__evil Jul 29 '15

One thing I don't get about this comic is why they seem to be placing bets between Silverlight and JavaScript... It could be considered a competitor to Flash, but not really the same vein as JavaScript, and certainly never poised to overtake JavaScript at any point.. Right?

13

u/rebeltrillionaire Jul 29 '15

The joke is ruined if it was more technical(ly accurate) because it's entire interpretation would result in the vein of dialogue you are trying to initiate.

To explain it: sometimes as a dev you look at a piece of tech and say, I don't wanna be everything to everyone. I'm gonna pick something and stick with it. They picked Silverlight and went all in on it, it ended up bombed out and depleted. The ball landing on JS is just meant to convey that it would have been a great bet. But yes, a ton of things could go there. Some might even have the better dichotomy to make it more Red / Black or Odd / Even vs the numbers in roulette.

1

u/see__no__evil Jul 30 '15

It makes sense now, thanks :-)

5

u/[deleted] Jul 29 '15

the strip wasn't meant for this. It was meant for which technology you should invest as a developer because it may payoff in the future.

4

u/protestor Jul 29 '15

The thing Flash and Silverlight had and Javascript didn't have was DRM. Adding DRM to HTML5 video was the nail in the coffin.

Anyway, those technologies also compete with Javascript, in that you can opt between developing a pure-Javascript game, video player, etc (or whatever you were doing with Flash).

0

u/wafflesareforever Jul 29 '15

It's certainly more similar to Flash than JS, but there's a good deal of overlap in terms of what you can use them to accomplish.

2

u/MachinTrucChose Aug 02 '15

Hubris. This was just before the mobile/tablet revolution, back then MS believed they could do what they want due to the desktop being the center of technology, and them having a monopoly there.

Now they've had to open-source .NET, give away Visual Studio and Windows 10 for free (for most people), and put iOS/Android/Angular/Cordova support directly in Visual Studio.

2

u/way2lazy2care Jul 29 '15

It was a starter, just not a finisher. Needed something that was not-flash until html5 was good enough to take its place.

12

u/IrishLadd Jul 29 '15

Laughed really hard at this.

Two years ago I started my current job and immediately started converting a SilverLight app to a JavaScript SPA. Took us 9 months, but since then we've been able to focus more resources on growing the business and have more than doubled revenue.

6

u/SuperThunderMelon Jul 29 '15

It's amazing how popular a language with such odd scopes is.

3

u/thenickdude Jul 29 '15

Properly block-scoped variables (according to virtually every other language) are coming in ECMAScript 6, which are declared with the "let" keyword instead of the "var" keyword.

5

u/[deleted] Jul 29 '15

Interesting, was Sliverlight something people had high hopes for? Sorry if it sounds stupid but I've only been a dev for the past few years and Flash/Sliverlight were both hated on as I learned the ropes.

3

u/xiongchiamiov Site Reliability Engineer Jul 29 '15

Even as a Linux user, I found it really interesting, mostly because it allowed developers to use python or ruby in place of JavaScript (via IronRuby and IronPython). I was really hoping to relegate JavaScript to a position similar to PHP's, and instead now I've got people telling me to use JavaScript on the server as well.

1

u/d36williams Jul 29 '15

I had companies that wanted me to code all in Silverlight. I turned down their contracts, knowing MS would make some mistake and abandon it inevitably.

5

u/jolyon_russ Jul 29 '15 edited Jul 29 '15

I never really had an all in moment, but a slow 5 years throwing all my chips at Flash.

The sharp drop off in work I had is part of the reason I tend to lag behind the curve by a year or two now. I wish I'd had the guts to push all in on Objective-C.

4

u/Soccham Jul 29 '15

Which is now going to become obsolete to swift. C# is where the $$$ is.

2

u/MachinTrucChose Aug 02 '15

C# is where the $$$ is.

What makes you say that?

1

u/Soccham Aug 03 '15

C# is the most used third party windows language, can be ported for iOS/android apps, is used for asp.net, and is all around a great language with a variety of uses.

2

u/MachinTrucChose Aug 03 '15

I knew that, it's the "where the $$$ is" part I was wondering about.

I was under the impression C# devs (on average) got mediocre pay like PHP devs. I'm talking on average, not what a superstar developer can make. Something like Obj-C/Swift for native iOS development is a lot hotter and companies are throwing money at those devs.

Also, even though there's Xamarin, I don't think anyone is using it, it seems like a ghetto low-budget organization. Their own forums are nearly abandoned, they get like 30 posts a day (many unanswered), and their first page has been full of "find hot escorts in Mumbai" posts for 2 days now. Also no one ever seems to bring up Xamarin in the C# IRC channel on Freenode.

1

u/jolyon_russ Jul 29 '15

See Swift is a language I like the look of, so much like ActionScript <3

1

u/Soccham Jul 29 '15

I'm excited to see what they can do with it in regards to maintaining the language with the sheer amount of resources they have available.

I'm also really excited at the open source possibilities.

1

u/stesch Jul 29 '15

Take a look at Haxe. Coming from a Flash background you should feel at home.

1

u/jolyon_russ Jul 30 '15

Good suggestion, I've not played with Haxe since it first came out.

Funny story, I beat Nicolas Cannasse (the founder/director of Haxe) at poker once, it was either the first or second Flash on the Beach conference and we we're having a 10 up mini tournament at a casino, it ended up heads up between me and Nicolas, I won with a set of threes. Really nice guy :)

11

u/rickdg Jul 28 '15 edited Jun 25 '23

-- content removed by user in protest of reddit's policy towards its moderators, long time contributors and third-party developers --

5

u/rspeed cranky old guy who yells about SVG Jul 28 '15

There's an open standard for browser-based DRM now, no need for plugins.

2

u/[deleted] Jul 29 '15

Now? It's only a draft AFAIK

8

u/nvolker Jul 29 '15

All of HTML 5 is still technically a draft spec. All that really matters is browser support.

7

u/rebeltrillionaire Jul 29 '15

Which reminds me I haven't seen Acid tests in years.

3

u/vinnl Jul 29 '15

You should follow development of Servo then :)

2

u/rspeed cranky old guy who yells about SVG Jul 29 '15

One which has been gaining browser support. I've been using Netflix without Silverlight for nearly a year.

4

u/actionscripted Jul 29 '15

Flash is coming back in poplar unity any day now! Right? Guys?

4

u/Deathspiral222 Jul 29 '15

I was once a J++ developer.

"Fuck you Microsoft!" was my response upon hearing about Silverlight.

3

u/WebDevigner Jul 29 '15

Silverlight was so awesome...until it wasnt :(

5

u/hmny Jul 29 '15

I'm doing the same thing with .Net

3

u/[deleted] Jul 29 '15

The last years net has gone in very good directions so I'm hopeful

3

u/[deleted] Jul 29 '15

that's entirely different

8

u/OriginalPostSearcher Jul 28 '15

Original XPost referenced from /r/javascript by /u/cool_acid
I'm all in.


I am a bot made for your convenience (Especially for mobile users).
PM me if you have any questions or suggestions.

8

u/Soreasan Jul 28 '15

I laughed way too hard at this.

6

u/inthrees Jul 28 '15

I remember the big announcement and my takeaway was basically "Ok, I'm more or less prepared to install it if it ever turns out to be a thing I need."

And thanks to this comic I guess I can dial that down to "I guess I will never install it."

I think I actually did have a firefox install that had it installed because I think I remember seeing it in add-ons/plugins but for the life of me I can't think of anything I ever did that used it, and I'm fairly certain I had 'disabled' checked.

"Hey, the soothsayers are all claiming flash is dying, right? Let's get in on that and make a competitor!"

2

u/Hypersapien Jul 28 '15

I'm doing silverlight at work for internal and b2b forms.

I had never touched it before getting the job last September but I took to it pretty easily. It's a lot like windows application programming, and xaml is just another application of UML to wrap your head around.

2

u/[deleted] Jul 29 '15

JS dev since 2000 :P

-8

u/Caravaggi0 Jul 28 '15

This is a pretty good example of when having a slight familiarity with the subject makes it funny but having actual familiarity just leaves you scratching your head.

5

u/adam_bear Jul 29 '15

I have actual familiarity and it struck a painful chord...

4

u/nvolker Jul 29 '15

It's making fun of developers that prioritized learning Silverlight instead of JavaScript. They gambled on which skill would be more useful, and lost.

-22

u/hahaNodeJS Jul 28 '15

Meanwhile I'm making a pot o' gold here in C# and .NET land.

18

u/dweezil22 Jul 28 '15

Its almost as if, in a world where Software Engineer is the #1 or #2 job on most surveys, a good living can be made with a large variety of technologies...

-3

u/ghostbrainalpha Jul 28 '15

Jesus Christ... I laughed harder than I should have at that comment.

-2

u/hahaNodeJS Jul 29 '15

Kind of my point.

2

u/Pr3fix Jul 29 '15

Any some make a pot o' gold with Node based tech ;)

2

u/[deleted] Jul 29 '15

They other guy expressed it better.

11

u/[deleted] Jul 28 '15

I don't understand how this is relevant

-5

u/hahaNodeJS Jul 29 '15

Because Silverlight is a .NET technology, and the comic's subject is gambling.

0

u/[deleted] Jul 28 '15

[deleted]

4

u/codeByNumber Jul 28 '15

When else is he going to reddit? (Besides the toilet that is).

6

u/hahaNodeJS Jul 29 '15

It doesn't. I suggest giving Visual Studio a try, and perhaps redirecting your sympathy toward someone who needs it.

4

u/Ray57 Jul 29 '15

cool. do you have a ppa?

3

u/[deleted] Jul 29 '15

you know god damn well he doesn't!

-13

u/Caraes_Naur Jul 28 '15

LOL, Silverlight. Microsoft's only worthwhile, lasting contribution to the web as a platform is XMLHttpRequest, and even that everyone agrees they initally did wrong.

11

u/StenSoft Jul 28 '15

Don't forget <bgsound> and <marquee> :-D

28

u/[deleted] Jul 28 '15

[removed] — view removed comment

11

u/Fortyseven Jul 28 '15

Just started playing with that, myself. It's quite excellent. (Oh, and don't forget C#, among the good contributions. :D)

5

u/sclarke27 Jul 28 '15

i really like c#. Been doing some unty development lately and C# feels so much better then JS in Unity. I also remember when C# came along to replace visual basic in the days of ASP pages. I really hated VB so C# was a godsend.

2

u/Pr3fix Jul 29 '15

Yeah typescript is much more enjoyable than coffee script IMO

-11

u/webdeverper Jul 29 '15

In a few years replace silver light with Swift, lol

13

u/BasicDesignAdvice Jul 29 '15

You don't actually know what swift is do you?

2

u/[deleted] Jul 29 '15

Highly doubtful.

0

u/[deleted] Jul 29 '15

[deleted]

4

u/ragingRobot Jul 29 '15

but those all use javascript and javascript will still be around.