« first day (1782 days earlier)      last day (3161 days later) » 

2:01 PM
@rlemon I thought I explained my opinions quite succinctly
 
you didn't explain what necessary equipment entails according to you, so no
 
 
do I need ovaries? or just lack of penis?
2
 
I can see practical difficulties with running a check-for-ovaries before people enter a locker room
 
2:07 PM
there are practical difficulties with checking ofr any of it
 
I can check if you're packing a pencil in about 2 seconds
 
hey, you started talking about 'necessary equipment', it is only fair that you have a definition of what 'necessary equipment' actually is. because I'm pretty sure some right wing nuts will have a different opinion than myself on what that is.
 
@ivarni well that's easy. You just leave an unsupervised piece of paper out and anybody with a pencil will make sure nobody is watching, then draw a penis.
 
I would say pre-op no post-op yes.
 
impractical when pre-op people must wear their desired sex's clothing.
 
2:10 PM
Why are people so worried about pre-op and post-op, but never mention nop?
nop is the most common machine instruction
 
we should not have rooms for genders, but for sexual orientations. everyone who likes girls in one room, everyone who likes boys in the other. everyone who likes both is free to flip flop. if you like animals you can not change near anyone.
 
why the furry hate?
 
fucking people dressed as animals !== fucking animals.
 
==, but not !==
 
yes
 
2:13 PM
ohh, right. I misunderstood.
 
type coercion works here.
:P
 
I bet ther is some crossover, though. just a little.
 
== works when both operands are the same type
 
Why are some people so worried about who's in a locker room or not in the first place? They can bring a big towel if they're ashamed of their gear?
 
@ivarni there are people who are scared of being attractive
 
2:14 PM
good. glad that's settled
 
meh, I did a lot of theatre. you changed in front of everyone.
 
that's really the basis of homophobia: some people don't want to be hot
 
I think I could totally be a nudist.
I have no problems being naked.
 
NSFW
 
javascript and nudity
 
2:16 PM
@DrManhattan Welcome to the JavaScript chat! Please review the room pseudo-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.
 
go hand in hand i think
 
nudeQuery
 
@ivarni "ashamed of their gear" --> It's not always shame
 
@rlemon write it
it should strip something from all objects
 
a nude jQuery?
 
2:16 PM
or add a strip method to Object
 
jQuery = $ = document.querySelectorAll.bind(document);
nude jQuery
 
@rlemon a person is always naked when being in a shower. So ...
 
that loads a random gif of a tiny dancing naked person?
@KarelG bullshit
 
@ssube if you collect the gifs, I will write the placeholder service for it
 
!!s/always/mostly/
 
2:17 PM
@Cerbrus @rlemon a person is mostly naked when being in a shower. So ... (source)
 
I've showered with shorts on multiple times, at the beach or gym or somewhere else where getting naked wasn't necessary
open, public showers at the beach expect you keep your swimsuit on
 
i shower naked in a gym ... more logical. But yes you're right concerning beach showers
 
@ssube depends on how much sand is in my ass
 
@rlemon I'll see what I can do, but not at work.
 
I don't shower in a gym...
 
2:18 PM
ew
I wouldn't do that to my car
 
@Cerbrus I usually don't either, just towel off, then head home and shower.
 
I don't go to the gym in the first place
 
lol
when I go to the gym I get sweaty. if I didn't shower my car would be SO rank after like a week
 
I'm pretty sure my car smells somewhat like horses
 
right now my car probably smells like the half of a bagel I left in there this morning
 
2:20 PM
Is it moldy? if not, that ain't too bad
 
nahh but it is going to be like 32C today
and it is a black car
 
Freshly baked bagel
 
@rlemon a co-worker once joked by dropping a fish in my car in the morning. I left the window open because that day would be a hot day ...
 
ha!
 
that smell was not ....
left the doors open for a hour, bought air vaporizers and used it completely
 
2:24 PM
Nodejs website is totally jacked in IE lol
IE11 even
 
@KarelG: I'd have had my car cleaned, then sent the bill to that joker.
 
who is AaditMShah
 
he is Adith here
 
Also,
 
2:25 PM
or w/e
 
0
Q: ¨Error: expected expression, got '<'¨

JoaI´m trying to find any information about how to fix ¨error: expected expression, got '<'¨ that pops out every time I´m on any webpages. Can you help me how to solve it, please?

 
@rlemon didn't knew that this existed
 
You know what I find works for revenge? shipyourenemiesglitter.com
 
ah I recognize the avatar
just haven't seen him in the chat much I guess
 
2:26 PM
@KarelG yup, squeeze the bag and toss it
like a fart grenade
 
I can't for the life of me inherit documentfragment... I've tried all of the prototyping tricks, and it just shits on me every time
 
2:28 PM
@Cerbrus glitter on the ceiling fan is probably the worst prank I've ever heard of
 
omg, look what my fish issue has lead too... people certainly has bookmarked shit thingies
// off cooking... not shit ofc
 
user3119231
@BenFortune this is very exciting
 
@BenFortune That sounds bad, but I think having glitter on my desk would be worse somehow
 
user3119231
2:38 PM
@BenFortune knock, knock
 
@Maurize Who's there?
 
user3119231
@BenFortune A facebook friend request from a stranger.
 
._.
 
user3119231
 
I'm storing HTML in my DB...
 
user3119231
2:40 PM
let it roll, let it roll
 
man, I went to the state fair last night, because apparently it's A Big Deal and I had to
ate some alligator bits, now I feel sick
I didn't even get the fried butter sculpture on a stick or the bucket of popcorn shrimp that looked so good
@FlorianMargaine pong
 
wtf
INSERT INTO tbl ( col1, col2 ) VALUES ( 'foo', 'bar' );
ERROR:  column "foo" does not exist.
wat?
 
user3119231
@rlemon fake.
 
banana
 
2:51 PM
@rlemon y u no quote your columns bro?
I know it's mostly optional
 
@ssube because they are not required for my column names
 
user3119231
@rlemon y u no let not so much whitespace?
 
@Maurize y u no make sense?
 
user3119231
banana
 
user3119231
Half naked girl almost block a cop from arresting a wall | NSFW - i.imgur.com/M2z9Hb7.gif
 
2:55 PM
not that I care, but you might wanna unonebox that
some people might not want running topless women on their screens
 
> Half naked
I saw tits
 
that would be half naked
 
user3119231
@rlemon you're right. Didn't thought about that.
 
@BenFortune where?
 
@rlemon Meh, in the UK it implies not naked, but wearing a tiny amount of clothes
 
2:57 PM
oh, yup, tits
@BenFortune They are wearing clothes
 
@BenFortune but they are literally only wearing half of the expected clothing.
 
user3119231
A huge thanks to me for giving you tits.
 
they are half naked.
well, I can't insert into the db
do I'm hard coding this
\o/
Yippie! future work!
 
user3119231
so, work is done. I'm on my way home. See you tomorrow - before I forget: imgur.com/gallery/26fFXdW
 
In MDN, it is mentioned, The mark object inherits values for the name and dept properties from the prototypical object in **mark.__proto__**. It is assigned a local value for the projects property by the WorkerBee constructor. For code var mark = new WorkerBee;,
I do not think mark object inherit values, because WorkerBee constructor calls Employee.call(this); which is not inheritance. am I correct?
function WorkerBee() {
  Employee.call(this);
  this.projects = [];
}
WorkerBee.prototype = Object.create(Employee.prototype);
 
3:07 PM
@overexchange No.
 
Is name and dept inherited from Employee to WorkerBee?
 
Employee.call(this) invokes the Employee constructor with the existing WorkerBee instance, performing the setup necessary to support the inheritance established by Object.create(Employee.prototype).
 
If I do not write this line WorkerBee.prototype = Object.create(Employee.prototype);, Cant I write Employee.call(this); in WorkerBee constructor? I think I can. and it works
 
You'll have the practical side of inheritance (the fields) but not the prototypical side, so instanceof will fail.
That's no longer real inheritance, just duck typing.
 
morning
 
3:11 PM
function Employee() {
  this.name = "";
  this.dept = "general";
}
   undefined
function WorkerBee() {
  Employee.call(this);
  this.projects = [];
}
   undefined
var mark = new WorkerBee;
   undefined
mark
   WorkerBee {name: "", dept: "general", projects: Array[0]}
 
cc @rlemon
 
@overexchange but mark instanceof Employee will be false
 
@CapricaSix unformatted pictures
oh ok
 
next we send you guys Rob Ford and make him run for office.
 
@ssube But I still see the same result
WorkerBee.prototype = Object.create(Employee.prototype);
   Object {}
mark instanceof Employee
    false
 
3:16 PM
@rlemon still better than Trump
 
@ssube I did not get you when you say, mark instanceof Employee will be true after you say, WorkerBee.prototype = Object.create(Employee.prototype);. I still see false
 
idk. Trump doesn't have videos of him smoking crack
 
user406009
I truthfully wouldn't be surprised one bit.
 
@rlemon Ever used vips in place of GM?
 
user406009
If a Trump crack video comes out.
 
3:18 PM
@BenFortune nope
all GM, all the time
well, that is a lie
I use IM where I cannot use GM
 
Trying vips now, really really quick
 
I've never had GM be slow
:?
IM otoh is slow
 
I've had problems with GM before
 
We gave them Justin Bieber after Obama was elected
 
but I'll check out vips
I don't really like GMs api
 
3:19 PM
Randomly locking up
> Kanye West says he's planning to run for president in 2020.
 
@KendallFrey OHHHHHH
so that is why everyone says "thanks obama"
they are JB fans.
 
@BenFortune He can't even spell president.
 
Deez Nuts for president 2016.
 
user406009
@BenFortune He's already backed out.
 
user406009
In favor of Sanders.
 
3:21 PM
@Lalaland I know, he's too young :(
 
Felipe Falanghe for president
 
I'm still upset that Vermin Supreme isn't running again.
 
I don't really follow that American jibber jabber anyway.
 
@BenFortune Sanders is the reasonable, European-style candidate.
 
user406009
Some of his ideas are not very good, but he's better than the rest of them.
 
user406009
3:23 PM
I don't think the presidential choice would matter much anyways Congress will decide what actually gets done.
 
user406009
Or, as our more recent Congresses seem to behave, what doesn't get done.
 
@RyanKinal \o/
Congrats, now start deleting crap
 
:dances:
Nahhh... I got up to 10k passively. I'm going to use it passively.
 
@Ryan until the power corrupts you :p
 
3:26 PM
Fair enough ;-)
 
Although being able to see deleted stuff is probably the best quirk :p
 
Yep, lol
 
congrats... now aim for 20k :p
 
That'll take me another 5 years or so :-P
 
2k users should be given the privilege to see deleted stuff without having 10k rep
 
3:28 PM
p:
I'm one of them
gimme
 
@RyanKinal is this like a hard core kkk or something?
#badJoke
 
Well, I am 'Murican
 
Guys, what features does PhantomJS support?
I heard it had troubles with the newer ES5/DOM stuff
 
@MadaraUchiha It's a 3-4 year old version of webkit.
Qt doesn't really stay that up-to-date. PhantomJS 2 is much better, but 1 needs a polyfill for Function.prototype.call.
 
@ssube Yeah, I'm talking about 2
 
user406009
3:32 PM
@MadaraUchiha Use embedded chromium if you want the most recent stuff (bitbucket.org/chromiumembedded/cef)
 
user406009
I find that CEF is also faster.
 
Afaik, 2 isn't stable yet (we don't use it).
 
user406009
It's not as much of a pain to use as you would think.
 
phantomjs 2 is okay
I used it
 
@Lalaland How stable is that?
 
3:33 PM
@Lalaland It's not a replacement for Phantom
 
@ssube mostly.
 
@rlemon Does it support things like mutation observers and web workers?
 
Phantom is a bunch of stuff wrapped around the Qt equivalent of CEF
 
@MadaraUchiha yes
 
user406009
@ssube In what way?
 
3:33 PM
on webworkers
haven't checked MutationObservers
 
user406009
@MadaraUchiha Quite stable in my experience. I have a CEF instance running for about a month so far.
 
@Lalaland It's all the browser stuff and a JS-based controller, with API.
 
user406009
No surprises.
 
@ssube here is the discussion that we had stackoverflow.com/questions/32357179/… MDN has wrong content
 
@rlemon I haven't ever used phantomjs (or any headless browsery thing, for that matter). How does it compare to say, ff on xvfb?
 
3:34 PM
@Lalaland do you have an example of a test infra that uses CEF?
 
Phantom's popularity came from being able to script it (with JS) to load up a page.
 
user406009
@ssube So is CEF. It's just that the API is in C++ and the version of chrome is quite recent.
 
@AwalGarg I can't compare
 
@Lalaland That's totally different.
 
> the API is in C++
 
user406009
3:34 PM
@MadaraUchiha No. We were using it for png rendering.
 
Phantom is a JS-scripted headless browser.
That's why we use it for JS testing.
 
yea phantom seems crazy useful for automated testing
 
@Lalaland Yeah, I need it for a testing thing too
 
@rlemon it is, for the basic stuff
 
3:35 PM
@rlemon Yup, hook it to Karma and Mocha, and BAM
@ssube It's plenty for unit tests
 
Phantom covers your unit tests, Selenium covers integration tests
 
@Lalaland you mean the JSAPI for host objects?
 
The web-template project has Mocha+Karma+Phantom set up.
 
@MadaraUchiha I had no issues running my starbot (sniffing websockets) on phantomjs2. I also had no issues building from source on CentOS and Ubuntu
 
user406009
3:35 PM
Why not just use node for unit tests?
 
@Lalaland Node doesn't have a DOM.
 
@Lalaland DOM?
 
Phantom allows you to create and render a view, in isolation, with mocked out services, and test event handling.
 
user406009
@AwalGarg The api for manipulating the browser. Opening pages. Getting the current page as an image, etc, etc
 
user406009
You still run JS code for your logic inside the headless browser.
 
3:36 PM
@Lalaland you can do tests like this in phantom
 
@Lalaland sounds weird. chromium, afaik, doesn't expose that natively. Is it some overlay to blink?
actually, it is a framework. ah well
 
@ssube Hnnnnngggg I love expect's syntax
expect(app.render()).to.eventually.equal(app);
  expect(el.empty).to.have.been.called;
  expect(el.append).to.have.been.called;
 
Only problem I found with PhantomJS last time I used it was that I had to polyfill Function.bind. Not sure if they've release a version that's a bit more... ES5 yet?
 
3:39 PM
@MadaraUchiha we have a convention at work that all view methods return promises, making it super easy to handle events and chain stuff
 
@Lalaland pretty sure those aren't native to chromium (or to blink, either). probably some kind of overlay.
 
@ssube I like the flight way (only, minus the jQuery)
With flight, you don't get a handle to your components
 
having components all inherit from Observable would also be nice
 
You render them in DOM, you set them up to emit and receive events, and you get rid of the reference.
 
@MadaraUchiha yeah, that's the ideal app
 
user406009
3:40 PM
@AwalGarg Truthfully, I don't really care too much. I just like that it allows you to use a very recent version of chrome.
 
user406009
And that it's quite fast.
 
So a date range picker emits a "dateRangeChanged" event, and all other interested components on the page listen to that, and make adjustments based on that
This makes it super easy to test and read (and write)
 
user406009
(Well compared, to PhantomJS, 5-10x faster for my specific task)
 
No direct calls
 
@Lalaland makes sense.
 
3:41 PM
All the tough guys of the room, what's the ideal use case (in your opinion, obviously) for MongoDB (or generally NoSQL) over SQL?
 
user406009
@DemCodeLines Caching
 
@DemCodeLines When you need to read a whole document at once.
 
@DemCodeLines Not having to write SQL
 
@DemCodeLines impressing noobs
 
@MadaraUchiha hard to reason about
but super easy to test
@DemCodeLines don't
 
3:42 PM
@ssube Not really hard to reason about.
 
user406009
@BenFortune That's not really a use case. That's more of a feature.
 
As long as you follow a convention
 
@MadaraUchiha async and event-driven are always a little bit harder
not actually hard, just not as obvious imo
 
@ssube Yes, but if you name the event with the component name included, it's easy to tell where each event came from
And browser debuggers have come quite a long way with event debugging.
 
@MadaraUchiha aren't events object, so you can actually attach a reference to the firing component?
 
3:43 PM
@ssube No.
No component has a handle for any other component.
By design.
 
TIL Quora uses MySQL...
 
@MadaraUchiha Hm. So you tag events with the source's unique ID in some fashion?
 
@DemCodeLines me too
as far as you told me
 
@MadaraUchiha I don't believe you
 
3:45 PM
except you are lying
 
@MadaraUchiha How do you handle deleting components?
 
@ssube Personally, I implemented a simple wrapper around the native event system, so that I can use the event.component notation, and then use wildcards such as this.removeAllEvents('*.component')
@ssube You wipe it from DOM.
Done.
 
yeah, that, and some other really weird shit'd happen if you try implementing an event driven, no-reference system
 
@AwalGarg We have systems like those at work
They work like a charm.
 
@AwalGarg Not really, I've used a light version of it and it works fine.
 
3:47 PM
It makes for the most reusable components I've ever seen
 
My guess is they just hide the references from you somehow ~_~
 
We have the exact same table component across 4 apps
Its only dependency is a selector in which to plant itself in the DOM
Everything else is event based
 
@MadaraUchiha have example code handy somewhere?
 
Hmm
@AwalGarg mixam.co.uk
My coworker's (who's the champion of this approach at my company) business
Built the same way
 
@CapricaSix Any experienced JS programmers who can volunteer to edit this MDN page? here is the feedback about this MDN page
For beginners it is very fundamental topic to learn
 
3:52 PM
@phenomnomnominal If I manage to make the time, yeah, I'd love to. I'm fairly swamped for a while, though
 
me know jquery me can edit that mdn
 
me can edit? who is me?
 
me
or you, it depends
 
Am I you?
 
maybe, who knows
 
3:54 PM
If you are me, who am I?
 
me
 
How can eyes be real if mirrors aren't real?
 
@Neoares I dont know what jquery is? But let the right person edit and make sure the content is correct.
 
> - Jaden Smith
@overexchange jquery is a language
 
@Neoares I will know about jquery when necessary, for cross browser DOM access
 
3:56 PM
@MadaraUchiha obfuscated code :-( I'd take a look at flight's implementation of no-references. would be glad if I am proved wrong.
 
@overexchange and how will you select a div by id???
 
@AwalGarg Take a look at flight.
Ignore the jQuery dependency.
 
I dont know, how to write JS in a <script> tag. we will discuss later
 
you wat
 
@Neoares Technically it's a library
 
3:59 PM
:o
Anyone noticed I was joking?
 
Reading more than 4 messages up is hard
 
@Neoares No. Everything in here is always serious.
 
@MadaraUchiha why does it require jquery anyways?
 
How do you explain .map to someone? Especially nested maps
 
3:59 PM
@AwalGarg For the "improved" event handling I think
 
@JohnSnow Indeed
 
@corvid it maps an element to another element
 

« first day (1782 days earlier)      last day (3161 days later) »