« first day (2155 days earlier)      last day (2803 days later) » 

5:00 PM
and now I'm trying to figure out both simplex noise, and whether it's ok that I'm trying to figure it out (I never mentioned I could have known how to use it, so it wasn't a presumed skill, but neither did they ask me to use it, I just think it's a good solution to a problem they asked me to solve)
@Francisco oh no, I meant using something simpler that I knew how to do, but with a quality cost
but no time "lost"
 
> "to a problem they asked me to solve" - Think this this is the justification right there
 
@Luggage but again, I could have solved it another way, although I'd give them a worse result
 
well, I prefer a programmer that puts a little time into getting a good solution, not jsut closing a ticket as fast as possible.
 
@SterlingArcher so I should start sending them to @Loktar and @KendallFrey ??
 
Hi guys
 
5:02 PM
What you describe all sounds correct, but I don't know your employer, your work environment, etc
 
@rlemon I'd see them once a month probably
lol that's how often I check hangouts
 
@Luggage Well if the solution you found works well use it. I guess just document it properly?
 
I agree, but then I'm not a company owner that doesn't love logic in itself
 
Guys I need your guidance
 
ah well
 
5:03 PM
@Loktar monthly gif dump then :D
 
So can anybody give me some guidance please
 
haha
 
@Learning guidance for money? How's that?
 
@rlemon obvi
 
!!welcome @learning
 
5:03 PM
@@learning Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@Learning always wipe front to back
 
@rlemon Is there a mailing list? I'd be cool getting them too.
 
@Learning never lick the strippers
 
I'll see if leddit.com is taken
 
leddit.be
 
5:04 PM
@SterlingArcher ...I didn't get that memo.
 
then I can put fancy words in like tetragonal disphenoid honeycomb
 
Guys I have a layout page(mvc master page) on which I have 1 dropdown filled with list of clients
 
!!stats Learning
 
@Trasiva Learning (http://stackoverflow.com/users/4927379/learning) has 264 reputation, earned 5 rep today, asked 150 questions, gave 6 answers, for a q:a ratio of 25:1.
avg. rep/post: 1.69. Badges: 0g 5s 26b
 
Now I have 1 page on which I am adding clients and that page is angular driven
 
5:05 PM
@Learning how long have you been asking questions here?
 
Ohhhhhh @Loktar
I'm not waiting for this one
check hangouts
 
@SterlingArcher I call him Dracula.
 
So my question is when new clients will be added then how I will update my dropdown which is on master page??
 
websockets
 
@SterlingArcher What happened sir??
Did I ask anything wrong
 
5:06 PM
If you're using angular then data binding should already exist
 
If yes then I am so sorry
 
So, how do you guys like to take your coffee?
 
@Learning everytime you come here, somebody has to !!welcome you, and you post single line sentences at a time.
Please, structure yourself. You should know this by now.
 
But dropdown is on master page
Ok sorry sir
 
Data binding don't care.
Show a reproducible example, code speaks louder.
 
Ok I will post it
 
@SterlingArcher the kindest of sirs.
 
@Loktar Hello sir
You remember me??
 
No
all the default avatars blend together
 
owned
 
5:10 PM
Animation of nodes
 
hmm
maybe actually
 
I came here after a long time
 
Long journeys friend.
 
But I do remember all of you
Like ndugger,ssube
You guys helped me alot in animation of divs
Also suggested me to use canvas for smooth animation
I had to loose my job failing to do that task
 
5:13 PM
by far the best answer — Spets 13 hours ago
LMAO
 
@Learning woah really?
that sucks man, sorry to hear that
 
@MadaraUchiha is that answer really legit? all it did was copy another answer and change function to fat arrow and offer less information
 
any good articles on simplex noise? Can't find anything about the basic algorithm so I can implement it myself rather than transpile random java code :/
@ssube you always have the best graphical algorithm guides ^
 
@Loktar yeah but thats ok sir
I tried my best to solve it but things didn't work out
And to be honest I am not good with working on client side
 
Sounds like management material
You just need to pretend like you are too good to code anymore
 
5:19 PM
@Luggage Sounds like he doesn't even have enough of a basis to be manglement.
 
Anyone know how to get jqplot to force start at a negative value. using min:-1 in yaxis doesn't seem to work
0
Q: JQPlot - How to Show bars for low values

Stem StepWith this bar chart, I want the 0% to have a bar showing so a user can highlight them. I thought pad did that, but doesn't work because the numbers are so low. Here is my code: plot1 = $.jqplot('chart1', [s1], { title: '@ViewBag.Title', // Only anim...

 
Nvm, I got it
I forgot I had axis defaults.
 
@towc I don't think I ever did simplex noise, but there is a C library with a ton of different noise implementations you should look up.
Lemme see if I can find the name
oh, it's just libnoise :P libnoise.sourceforge.net/docs
 
thanks anyway. I think I got some nice sources actually. Thought the academic who wrote it just copied everything from wikipedia at first sight, but now it looks more like wikipedia just tried to simplify his/her paper
 
5:33 PM
@towc I think it's basically Perlin but replacing this:
with this:
 
not quite, but that's the key point
it looks like
 
Everyone knows that triangles are for squares.
 
@towc you oughta check out that library anyway, it has a bunch of other algorithms
 
@ssube surely will, bookmarked it, thanks ;)
 
also some good patterns for combining types of noise
 
5:45 PM
this is an interesting way to do modulo...
!!> 7 & 3 // = 7 % 3
 
@towc 3
 
oh nvm
that's just stupid
 
oooh
 
5:50 PM
a & b where b = 2^n - 1 is a % (b + 1) it looks like
 
Obama's going to Veto it anyways I'm sure.
 
> Trump: that negro muslim doesn't care about our dear friends that were affected by that tragic, tragic, event
 
@Trasiva he should let them try. A few dozen/hundred racist nutters vs whatever legal team the entire country can buy.
 
sentence is too long
 
good point
 
5:51 PM
 
@ssube Except that Saudi Arabia's been threatening to sell off a huge portion of our debt they have.
 
@Trasiva wouldn't be the end of the world.
 
might get our govt to actually take shit seriously
 
literally they have so little of your debt it wouldn't really matter much
 
@rlemon No, but depending on who bought it, if they decided to start cashing in on it, it could tank the economy.
 
5:55 PM
especially if you actually netted some money from them
 
btw, in the code section of this, the numbers in p[] are meant to be completely random, right? As if you were getting the values from a seed
 
@Trasiva they can't "cash it in"
and who they gonna sell it to? Japan or China are basically the only ones
 
who are either friendly or hold most of our debt already
Germany or some EU country could buy it and demand we... jump in on their next silly war?
 
your biggest fear is your domestic debt crippling the economy
 
our other fears are about other things
 
5:58 PM
headphone adapters
 
I'm more concerned that if the economy tanks, and our clients decide they need to trim the fat that we'll get hit, and I'll be out of a job, yea.
 
everyone needs corn.
I'm good for a bit :D
 
well, my hamburger needs corn, but yes.
 
thenextweb.com/gadgets/2016/09/07/… another problem we didn't know we had has been solved.
@SterlingArcher stick win every time
 
@rlemon no fucking way
Just what I want, a urinal that pees back.
 
6:08 PM
anyone have any experience with university application personal statements? I guess it's the same mindset as employers, but with different contexts and goals?
 
Is there an easy way for me to get boxes 3 and 3.5 to stack when this is all the way stretched out? jsfiddle.net/1na1gnkg/1
 
@BenCraig take out inline-block from .floatingHalfTile?
 
I still want it to be the same amount of tiles wide
 
Arguing with a friend about gulp vs grunt and we noticed that contributions to both projects stopped around February. Anyone know what happened? https://github.com/gulpjs/gulp/graphs/contributors
https://github.com/gruntjs/grunt/graphs/contributors
 
6:17 PM
perfection was reached!
 
@jake gulp is working on a 4.0 branch, iirc
 
> Couldn’t load network graph. Too many forks to display.
well, that's dumb, i only wanted to see the tree for the main fork
 
@ssube That makes sense.
 
@rlemon new urinal idea: just stick your dick in the hole and pray for the best
 
@SterlingArcher new urinal or worst gloryhole?
 
6:20 PM
> Oh god why is it warm? Who just used this?
 
<muffled> "no one"
 
damn
 
so.. gross and all, but why prison?
 
anyone know how to prevent angular from escaping html when using element.append()
 
6:24 PM
would have to look to documentation, but yeah that's something you have to tell angular to allow on a case-by-case basis
$sce?
 
i tried it.
i just started angular this week, its ok, i kind of hate it.
 
@KevinB correct
 
Angular2 vs React. GO!
 
qq, how do i format my code? the faq is empty
 
Angular2 does not have the will of the warrior so React wins. Want a rematch? React wins agains. Had enough? Thought so.
 
6:27 PM
Anyone else?
 
hmm, that wasn't right.
 
@r3wt Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
for (var i in newItems) {
	$transclude(function (clone, scope) {
		scope.item = newItems[i];
		console.log(clone);
		$element.append(clone[1]);
	});
}
 
$scope.trust = function(text) {
    return $sce.trustAsHtml(text);
}
<div ng-bind-html="trust(modalContent.description)"></div>
@r3wt $sce to trust HTML and render it
 
6:34 PM
return <div dangerouslySetInnerHtml={modalContent.description} />;
 
@Luggage because laws -- and now google has index'd me searching "Why is incest illegal"
:/
 
well, obviously because laws..
 
user1596138
@SterlingArcher Right?!
 
@Luggage So much of an easier read to me...
 
6:36 PM
meaning there is no good reason other than people think it's creepy so they made it illegal
 
user1596138
That's exactly what the dealer is asking me lol..
 
My assumption is that because incest leads to mentally retarded babies more often than not, so the law is in place to keep the human blood line as healthy as can be
 
the incest makes broken babies argument is apparently not really that good, most babies from incest are perfectly fine
 
@SterlingArcher so does angular have a setter on the innerHtml property?
because when i put the html manually into that property on the cloned element, no change
 
ahhoy
 
6:37 PM
they are both female, so.. the baby thing isn't a real problem
unless I misunderstood that class
 
@SterlingArcher You came out okay.
 
@r3wt what? No, angular uses data binding, not DOM manipulation
 
@SterlingArcher with that logic, mentally handicapped people shouldn't be able to procreate
 
@Trasiva fucking HARDY HAR
 
lol @ flag
 
6:38 PM
@rlemon I mean...
 
@rlemon well, I'm not sure what the genetic percentage is that the disability will pass on to the child.
 
seriously people, I'm not suggesting that -- I'm saying they follow the same logic path
 
6
 
Hey flaggers, read the context
 
6 percent
 
6:38 PM
get your heads out of your asses
 
I think there's what.. a 60% chance of issues with the child in an incestual relationship?
I mean, look at the movie Wrong Turn. Nuff said.
 
@rlemon taking offense trumps logic any day
 
good ol $.incest()
 
@Luggage ahh yea, internet since 2012
I forgot about that change
 
6:40 PM
@rlemon SJWs must be bored crawling all over Twitter for 'inappropriate' things.
 
why is incest a static method
 
@SterlingArcher that number seems excessively high, but I'm afraid if I do any more research into incest google might flag me
 
@Trasiva yep
 
Welp now I have ball cancer
 
6:45 PM
@KendallFrey Fuck that was painful to read.
 
"He said you're wrong, so he must be sexist"
 
what the fuck happened? when did this change take place?
it was like dongle-gate then BOOM SJWs are everywhere
 
You're the one who mentioned gender. You're the one that's sexist. Deal with it.
 
people proudly put in the profiles "supporter of social justice"
what?
 
@rlemon Oh, you didn't know? If you have that on your profile, you get a Tumblrina costume.
 
6:48 PM
 
@rlemon made me think of this: youtu.be/WVl3BJoEoAU?t=2h53m35s
 
@Luggage how's that talk?
should I bother watching the entire thing?
 
good, but I linked right to the part I was thinking of so you don't have to listen to it
 
yea but I like tyt
 
6:50 PM
My rate is $150/hr — Sterling Archer 29 secs ago
 
it's good, but you'll have ot put up listening to Cenk Uygur
oh.
OF COURSE!
 
The problem with TYT is that they stoop to the same ad hominem, appeal to emotion, and all the other useless "feel good speech" that many conservative groups use.
 
Dammit guys he got an answer. This is what happens when you don't close vote shit >:(
 
Not saying that liberals in general have better arguments, but I do notice more flaws from the conservative arguments.
 
6:59 PM
no comment -- I've seen maybe 4-5 of their videos and enjoyed them
maybe I've cherry picked ones that fit my narrative
 
Oh, ok, I've seen a lot more
Just listen critically to any political argument
There's a lot of crap out there
 
more than non-crap
 
Sturgeon's revelation, commonly referred to as Sturgeon's law, is an adage commonly cited as "ninety percent of everything is crap". It is derived from quotations by Theodore Sturgeon, an American science fiction author and critic; while Sturgeon coined another adage that he termed "Sturgeon's law", it is his "revelation" that is usually referred to by that term. The phrase was derived from Sturgeon's observation that while science fiction was often derided for its low quality by critics, it could be noted that the majority of examples of works in other fields could equally be seen to be of low...
Everything is mostly crap because if it wasn't, we'd be more picky and label more stuff as crap
 
In computer programming and software engineering, the ninety-ninety rule is a humorous aphorism that states: The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time. This adds up to 180% in a wry allusion to the notoriety of software development projects significantly over-running their schedules (see software development effort estimation). It expresses both the rough allocation of time to easy and hard portions of a programming project and the cause of the lateness...
 
lol, didn't know that one.
 
7:14 PM
These optical illusions are getting good
 
@Mosho is the code up?
 
LOL
@KendallFrey
 
@SterlingArcher That's old mang, lol.
 
@SterlingArcher i don't get it
 
Google it, I'm not explaining
@Trasiva new for me :D
 
7:21 PM
@SterlingArcher That's 'cause you're a scrub a dub dub.
 
So the joke is that are no circles or that they are to hard to see
 
@SterlingArcher The story of your life
 
God I hate you william
!!afk scrum n vape
 
!!afk scvum n this is going nowhere good
 
I'm an idiot please explain google wasn't of any help
 
7:24 PM
@William Well think about this: One of those two options is funny, and the other one isn't. The joke is the funny one.
 
I think it would be funny if the circles were super small like the impossible quiz
so that must be it
 
@KendallFrey Did you see even Elon said they're baffled by the explosion?
 
@Trasiva KendallFrey is afk: scvum n this is going nowhere good
 
@William ...wow
 
KENDALL ISN'T AFK CAP
 
7:25 PM
@Trasiva nope
 
@KendallFrey Yea, basically he's hit all the big agencies for feedback. Apparently they heard what might be a small explosion before the big one.
 
Even Scott Manley covered that one
The first thing you see is the small explosion
Unless you mean an explosion smaller and before that even
 
Before that
 
3.1415927
 
They're saying they heard a small explosion before the actual detonation.
 
7:27 PM
so boom BOOM BOOM?
 
Yea
 
@Trasiva ffs there's no detonation no one should call it that
 
@KendallFrey Fine, explosion, happy?
 
It's a deflagration
Pretty sure Scott mentioned that too
 
I don't have time to masturbate to Scott like you do.
 
7:29 PM
What a pity
 
@KendallFrey rapid unexpected early stage failure
KSP it up baby
 
I know enough to recognize bullshit buzzwords, nice try baby
 
So, Jehova witnesses
They don't celebrate Halloween, right?
 
Does that mean they don't like random people knocking on their door?
 
7:33 PM
@KendallFrey SterlingArcher is afk: scrum n vape
 
@Trasiva Do they celebrate anything?
 
@KendallFrey Marriage, but that's about it.
 
I work with a JW
he's a nice guy. only tried to bible me once
 
@KendallFrey Bro, he took the time to animate that.
 
didn't bother me, I explained what I believe in and that it isn't appropriate and he never tried again
I got irate tho when he suggested video games cause violence
no bro, do some research
 
7:35 PM
Video games don't cause violence.
Lag does.
 
thank fuck for opera so I can chat while still being able to see the video
@SterlingArcher come back, you're missing out on so much
 
@SterlingArcher jesus, the first awwtf that made me actually go "awww... wtf?"
 
@rlemon SterlingArcher is afk: scrum n vape
 
If you add 2 of the same routes to express's router, which one takes precedence?
 
7:39 PM
@BenFortune latter I assume
 
Too lazy to test :D
 
@rlemon cute
 
ohhhhhh wait.. the router cascades down the chain
so maybe the first..
 
testing it is haha
This would be genius, only it doesn't work when the route paths are the same. I've tried this same implementation on express4, passport 0.3.2, and the check on authentication follows the route path, not the router instance. All routes in this case are being protected for me. — jbodily 3 hours ago
 
@BenFortune umm, he wants app.use
introduce the middleware
don't pass it to every route
 
7:41 PM
Yeah, that's what the answer entails.
 
ohhhh
 
If the path is the same, it's going to use one or the other
 
sorry I read the entire thing now
 
the first should take precedence, if you define two identical routes. but there's no reason to do that
 
the first one takes precedence. the second only fires if the first one calls next() as opposed to res.end()
 
7:42 PM
Just working out which one :D
Ah okay, cheers
 
yeah, i wouldn't expect your answer to work, assuming passport.authenticate('bearer') failure results in a 401 response.
 
Huh? Explain please :)
 
if a bearer isn't present and auth fails due to that, next() isn't called so it can't continue on down the path to the next matching route.
 
Wouldn't that just propagate to your error handler?
 
yes
skipping past the "unprotected" route
 
7:48 PM
@KendallFrey jesus
 
but it'd only ever hit one or the other?
 
Right, it would always hit the first route first, the protected one
 
@rlemon I giggled, very suitable.
 
One is a GET and one is a POST.
 
if auth fails, it goes to error handler, never getting to the unprotected
 
7:49 PM
@rlemon ohhhhhhhmyg LOL
 
Ah, i didn't catch that
but... dunno that still looks weird.
 
There probably are better ways to do it, but it works. It is 2 years old :)
How would you do it?
 
if auth fails and it errors out, it's goign to skip everything after it
 
express simply 'fires' all middleware in order and keeps going until one ends the request. routes are just a little helper that says "if (!routeMatch) next()"
 
I would have used:
app.get('/api/route', router.unprotected);
app.post('/api/route', passport.authenticate('bearer'), router.protected);
order being irrelevant
 
7:52 PM
order is irrelevant becasue the first one checks for method === 'GET" and calls next()
but yea.. irrelevant since they are mutially exclusive
 
exactly, irrelevant because no one request will match both.
 
Punchcard reader, haha
 
If you wanted to make all post requests protected, i would do it similarly using app.post and not app.use
 
Android/iOS switch sounds like a legit great idea
 
7:56 PM
Wouldn't that mean passing the middleware to each route?
 
nope.
you could make it a middleware up front that runs before the routers
 
@SterlingArcher What if you had some routes in app.use("/map", authenticate, map); where you didn't want to pass authenticate?
Sorry if I'm dragging it on haha
 
then you wouldn't be able to use app.use("/map", authenticate, map)
 
Then I didn't pass them. I don't authenticate a user is logged in when they're on the login page
 
7:58 PM
it all depends on your requirements. If you want all post requests to be authenticated, you can do that up front
 
@SterlingArcher why are your tabs so long?
 
I could tether authenticate to ever use so I don't need to use it as middleware, but decided against it
 
if you only want some of them, then you have to pass the auth middleware everywhere.
 
@NathanJones VIM, I think
 
That's what I mean, my methods negates having to do that
Even though it's weird
 
7:59 PM
@NathanJones you can edit your posts, but history remembers you said long and hard
 

« first day (2155 days earlier)      last day (2803 days later) »