« first day (2071 days earlier)      last day (2876 days later) » 

7:00 PM
With great weight loss comes great lightweights apparently
 
@FilipDupanović it's not a real blackout if you don't keep drinking and/or do something questionable
I once slept with somebody because I was blackout drunk and a fortune cookie told me to
 
@FilipDupanović it's the only drunk story, worth telling, that i have
 
Everything you do is questionable
Did I do that or am I just a brain in a vat?
 
user1596138
@ssube Did it also tell them to?
 
The one time I truly blacked out I got stuck in a wall, "flew" down some stairs and passed out on the pong table. They took my shoes off and played around me all night
Very considerate of them because I was a shitshow
 
7:01 PM
> I got stuck in a wall
Elon was right, we are in a video game
 
@Josiah no, but I told them about the cookie (it said something like "a golden opportunity will fall into your lap") and that was pretty much game over
 
tl;dr I tripped over the coffee table and ended up in a wall
 
user1596138
@ssube lol that is a pretty good setup.
 
well, that and winning like 6 games of pong in a row
 
user1596138
/me orders fortune cookies that all say that
 
7:02 PM
we were both pretty hype after holding the table for an hour
one thing led to another, cookies were involved, etc
 
Ohhhh @ssube I have a good pong story
 
woke up when taylor swift left the next morning
 
user1596138
lol pong..
 
wait
!!> 10 - [5]
 
7:03 PM
@StephanMuller 5
 
So I was -really- good at beer pong when I was fucked up (shockingly awful sober). One night, I won 14 games straight, 8 of which I made all 6 cups in a row. If I did that, I grabbed a random girl and traded partners after a kiss
 
@StephanMuller strings, man
 
!!> [10] - 5
dafuq
 
I in my entire life never looked like such a badass
 
@StephanMuller 5
 
7:03 PM
@SterlingArcher pong is a great way to look super badass
if you're any good at it
 
just when you think you know how the js type system works, it fucks you all up again
 
It was great, I would tell the girl to arc the ball high, and baseball pitch my ball into the same cup hers landed in to win straight up
 
!!> [5].toString()
 
i miss college
 
@ssube "5"
 
7:04 PM
!!> Number([5])
 
I am college
 
If I went down there now, I'd be a god among men.
Mostly because I have a big boy job and every girl at my college was a gold digger
 
gonna double down on that for the next year until I'm too old for it to be ok anymore
 
@FilipDupanović 5
 
You'd be the uncool old fart
 
7:05 PM
I'm not even being sexist every man and woman at my school was a whore
 
@SterlingArcher sounds like you went to Salisbury
 
@VeronicaDeane not really actually, there's a lot of 27-35 year olds
 
my best party stories are from Salisbury
 
On the bright side, while I was at school we dropped from #1 to #2 for most STDs in Virginia
 
If you develop for the web then you're a "real" web developer. The tools you use do not matter, don't let anyone tell you otherwise.
 
7:07 PM
> I use wordpress
> You're not a real web developer
 
djangpress
 
get out
 
I use bench press
 
@SterlingArcher that's what your mom said
 
> I only program in wordpress
that would be the correct strawman
 
7:08 PM
Yeah, to Kendall, not to you ssubey
 
I am a Wordpress programmer
 
@SterlingArcher nah, ya momma luvs me
 
@tereško no, I'm a human
 
@SterlingArcher she just couldn't take it
 
s/couldn't/wouldn't
 
7:09 PM
Becuase she was laughing to hard. I heard
Don't goatse my mom you sick fuck
 
that was screaming
 
@VeronicaDeane only scream you've ever heard is the Wilhelm one
 
I shouldn't even know what that means
 
it means movies enjoy your company more than women
 
7:11 PM
weirdos
 
and that's why you use strict typing
6
 
buwaahahaha <3
 
<.-.<' Y'all are all nerd.
With y'alls humor
Maaaaan.
 
7:15 PM
Nyah
I laughed too though.
 
MFW when I have to deliver a project and I totally forgot to do unit tests... I'm suposed to be emailing the code and instead I'm downloading node...
 
!!> [] == ![]
 
@VeronicaDeane true
 
1 min ago, by Stephan Muller
and that's why you use strict typing
 
what happens if you feed the JS type coercion table into the game of life?
 
7:16 PM
ES.Alive
 
i'm working off swagger for nodejs api
 
 
on doing post, i keep getting this error.. i have search the entire internet few times now.. few blogs and none gave me the answer
 
7:18 PM
took like 30 steps to get that
then it just stuck
 
Error: Response validation failed: void does not allow a value
 
ooh, no, now it's doing stuff again
 
what is rgba(255, 255, 255, 1) and what do cows drink?
 
@ssube That's impossible, it should be symmetric
 
i'm defining in yaml my api spec and in my controller just writing this simple code
which never seems to run
 
7:19 PM
@VeronicaDeane I dunno man
 
@FilipDupanović white water
 
it doesn't have to end up symetric, i don't think..
 
OH
it's growing up and left
 
@Luggage Symmetry is always preserved
 
I had to zoom out
 
7:20 PM
oh, ok, then.
 
it's not symmetrical anymore
but it is still going
 
so == is the key to AGI?
 
function jobspost(req, res) {

    var jobs =[
        {
            "id": 1,
            "name": "Sonair",
            "country": "Cyprus"
        }, {
            "id": 2,
            "name": "Voyatouch",
            "country": "Philippines"
        }, {
            "id": 3,
            "name": "Span",
            "country": "Sweden"
        }];

    var job = {
      "id" : newID,
      "name" : `US-${Math.random()}`,
      "country": "USA"
    }

    var item = res.body;

    console.log('item.id : '+item.id);
what is wrong with this code..
 
 
newID is defined by the way.. it's not the issue
 
7:21 PM
@VeronicaDeane and if you read the cells left-right, top-down?
 
@ssube Are you playing the Game of Life?
 
@FilipDupanović What are you talking about?
 
ahh, single pass, wouldn't matter
 
user1596138
So
 
user1596138
You know how you can style the psuedo element ::-webkit-scrollbar
 
7:22 PM
@Megaplex using the JS equality matrix as the seed
 
user1596138
Can anyone think of a way to apply that to all scroll bars from the target element down lol
 
user1596138
Doesn't seem possible.
 
@ssube I'm still working on my game of life implementation
I'll try next week
 
!!tell 31213794 neat
 
7:23 PM
oh you already did
@Josiah What do you mean?
you want .myElement not to have styles on the scrollbar, but all elements after you do?
 
@Josiah you can tweak which element actually overflows
 
that's all I get
 
maybe I filled in a bad square
 
@ssube most likely
symmetric input should result in symmetric output
 
7:26 PM
@RowanHarley your message.initial is an empty object and you're trying to send that... guess why.. hint
 
Error: Response validation failed: void does not allow a value
 
user1596138
@StephanMuller I want all elements to have the same scrollbar styles.
 
user1596138
For example
 
user1596138
.thingy::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
 
@JoeSaad what's the context? sounds like you passed a value somewhere where no value was expected
 
user1596138
7:32 PM
^ This would apply the scrollBar to .thingy, but if .thingy has a child with a scroll bar it will not apply to that as well. Only to .thingy
 
user1596138
I mean is there some property you could use that is inherited
 
12 mins ago, by Joe Saad
function jobspost(req, res) {

    var jobs =[
        {
            "id": 1,
            "name": "Sonair",
            "country": "Cyprus"
        }, {
            "id": 2,
            "name": "Voyatouch",
            "country": "Philippines"
        }, {
            "id": 3,
            "name": "Span",
            "country": "Sweden"
        }];

    var job = {
      "id" : newID,
      "name" : `US-${Math.random()}`,
      "country": "USA"
    }

    var item = res.body;

    console.log('item.id : '+item.id);
 
how about .:-webkit-scrollbar { ... } without the selector before it
 
@Josiah uhh... what if the default value isn't inherit
 
user1596138
@StephanMuller It's a psuedo element
 
user1596138
7:33 PM
@FilipDupanović That's not relevant to what I'm asking.
 
yeah, you don't have to prefix a pseudo with a real element
 
14 mins ago, by Joe Saad
i'm defining in yaml my api spec and in my controller just writing this simple code
 
user1596138
It's a psuedo element, not an average property.
 
did you try setting inherit explicitly?
 
user1596138
@FilipDupanović What are you even saying lol
 
user1596138
7:34 PM
Inherit on what
 
user1596138
You can't inherit psuedo elements... I think the answer is a simple "no", unless there's another method of applying the same rules.
 
user1596138
@StephanMuller Oh? Where would the psuedo element go?
 
user1596138
It's like doing ::after
 
user1596138
If you do ::after with no target it doesn't just apply to everything.. Does it?
 
yes
it does
wait
does it?
 
user1596138
7:36 PM
Yea it fuckin works lol
 
user1596138
Wtf
 
user1596138
Now I want to know why haha
 
@FilipDupanović what am i doing wrong?
 
Because it's a "pseudo element selector" it selects pseudo elements
all of them
 
@JoeSaad what's the context? sounds like you're passing arguments to a function that has no parameters in some strict language
 
7:38 PM
i'm using expressjs swagger
built in the specs for the api in swagger yaml file
/jobs on post gets some parameters from the body etc..
 
Including express for no reason is the new including jquery for no reason
http://stackoverflow.com/questions/27205018/multiply-2-matrices-in-javascript/37789101#37789101
 
on the controller, that was my attached code, doing anything in that function and just sending this at the end of the function: res.status(201).end();
forget about express, i'm not including it..
sorry
it's all nodejs code
 
just look at the answer man
 
@rlemon now I want to how that bridge fit on a dance floor.
 
how should i return something in a post controller?
pretty sure it's an issue with how i am passing back the response for the post function
 
user1596138
7:42 PM
@StephanMuller I thought it was more of a specifier. You don't really select ::after.. You define it?
 
i have followed many examples.. none seemed to work.. all giving the same error.. been stuck on that same error for 5 hours now
 
user1596138
It's a psuedo element, not selector? I'm confused asf about why this works. /me starts to google
 
@Josiah nope, it selects: jsfiddle.net/rLahvczr
 
how to write my response along with aligning it with yaml
 
it's a selector for a pseudo element, actually. But there still is a fine line between that and an actual "pseudo selector", which is probably why it was named "pseudo element" so we don't get confused
 
user1596138
7:45 PM
You are correct
 
user1596138
Nice, thanks!
 
REEEEEEEEEEEEEEEE
 
@MadaraUchiha Are you implying that @BenjaminGruenbaum's best friend is either @rlemon or @VeronicaDeane?
 
or pizza
 
7:52 PM
^ empathy
 
no, pizza
 
pizza, for reasons: empathy (phrasing)
 
this seems to really annoy my syntax highlighter, but it works... is it bad practice?
export function distribute(
  group,
  field="mass",
  partitionCount=2,
  sorter=(a, b) => a[field] > b[field]
) { /** ... */ }
 
looks good
 
8:01 PM
@corvid wait, comma after partitionCount assignment
@corvid does your editor have a package manager? usually you have to download separate extensions to get ES6 support
 
Yeah I have ES6 support but it doesn't respond the best to certain more esoteric syntaxes I think
 
As a js noob casual, what does it mean to say that ECMAScript 2016 is released
 
I'm inserting a new google maps API, so all it has is the dependencies and the code google gives you but the map is empty... there no roads displaying just blank
 
hmm @corvid... I was even able to find Babel-specific extensions for my editors, it's odd it would throw up on default parameters
 
8:17 PM
@taco ES7, whoooooooo!
 
ES7 is live in all majors browsers, or "soon"?
 
@taco means that a final release of the specification has now become generally available; for us in the Web world, this means that we can expect vendors to come out soon with full support, so that the latest ECMA-262 specification that you're reading is the one that's currently supported
 
@FilipDupanović Cool. so no more transpiling soon?
 
@taco I say soon, because I don't know when that will happen, because everyone has their own release process
 
8:19 PM
@VeronicaDeane That ride sucked. Probably not much better with VR
 
IIRC, last summer when ES6 was published, everyone had full support in a couple of months
 
Well apparently they make the ride bigger and faster in VR
 
@VeronicaDeane Oh wait, that's not the Superman ride in ATL, my bad.
Such a weird position for riding a coaster. I got neck whiplash
 
@VeronicaDeane why not just go on a rollercoaster?
 
that's what I thought too
 
8:23 PM
also i felt sick from vr even when we were not virtually moving
heh
 
I guess the extra content is supposed to be a bit more fun
 
some people were okay, i was just not one of them
 
@bitten I felt better in VR than IRL at first
 
@VeronicaDeane lolwut
 
8:24 PM
VR sickness is still being explored
 
Hi Guys
 
@bitten What VR is this? If you get sick from not moving it's probably judder
 
@nadin1223 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.
 
@VeronicaDeane imgur.com/gallery/oeFg5KN top comment gold
 
@SterlingArcher oh shit lmao
 
8:27 PM
@VeronicaDeane i can't remember, i don't care much for vr so i didn't actually commit it to name.. but some colleagues do and they worked on a vr project
i think it was the oculus, as they now have the vive?
 
@bitten When was it?
VR was pretty bad back in the day
 
last summer
it was good, but i just felt sick.. it felt like car sickness
 
For those that wear glasses, do you have a better experience with them on or with contacts when using vr? Never got the focus right with having glasses on.
 
yeah, it could be focus, refresh rate
 
@FilipDupanović i hope so, i think i'll be able to get used to it but i am not that interested in it
 
8:29 PM
I get sick from subtitles on 3D movies
 
it felt like the framerate just a bit off and it was weird being surrounded by it
 
@FilipDupanović If there is some overlay that blocks an object yet appears behind it, that really fucks up your eyes
slightly related, TIL what a pseudoscope is
sounds fucking mental
 
@VeronicaDeane heh, TIL also
 
!!afk Crunch time...fuck.
 
@Josiah i.imgur.com/aSSjVMc.jpg this speaks to me on a spiritual level (also @rlemon)
 
8:36 PM
@Megaplex those three words really don't belong together
 
I have to prevent chrome from open the damn console drawer in front of all other tabs before I shoot up a school.
 
yea, i'm tired of hitting them ever time.
I know how to close it, but thanks.
 
mine seems to restore the last layout
 
mine always opens the tab I want, plus the console right int he way so i can't see anything until I close it
 
8:43 PM
ahhh, what combo sequence are you punching in?
 
command-option I
 
c-s-i seems to restore and focus on the console, f12 simply restores
 
no f12.
this page says f12 and command-option I are the same: developers.google.com/web/tools/chrome-devtools/iterate/…
 
ctrl+shift+i, ctrl+shift+j, and f12 seem to do the same
open dev tools and restore last tab
oh no, j goes to console.. just a short delay
 
My question: on website ("http://waabe.de/#&genre=Llogistik") I get sometimes (not always!) the error "argument 1 of MutationObserver.observe does not implement interface Node." (Cytoscape.js v2.7.1 [Line: 14505: 1]) and I do not understand how I can fix it. Anybody any idea?
 
8:47 PM
well, off to the bar...
 
@bitten c-s-j kicks me into the console tab, with the console overlaying the console, yo!
 
haha
it opens your drawer too?
 
Saw a grim, going home
!!afk home, gym, drunken stupor
 
9:00 PM
I just realized, I don't know the location of the file...
Hm.
 
@VeronicaDeane There's a reason I separated it in two two parts.
 
9:20 PM
nice use of 3d printing
 
9:32 PM
hi from my chromebook
 
hello new device o/
 
trying to figure out how to install emacs on this thing
 
hmph, no support for ARM Chromebooks
 
9:42 PM
what is the point of having a prototype of a function that returns null and then overriding that function later?

function a () {
var result = {};

result.__proto__.show = function () {
return null;
}

result.show = function (param) {
return foo(param);
}

return result;
}
 
@JemiloII Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
that still didn't work :/
 
wait, ES7 is out already?
'dis a joke?
 
uhh, nop
ES6 came out last June
 
i'll just make a gist
 
9:45 PM
@FilipDupanović wow, we're all so old
 
what is the point of having a prototype of a function that returns null and then overriding that function later?

Example:
https://gist.github.com/JemiloII/7c51568f84796470bb9a1fa6a0dce179
 
@JemiloII none
 
Am I reading the documentation correctly that there's no decent way to get the list of nodes inside a Selection or Range?
So far I've got
function rangeElements(range, selector){
  return $(range.commonAncestorContainer).find(selector).filter(function(){
    return range.intersectsNode(this);
  });
}
...
rangeElements(getSelection().getRangeAt(0), "a")
which uses jQuery and isn't IE compatible.
Should be easy to get rid of the jQuery part, but still...
 
10:07 PM
anybody know of a js/jquery that counts the total of a row automatic?
 
@anatp_123 JS and jQuery are very different things. Anyway, I can give you all the JS you want. Do you mind specifying what you need more clearly?
rows in a table? In a div?
 
@towc yes well for js , adding the total of a collumn in a table <td></td> input numbers
 
@anatp_123 do you have an example? It's not really clear
 
i found this jsfiddle.net/fRd9N/1
but it doesnt sum the total automatic
 
@anatp_123 are you constructing the table in JS?
 
10:14 PM
oh no i already go the table inside a form
 
@anatp_123 so you want the sum of the values of some input elements?
 
yes
 
!!tell anatp_123 mdn change event
:/
!!are you alive
 
@towc All signs point to no
 
well @anatp_123 read about the "change" event listener
 
10:16 PM
aww found something like it jsfiddle.net/javedfiddle/s4j7vm37
 
Now, back to my question...
 
10:53 PM
Hello! any book recommendation about javascript application design?
I'm checking on"Learning JavaScript Design Patterns" one right now, is it good?
 
11:18 PM
@Luggage it wasnt bad
but the API was in flux
it changed a few times while implementing it
over a 2 month period or so
no deprecation warnings between changes, just would be broken
for example there was a spelling error in it forever.. all they did was fix it, and didn't alias it
so a bunch of our code was broken
 

« first day (2071 days earlier)      last day (2876 days later) »