« first day (1570 days earlier)      last day (3385 days later) » 

7:01 PM
What an awesome guy
Brilliant too
 
user1596138
Can't cool this down
 
user1596138
lol I'm not hot I'm not commenting or bitching at anyone?
 
@NickDugger for the record, I'm sorry if I was rude earlier - I did in all sincerity try to help. There is no way any of us could have found this issue - we would just get undefined - we looked at the mOxie code and it checked out and your code didn't do anything that could have triggered that.
I guess the question ended up being useful because someone from Microsoft looked at it. So I guess you got at least got a win in the end.
Can you post more code? Are you using a $http function? — U r s u s 8 hours ago
lol
 
@BenjaminGruenbaum angular is the new jQ
 
To think @Zirak was right all along :D
 
7:06 PM
Wow, SO is just overflowing with terrible low quality questions at this hour
 
!!s/at this hour//
 
@BenjaminGruenbaum Wow, SO is just overflowing with terrible low quality questions (source)
 
Eh?
!!s/awesome//
 
@Jonathan What an guy (source)
 
Zirak? Right? Inconceivable!
 
7:07 PM
Yea, but I still like SO. Way better than those before it (I'm looking at you Experts Exchange).
 
Why what is?
 
Well somehow my bar should animate to the left when scroll position is equal or more than 15. Instead it just gets significantly slower at completing until I stop scrolling
As if the animation retriggers or something everytime I scroll
 
Ok, I' downvoted it for you and I'll let someone explain why that is
Bye!
 
Trying to get windows updates so I can get the latest IE, and my harddrive ran out of space...
It's 120GB, and I have nothing to uninstall
 
7:12 PM
Got the answer
 
user1596138
@NickDugger 120GB?
 
@Jhawins I didn't put the computer together...
It's a hunk of junk
 
user1596138
Ohhh wait. I thought you were saying the updates totalled 120GB
 
user1596138
lol
 
-5
Q: The different result when add <p id="demo"></p> or not

A_SemaphoreIn w3schools code, <!DOCTYPE html> <html> <body> <p>Click the button to display a confirm box.</p> <button onclick="myFunction()">Try it</button> <p id="demo"></p> <script> function myFunction() { var x; if (confirm("Press a button!") == true) { x = "You pre...

good lord
 
user1596138
7:15 PM
@SterlingArcher "I'm on a tutorial site but I don't want to read it I'm going to use the code and ask you guys to explain it"
 
I know
 
user1596138
God damn
 
But even if you don't know JS at all, seeing the "demo" in the document.getElementById should have been a major freaking hint
My brother, the moron, could see the issue with that
(the code moron, he's actually very smart)
 
user1596138
Can I vote to close as "contains <p id="demo"></p> in title"
 
Probably
Close as "why isn't this code working"
 
user1596138
7:18 PM
Close as "nuke the world"
 
yus new video
lol squeaky bike ran into dead stump and exploded
 
oh man, just realized I can totally use 6to5 for our build dashboard page
probably the only place we'll ever be able to use it, but since it's an internal tool, screw IE
 
@SterlingArcher: How is this example different from <button ng-click="myFunction()">Click me</button>? Tons of 'modern' frameworks adopt this model, so why do we look down at examples like the one above? — sholanozie 5 mins ago
omfg...
 
@SterlingArcher they've got a point, it's really not. That's a large part of why I don't like Angular much.
Keep that in your view class, not in the DOM.
 
That point is irrelevant though
 
7:27 PM
@ssube 6to5 actually has excellent IE support
 
Can you compare the practices of angularjs to that of native js?
 
@SterlingArcher yes. Libraries should, wherever possible, use existing best practices.
 
Aka angular blows because it violates the most basic practice of "abstract yo events son"?
I can agree
I like angular, but I hate the inline-ness
 
@SecondRikudo it might, but we already have performance issues, thanks to a number of stupid people(/contractors), who could never grasp code like that. So it won't happen on any of our products.
 
I love the inline-ness but I don't like how Angular does it :P
 
7:30 PM
@SterlingArcher I phrased it a little bit less harshly, since I don't care thaaat much, but that's the idea. :p
 
@BenjaminGruenbaum really? I like the functionality but it's hard to read
I'm so used to addEventListener that anything else really seems taboo lol
 
@BenjaminGruenbaum That'll teach you to doubt me.
 
@SterlingArcher addEventListener is so imperative and hard to read - which do you find easier to read? :
 
!!google define imperative
 
@SterlingArcher I like how Backbone does events (in the view ctor, this.events = {sel: cb, sel: cb})
 
Oh I knew that
 
@SterlingArcher imperative means "I'm telling you what to do in order to accomplish Y" and declarative is "I'm declaring you should do Y, figure it out"
sorta.
Like when you SELECT in SQL you're telling it what you want back, not how to get it.
 
Oh that makes sense
 
@SterlingArcher An extreme form is configuration vs code
 
@BenjaminGruenbaum Inline event handlers are declarative?
 
7:34 PM
<div onclick='sayHi()' > vs <div id='clicker'> and later on having document.getElementById("clicker").addEventListener("click", sayHi, false);
 
Are you ill?
 
@copy in Angular they are since they're not really event listeners but the command pattern.
 
@BenjaminGruenbaum Not to mention they're scoped
 
That looks exactly the same, just with the event being defined in a different place
 
Unobtrusive JS is useful for websites. SPAs don't make sense with unobtrusive events since unobtrusive events imply that the site makes sense without them.
 
7:36 PM
@SecondRikudo which is very important. It's more $(this.el).find(...), or in backbone, this.events.forEach((event) => { $(this.el).find(event.key).on(event.event, event.cb); })
 
@copy yes, in one case the event is being defined on the element it's happening on and in the other case it's being defined somewhere else - so when you look at the element you need another lookup.
 
but with slightly different semantics, cause of how they name stuff
 
onclick has horrible semantics in browsers which is why everyone should avoid it - the problem is not with putting view logic in views.
It's like @SecondRikudo and @ssube said with scoping. Which is why I often do stuff like the following in vanilla:
 
@BenjaminGruenbaum I see. But that's not declarative like in logic programming
 
@copy no, it's declarative markup - it's the same way HTML is declarative vs building the DOM yourself in JS.
 
7:38 PM
@copy at some level, you (or someone else) must be imperative.
 
But not declarative as in imperative vs declarative
 
It's the same kind of declarative, just applied differently. In logic programming the inference engine figures out things for you and in HTML the browser figures out things for you.
You declare you want a document with a certain structure, you don't actually build it.
 
But the idea is to keep that contained in places which are meant to be like that, and the rest being declarative.
 
Of course, being declarative is a scale, just like being functional or being object oriented. Things are more or less declarative than other things. It's not absolute.
 
Does IntelliJ support ES6 syntax? Docs say yes, editor says no, preferences doesn't seem to have a flag.
 
7:40 PM
Meh, I don't see it
 
@ssube Yes
 
WebStorm does so I assume it does but @SecondRikudo is the only other IntelliJ user here iirc
 
@SecondRikudo How do you enable it, or is it always-on?
 
There's onclick="..." in the template in Angular and .onclick = function() { ... } in JavaScript
 
7:42 PM
@SecondRikudo is that 14? It's in a slightly different place in 13, but that got me close enough (thanks)
 
@copy A better example would be ng-if vs using collection.filter to create and remove DOM nodes yourself.
@ssube Yeah, that's 14
@ssube In 13 just search for "JavaScript" there aren't that many options :P
 
@SomeGuy huh, that was pretty interesting
People are dicks
 
@SecondRikudo yeah, looked under "language" and it came up. Had been searching "ES6" and such before.
Now I can use destructuring and impress those pretentious Scala derps (who are some of the only competent developers we have). :D
 
@ssube I know the feel
We have like... 5 competent JS developers in the entire company
 
@BenjaminGruenbaum sorry I had to make a call to my insurance company
 
7:47 PM
And frontend is at least 50% of the job...
 
I'm jumping through hoops over here >.<
 
(Nor head, for that matters)
 
Yay, installing updates fixed my IE bug
 
yeah, we pulled in a ton of contractors a while back, and they're largely shit
 
@ssube Sadly, I'm talking about full time employees
 
7:49 PM
a few are hyper-specialized in stuff we don't need (or want), like weird test frameworks
 
is there anything wrong with this? It looks like article is a $promise rather than JSON
 
the rest just don't know which way up is on the keyboard
 
.controller('ArticleController', function($scope, $routeParams, $rootScope, Article) {
    Article.get({
      articleId: $routeParams['id']
    }, function(article, headers) {
      $scope.article = article;
    });
  })
 
My code is the only code that has any sort of OOP inheritance
 
nevermind... stupid mistake on the backend portion.
 
7:51 PM
actually it didn;t fix my bug. Whatever, though
 
Thus, they concluded that the Phrygians were an older people than the Egyptians. @SomeGuy :-> neat
 
@SecondRikudo most of our code does, thanks to backbone, but none of it is right.
 
@corvid anal isn't for everyone
 
Nobody uses the underscore methods or anything idiomatic
 
@ssube lol backbone is awful
I don't use underscore methods ever. They always seemed silly.
Well, at least since ES5.
 
7:55 PM
@BenjaminGruenbaum It's mostly useless, and I don't think IE supports enough of the ES5 methods.
 
@ssube what IE?
 
i see quite a bit of javascript in the real world that contains underscores to identify ownership or scoping levels
 
The MVC idea is good and all, but having wrapper classes for "collections" and "models" that make AJAX magical is shit.
 
IE9 supports ES5, IE8 can be polyfilled to support most of them.
 
@BenjaminGruenbaum 8+
 
7:56 PM
@ShaunWilson he was talking about the underscore library, not using underscores in identifier names.
 
derp
 
@ssube polyfill map/filter/reduce etc. That's all you really need most of the time.
 
o/ good morning i will finish my coffee now
 
@BenjaminGruenbaum I use pluck rather heavily (which can be implemented with map)
 
7:56 PM
@ssube yeah, I agree - I hate the fact none of your stuff is actual JS objects. It makes interop hard and I hate the getters/setters.
@ssube I don't like pluck since it feels special - then again I have no problem using .get in bluebird :P
(which does something similar)
 
@BenjaminGruenbaum yep. ES6, a reasonable base View class for your app, and you have 95% of the helpful parts of Backbone.
The one thing I do like, mentioned before, is how they do view events.
 
@ssube yeah, the event emitter and the router - those are easily implemented in native JS though
 
Specifically, how they define them:

events: {
"click .icon": "open",
"click .button.edit": "openEditDialog",
"click .button.delete": "destroy"
}
wtf are you doing, chat?
 
I really don't care for that syntax. I think non-declarative event binding is really annoying to maintain for a long time.
 
No murkdown in multiline messages
 
7:59 PM
I'd much rather have declarative binding like knockout or angular.
 
I'd rather have {'.icon': {'click': [cb1, cb2]}}
I might write a lib to do that, actually.
Selector: event: [callbacks]
 
Why do you need an extra mapping between a button with class 'delete' to the event destroy where it's not on the element?
 
anyway, I have to go tell QA they can't use seat-licensed tools in the CI server now
 
(licensing)
 
@BenjaminGruenbaum No stickers? I quit.
 
> Closest guesser (who provides their user link at the end of the survey) gets a tee shirt.
 
user1596138
@SterlingArcher youtu.be/7V0icsk89IA because you post things like that // totally sfw, doggie tries to save owner from "drowning"
 
They still owe me a dollar.
 
user1596138
8:09 PM
> Which of the following languages or technologies have you done extensive development with in the last year? (select all that apply)
 
Meh, it's all careers focused.
 
user1596138
> LAMP
 
user1596138
I has done extensive LAMP develops
 
linux apache mysql php
I feel SE is pushing too hard on monetising with careers.
 
user1596138
@BenjaminGruenbaum Yeah of course. But where are all the other popular stacks?
 
user1596138
8:09 PM
PHP has a separate option lol
 
user1596138
@BenjaminGruenbaum After the new design it's fugly
 
user1596138
Oh they seem to have reverted from the "jobs within company columns" thing they did in results.
 
I don't like it very much either.
 
user1596138
Idk I obviously haven't had a lot of jobs but I feel like they aren't offering... Anything?
 
user1596138
Careers seems to be less featured than usual job sites and only differ in the "no recruiters" way.
 
8:17 PM
No recruiters is huge to be fair
 
user1596138
I agree.
 
user1596138
But options for a search are (text, [allows remote, offers relocation]) there is no salary info or anything else
 
user1596138
Although I would also say maybe the other job sites just have a ton of useless features... Salary shit isn't that useful.
 
user1596138
I feel like the SO team of all people should understand the need to differentiate skill levels though. Where is my "minimum experience" filter?
 
@ShaU Look, I offered to collab with you to help you figure it out, you said you don't use fiddle, I gave you a bunch of screenshots not demonstrating the problem, gave you a general direction to look in, there's only so much you can expect out of random people on the internet, I think I'll ask for pre-payment next time..
 
8:19 PM
I love how "Tabs or Spaces" is considered basic life information up there with age and gender.
 
@Retsam Spaces, flame on!
 
@Retsam it really indicates "we should listen to this person" or "this person has no idea what they are talking about and we can safely ignore them"
 
Well, I put "it depends"; I honestly don't really have strong feelings one way or another.
I prefer not to be categorized into your false dichotomies.
 
user1596138
I like the choices of operating systems
 
user1596138
I only need two choices "not posix" and "posix"
 
user1596138
8:22 PM
The nitty gritty doesn't matter to me, if you answered the first I already know what I need to haha.
 
user1596138
Cause I don't use any specific OS all the time. I'm a developer lol
 
I chose windows 8 although I haven't used it for development most of the year just because I like it best.
Most of my year has been OSX and linux :(
 
user1596138
I'm always OSX and linux of some kind. If I try to use Windows I waste some like 30% of my time figuring out why Microsoft hates us.
 
user1596138
Before I finally just boot a VM if I'm really stuck on Windows lol
 
You should get to know the power tools windows has better.
Most of what you know how to do with linux you can do with windows and vice versa.
 
user1596138
8:28 PM
Of course I could.. But why? Will it do it better?
 
Although I love bash and use it a lot more than windows alternatives but that's just because I ssh into linux machines a lot more often than I access remote windows VMs.
 
user1596138
Bash gets me off.
 
Naa, bash is just the available tool.
 
user1596138
Idk the reason I hate it isn't easily explained.
 
bash? You can't really use linux as a power user without knowing bash
It's everywhere. Or at least another shell, if I'd care I'd use zsh I like it better but I don't use any to enough extent to.
 
user1596138
8:31 PM
I feel like things in linux are "real", whereas in Windows I feel like these "things" are alias' to some other dimension where things hate you and want you to fail and be miserable.
 
user1596138
@BenjaminGruenbaum No I love bash lmao. I cut 6 hours of work each week out with bash (and it only takes 4 minutes a day) lol
 
I don't really feel that way in windows.
powershell does most of what bash does :P
 
user1596138
I can SSH into a bash enabled machine from a chrome extension and do work
 
Yeah, I love that, I do that all the time (only from my terminal or putty and not from chrome).
 
user1596138
Like real, "hardcore" work. I can get shit done! I feel like I just can't in windows.
 
8:32 PM
It's the only reason I think knowing vim is important :P
 
user1596138
Or hell even off my phone lol
 
in other news, I've mostly gotten mOxie to work
 
@Jhawins Yeah, I know what hardcore means, and it definitely ain't work ;)
 
@Jhawins then you should learn windows better. People approach linux with a lot more openness than they approach windows :P
 
user1596138
@BenjaminGruenbaum I told you how it was for me awhile ago right? Dad gets a virus in ~2004, Jhawins is like 9 years old, Dad bans entire family from using Windows. :D
 
8:34 PM
oh lol, you never said that :D
 
user1596138
I admit that basically I'm a windows user that doesn't understand linux in reverse.
 
Yeah, windows security 9 years ago was horrible.
dem edits.
 
user1596138
Jeez I got confused on those edits..
 
how do I get the index of what input has focus of three inputs in a div?
 
Once C# and vs are on linux as well as the adobe sweet I'll probably like it better.
@SuperUberDuper e.target.index?
 
user1596138
8:36 PM
Yea like normally the windows guy is just using it because that's all he knows and he's like what the fuck is this buntu shit? But I'm the other way around. And after Windows 8 ain't no way in hell I'll change hahahaha
 
maybe $.(#div.input [focus])
 
user1596138
@SuperUberDuper Uhh. Show codes.
 
user1596138
Do you understand events?
 
@Jhawins I don't like ubuntu, I think its a very mediocre linux.
 
@BenjaminGruenbaum VS is actually one of those tools that I really wish would be cross-platform (Mac, Windows and Linux) -- but there's so much animosity toward MSFT in the community still :(
 
8:37 PM
  getFocusedIndex: function () {
    let index = 0;
    if (index === this.get("numberOfDials") - 1) { // last element remove focus form component

    }
    else { //jump to next one
    }
  },
 
I loved it back in 06
@ShaunWilson they can hate Microsoft all day - I like their stack. C#/F# are solid, ASP.NET is solid, VS is solid and integration is simpler than any other stack.
 
Div
    input1
    input2 (this has focus)
 
user1596138
@BenjaminGruenbaum Oh I'm not worried about that part :). I can love OSX just as much as Ubuntu, or Mint or anything else. It's what's underneath that matters
 
I remember when I did PHP I thought to myself "how could this be simpler? This is so easy!" and then I learned .net :D
 
I want my function to return 1 in that case..
 
8:38 PM
@BenjaminGruenbaum jeeze I had the opposite experience lol
 
user1596138
@SuperUberDuper Please make a jsfiddle
 
@SuperUberDuper for the second time: .index
 
I was like PHP is so easy, .NET why do you make it so complex!!
 
@Loktar probably you used webforms.
 
yep :P
 
8:39 PM
Today my deploy is rightclick->deploy and it's on its own vm on the cloud and I didn't need to configure anything at all.
 
Automatic everything, auto backups, auto availability, auto scaling.
 
yeah but thats cloud hosting in a nutshell not necessarily .net
 
Yeah, but in .NET you don't need or have deploy scripts.
 
yeah we are using MS's deployment manager now
its pretty nice
 
8:41 PM
And the integration to vs is amazing. Show me any other stack that'd let me rewind my code LIVE on a production server or break into debugger so easily with 0 config.
 
yeah .net + vs are a great combo
 
The 0 configuration part is really what bought me.
We had issues, but they were always addressed except when we tried to host php sites on Azure which they support but those don't actually work :D
Although I hate the magic for sure
 
> How do you feel about the frequency with which you're contacted by recruiters?
^ I'm not really contacted by recruiters and don't care to be... but there's no option for that.
 
@Retsam lucky you
 
Yeah; probably an advantage of getting a job with the company I interned with in college and never really going through the "job search" process.
 
8:50 PM
does anyone here use Jasmine for backend testing?
 
I wish good companies tried to sell me jobs, but they don't need to, so it's only shitty ones. :\
 
@RalphWiggum I used to, use mocha.
@ssube lots of good companies try to sell me jobs - it's just a factor of what libraries you interacted with on GH and having popular answers in SO.
The problem is usually those jobs require relocation -_-'
 
I tried to tell my interviewer that we used Jasmine for backend tests, but he told me it's for front-end only... so I had to secondguess myself
>:|
 
@BenjaminGruenbaum yeah. I'd totally work remote, but things are too cushy here, and fuck moving to CA or some super expensive place like that.
 
@RalphWiggum he was just uninformed. Jasmine is most certainly for backend tests
I hate remote - I love interacting with people
I'd actually love to live in the valley - it's almost as expensive here anyway and I want to live abroad anyway but my wife is also a factor.
 
8:55 PM
ditch her, get a horse
ride off into the sunset
 
I really just want to work remotely for a company out there and be like "yeah, so, you pay X because of cost-of-living. Give me X-20k and let me work remote, and we're good, k?"
 
I hate working from home
 
Then spend a bunch of money on a sweet home office setup and just be on chat all day.
 
@ssube What about SE? They're hiring people for remote. I'd be all over that if I thought working remotely is something I'd enjoy.
 
8:56 PM
Fly out every other month for a week or two.
 
working remotely in a company that doesn't value remote workers (and hence doesn't make it a priority) is not going to be a good experience for either side
 
^ also completely agreed
 
@BenjaminGruenbaum Haven't touched C# in years, probably not the best choice. Something JS/Java and DevOps-y, tho...
 
I'd much rather be in the office, communicating with my teammates
 
@ssube they have people doing frontend I think
Really not sure, I'm not into remote - I like being around people.
 
8:58 PM
@BenjaminGruenbaum I do not want to do frontend anymore, it's awful and I hate it. :D
2
 
@ssube haha, easiest star bait ever.
 
A million times happier writing scripts for the build server and stuff.
 
I don't like automation very much and I do like frontend - but I like prototyping it and solving the more interesting problems.
 
Build scripts start with requirements, then you use all sorts of edge tech to make a script that nobody really cares how it came to be, so long as they can run it.
 
I don't like tracking IE10 bugs down :D
 
8:59 PM
That means I get to sit by myself, talking to the server guys, and using 6to5 and the strictest lint possible.
 

« first day (1570 days earlier)      last day (3385 days later) »