« first day (1817 days earlier)      last day (3130 days later) » 

8:00 PM
She just threw like 6 screenshots and 2 pictures of work at me
 
any recommendations for a good miniITX case?
 
@Cereal I actually don't remember collisions that much (sorry)
 
fuuuuuuuk
 
I do remember that the momentum of the entire system before is equal to the momentum of the entire system after the collision
 
@tereško Fractal design node 304
 
8:02 PM
wrote a bunch of code for an extension and it is doomed to fail because I misread a doc
 
Also, you know that m1v1^2 / 2 is 9.whatever
 
she has a bunch of equations, I'm having a hard time following it
 
Pics?
 
@FlorianMargaine debian is junk.
 
dat cursor
 
8:03 PM
That is a bit hard to follow (as in, if I were a tester I'd fail that)
 
@Cereal already in the list. Has limitations regarding PSU/GPU choices.
 
It's an online assignment
 
Yeah, which is why it's not that important :D
@Cereal Open console and try to find the answer in the JavaScript
9/10 times that works
 
That math confuses the shit out of me
 
lmao, she's in a different city
 
8:04 PM
@Cereal Remote debugging :D
 
lolol
 
@Cereal These are pretty much all the functions you get in an elastic collision
She already knows both m1 and m2, and also v1 and v2 before the collision\
So she can use both conservation of momentum and conservation of energy to reach both v1 after and v2 after the collision
(Because the collision is defined to be elastic, she's allowed to use both of these formulae)
two equations with two variables
 
@Cereal I get -0.452 m/s for v1f
1.35 m/s for v2f
@Cereal tell me if it's correct and keep 'em coming. Brushing up on my Physics is a good thing
I'm going to need it sometime soon
 
@MadaraUchiha I'll let her know, then let you know
@MadaraUchiha What's the method to find them?
 
8:17 PM
Anyone hear about the supposed silicon quantum transistor?
 
yeah
 
I wonder if it'll have any use other than violating privacy.
 
what does that mean?
 
v_(1, f) = (m_1 v_(1, i)+m_2 v_(2, i)+m_2 (v_(2, i)-v_(1, i)))/(m_1+m_2)
v_(2, f) = (m_1 v_(1, i)+m_2 v_(2, i)+m_1 (v_(1, i)-v_(2, i)))/(m_1+m_2)
Those are conservation of momentum ^
 
well, the NSA is a big player in quantum computing.. for the purposes of breaking encryption
that's the only use I hear about
 
8:19 PM
vNi and vNf are the Nth object's velocity before and after the collision (i for initial and f for final)
mN is Nth object's mass (or inertia, in this case)
 
@Luggage I think that's pretty far out yet
Also, quantum encryption will enhance privacy
 
in reality, probably, but what I hear about this new silicon-based quantum thingy is that it's the last peice needed to make actual quantum cpmputers
but I'm not really up on the topic..
 
It's only a two-input gate
I think a three-input gate is the most useful in quantum computing
In logic circuits, the Toffoli gate (also CCNOT gate), invented by Tommaso Toffoli, is a universal reversible logic gate, which means that any reversible circuit can be constructed from Toffoli gates. It is also known as the "controlled-controlled-not" gate, which describes its action. It has 3-bit inputs and outputs; if the first two bits are set, it inverts the third bit, otherwise all bits stay the same. == BackgroundEdit == A logic gate L is reversible if, for any output y, there is a unique input x such that applying L(x) = y. If a gate L is reversible, there is an inverse gate L′ which maps...
 
tin-foil gate
 
Though that says it's been around for 6 years already
 
8:23 PM
@MadaraUchiha You were right, she got the same answers as you
 
\o/
@Cereal It's important to remember (in an actual test, not an online one) that you need to explicitly state why you are allowed to use these formulas
"Because it's an elastic collision across a single axis and all conditions are assumed perfect"
 
Apparently these formulas are not in her textbook
 
@Luggage you're the junk
 
@Cereal I recall getting to those formulas from scratch as part of the learning process
Textbook or not, we reached those ourselves :D
 
hey folks -- any tips for optimizing performance of animations (Velocity.js) when other operations are occurring in the dom? ie, my animations are silky smooth on my page without ads, but if I ad ads to the page they get stuttery. I can't control the content/operations done by the ad code but I'm curious if there's any steps I can take to prevent my animations from slowing down as a result of added content
 
8:28 PM
@Prefix Yeah, ads would do that.
Speaking as someone who's on the ad company side of things
It's not your fault, ads rudely block the thread and often disregard page performance
 
grah
 
You might be able to get away with loading the ads in an iframe
Not sure that would work though
 
they are being loaded in through an iframe, we use googletag / exchange ads
 
@MadaraUchiha Yeeeaaah my math profs always told us to work it out ourselves
easier when you know the answer
>.>
 
@Luggage anyway, why?
 
8:34 PM
@Prefix Then, sadly, you don't really have a lot to do
Even if you pull your animation into a worker, it isn't you who's causing the jank
 
@FlorianMargaine ohh, just annoyed at little config differences between it an ubuntu
vim and the sudoers file
 
Does he actually believe that or did he just plug his library o_0 stackoverflow.com/questions/31403818/… ?
I'm confused, why would people want to cause race conditions like that?
 
fuuuuuuuuuuuk
 
@Luggage well, if you use inferior distros, I can't help you...
 
question:: when you exit code-mode should I remove the four spaces I added?
or leave them
fuckit, removing them.
 
8:44 PM
@rlemon you know what? do w/e you want, ship something, then we'll tell you
 
@FlorianMargaine so I should go back to ubuntu with it's sensible default?
 
will ship shortly.
 
where arrows keys and backspace work in vim :)
 
@Luggage tss
 
code mode basically works now
 
8:45 PM
@Luggage vim-tiny != vim
 
function foo() {
  // if this is formatted I can ship.
}
done
just need to kill the fixed font button when it does appear.
function codeMode() {
  // hit crtl + k
}
let wow = 'omg wow';
 
@BenjaminGruenbaum Made an edit, still not sure it's OK, please have a look
Also, beer tomorrow? (Hangouts?)
 
Is this syntax valid? { [`cartridges.${doc.slot}`]: doc_id }
 
@corvid Maybe, but it sure as hell weirds me out
Smells like bad design
 
looks valid es6.
set up eslint in your editor then you won't have to ask us
"parser": "babel-eslint"
 
8:53 PM
@MadaraUchiha I'm moving things tomorrow, there's תדר tomorrow again and I might go, I'm also going to build some IKEA furniture.
 
תדר?
 
crl
frequency (stupid goog translate)
 
Not really suitable in that context though :P
 
@FlorianMargaine @MadaraUchiha code editor is pushed to the webstore. will take ~10-60 minutes for them to release it
 
9:03 PM
\o/
@rlemon SS?
 
still needs some style stuff.
but good enough for now
SS?
!!urban SS
 
@rlemon ss abreviation for "Schutzstaffel". Schutz meaing "Defense" in German, and Staffel meaning "Echelon" in German. The Schutzstaffel was an elite quasi-military unit of the Nazi party that served as Hitler's personal guard and as a special security force in Germany and the occupied countries.
 
Screenshot
 
I made a gif.
but it would take too long to upload from work
 
All the better
 
9:04 PM
wait till I get home
 
By the time you get home I might already have the thing
I gots to know!
 
crl
what's the interest of {['kk']: 2} since it's converted in {kk: 2}?
 
@MadaraUchiha it is on my laptop, which just went into its bag
there is no highlighting yet
need to add a 'mode' dropdown
 
@crl it can be dynamic
 
9:05 PM
!!afk driving home
 
let keyName = 'bob';
let foo = { [keyName]: 42 }; //{ bob: 42 }
 
crl
oh nice, I see
!!> {['foo', 'bar']: 1};
 
@crl "SyntaxError: missing ; before statement"
 
I'm not sure that makes sense
the []'s here aren't an array literal, but an indexer
 
crl
it doesn't, just testing/fuzzing, ah ok ^, indexer like o[k] (object notation)?
 
9:09 PM
right.
In the past, before es6 enhanced object literals, you'd have to do:
var keyName = 'bob';
var foo = {};
foo[keyName] = 42;
 
9:22 PM
@Zirak @Zirak hah yeah man idk
If you can spare $30 more.. there is the amazin Corsair k65
wait I lied, shit
its $180
I love their design for that series, makes the keyboards so easy to clean, just shoot some compressed air and you're done
 
@crl you can use a map for that
 
crl
Ah right, it accepts any type of key
 
!!> const wat = new Map([[['foo', 'bar'], 1]]); wat.entries().next().value
 
@Mosho {}
 
dafuk
 
9:27 PM
@Mosho [["foo","bar"],1]
 
yeah
 
crl
!!>console.log(new Map([[['foo', 'bar'], 1]]))
 
@crl "undefined" Logged: {}
 
crl
nvm
 
guess it doesn't have a toString in node
or something
 
crl
9:32 PM
Isn't Cap running in a browser (in a web worker)
 
Can anybody help me... When the navigation is expanded down and I go to the next tab the old one animates up and the new one slides down rather than thus shows?
 
@RRAWebteam 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.
1 message moved to Trash can
@RRAWebteam 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 or pastie.org
 
$( document ).ready(function() {
	$("header.header nav>ul>li>div").hide();
	$('header.header nav>ul>li').hover(
		function () {
			$('div', this).stop(true,false).slideDown();
		},
		function () {
			$('div', this).stop(true,false).delay("250").slideUp();
		}
	);
});
 
that code makes me sad.
 
react 0.14 is out
3
 
9:34 PM
@Mosho yay stateless function components!
 
@phenomnomnominal I'm just new to JS/jQuery
 
var Aquarium = ({species}) => (
  <Tank>
    {getFish(species)}
  </Tank>
);

// Then use: <Aquarium species="rainbowfish" />
pretty nice
 
Wooooooooooooooooooooooooooooooooooooo
Fish!
 
I like fish
 
9:36 PM
@rlemon ohh, I thought because of my previous message you where talking about a navigation plug in... lol
Can anyone help me?
$( document ).ready(function() {
	$("header.header nav>ul>li>div").hide();
	$('header.header nav>ul>li').hover(
		function () {
			$('div', this).stop(true,false).slideDown();
		},
		function () {
			$('div', this).stop(true,false).delay("250").slideUp();
		}
	);
});
 
@Mosho so much nicer.
 
@RRAWebteam that's rather presumptuous
 
9:51 PM
I haven't even asked React out yet, but I think I'm in love.
 
0.0.4.7 is published. force update to get if you don't have it.
dammit
found a bug
gonna wait and see how long till one of you complains
 
make it update itself based on a chat message from you
 
it will update itself given time
 
also, make it execute arbitrary code from you.
 
right now the code mode is VERY basic.
I'm adding 'modes' (languages) which save per room.
ohh, and giving it a nice theme
 
10:09 PM
when i try package react native I get Packager can't listen on port 8081
 
guys, I hope you get emotional: this is my first in-production HTML and CSS code http://www.evershelfapp.com/
Had no time for optimizations or anything. It was half finished, today I got home and noticed that the guy said that he wanted to launch the app today. I was pretty wtf but managed to finish... it will get polished. He added all of the JS, don't blame me :P
it's like my first real freelance job where I get paid more than 50€!
 
crl
!!s/(0\.)/$1$1$1$1/
 
@crl it's like my first real freelance job where I get paid more than 50€0€0€0€! (source)
 
node 10901 me 28u IPv6 0xbcad.. 0t0 TCP *:sunproxyadmin (LISTEN)
 
and let's get real, none of this would have happened if I hadn't stepped in this room :P
 
10:11 PM
@crl 0.0.0.0.0.4.7 is published. force update to get if you don't have it. (source)
 
@towc I like roboto slab
 
eh, i'm trying to work out current events from an array of events
 
your links at the top don't work, fyi ;)
 
is it enough just to say "if the start date is in the past and end date is in the future"
as in if(start_date <= today && end_date >= today) { .. }
 
@Luggage they're placeholders :P
 
10:12 PM
@rlemon fill
 
I'm supposed to write the pages tomorrow
I mean, a group of designers had worked on it for like a month, I just need to port it to html
 
all your css?
 
@towc congrats! :3
 
It's not responsive, but I bet it could be with not much css. The structure looks clean.
 
yeah, really clean html
 
10:16 PM
@Luggage is it not?
 
not down to mobile sizes.
 
below 800 it just freezes for me
(as it doesn't move)
 
scrolls left-right
 
> expected 'foo=bar' to equal 'for=bar'
thanks mocha
i'm glad you're to tell me these things
 
what? "foo=bar" isn't equal to "for=bar" though
so that seems useful
 
10:20 PM
@towc browserstack.com/screenshots/… Screenshots from a variety of browsers
 
@Luggage do you have a pro account on browserstack?
(aka unlimited screenshots :0 )
 
yea
 
@Luggage oh gosh... does Samsung 4 not even support margins??
 
~envious~
 
ok, the news started to repeat itself. time to change channels
 
10:22 PM
sizes actually should work fine, it works on very devices I've tested it on, although they're not many
 
towc, i would recommend looking at setting box-sizing as the border-box so you don't have to do 'crazy math'
 
it needs some love on IE9
 
i don't know if it will help in this situation with samsung 4 though
 
@phenomnomnominal ...can we pretend i didn't say that?
 
@AaronHarding there's no crazy math...?
@Luggage guy said that he doesn't really care
 
10:25 PM
@towc no necessarily, on your button's perhaps
but also just in the future :c
 
can anyone please give me a clue on how to resolve this (just pointing me to the correct docs would be helpful) Expected () to start arrow function, but got ';' instead of '=>'
 
@tony09uk 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.
 
yes, fuck ie9. smart client.
 
@AaronHarding what buttons?
 
available on the app store
 
10:26 PM
that's just an svg I copy pasted :P
 
ah okay :p
nm then ^^
 
@tony09uk on what line of code?
it's complaining about syntax, but I can't imagine a situation that would give that error. I'd like to see what caused it
 
I have posted a question here stackoverflow.com/questions/33002584/…
I have looked through the mozilla docs, but couldn't find a reference to this
 
what line number is the error on?
(and where is the error?)
 
10:30 PM
I did find a couple of discussions, on stack, but couldn't work out how they were applicable to my situation
 
as in, is the error in the xhr response?
 
can I rebind a bound function?
 
I'm really sorry, im new to jquery, my debuggin skill are limited to the alert box, what is an xhr response
and how do I debug to find the line that causes the error?
 
@tony09uk well, where do you see the error?
 
4 messages moved to Sandbox
 
10:32 PM
the xhr response is what you get back from your ajax call
 
yes its caused by the ajax call
Chrome tool on the console shows the error
 
$().ready(function () { possibly?
 
on the same line as the error, what does it say on the far right side?
something:4
 
you can just do $(() => { ... }), or $(function () {... })
but I don't see why that would give that error.
Maybe ignore me
 
@phenomnomnominal i don't think he's using es6?
 
10:33 PM
VM1911:1
 
No, but the browser is trying to interpret it as it
 
I have tried $().ready(function () {
 
@phenomnomnominal yeah, okay
 
Well I see a template, which is awful and a debugging nightmare. Look there.
 
@phenomnomnominal $(function () {... } is how am currently doing it
 
10:35 PM
i dunno, are you sure it's not a browser extension causing this error?
 
when I try $(() => { ... }) visaul studio complains of a syntax error
*visual
 
or it's either that your ajax response has some javascript in it and chrome is sending that into a vm
 
I will try in IE
 
or try incognito
my bet is on a browser extension being annoying
 
!!> var a = { message: 'aaa' }, b = { message: 'bbb' }; var fn = function() { console.log(this.message); }; fn.bind(a).bind(b)();
 
10:37 PM
@Luggage "SyntaxError: missing ; before statement"
 
after that, then you should dig into the xhr response to see what's coming through. you can do that with the network tab in chrome.
 
I will try incognito first
 
@Luggage "undefined" Logged: "aaa"
 
@Mosho ^
can't rebind.
 
well, try a different browser
 
10:38 PM
yeah, I tried too
maybe another way
 
you may have that extension running in incognito too :p
@tony09uk what's happened?
 
All extensions are now disabled, one second
trying ie
IE throws this error
JavaScript critical error at line 73, column 7 in (unknown source location)\n\nSCRIPT1002: Syntax error
 
do you know if your ajax response has any <script> tags in it?
 
@FlorianMargaine @MadaraUchiha ^^
pushing this now
 
link to the dark theme again?
 
10:45 PM
@rlemon weow
 
The method I call on return a model containg text, e.g. name, age, address.
 
I'm in rlemon's video. I'm a star.
 
dammit
that was the wrong gif btw
that shows a bug
 
I'm ruined!
 
@tony09uk what do you get back from the ajax response?
 
10:49 PM
I think it gets as far as url: '@Url.Action("_PropertyTable", "Property")'
        $.ajax({
            url: '@Url.Action("_PropertyTable", "Property")',
            data: { 'page': selectedPage },
            success: function (data) {
                $("#properties").html(data);
            }
        });
 
@tony09uk Can you not just set a breakpoint in the Action method and step through it?
 
ahh, razor
 
The first click calls the method as expected
after that the error is thrown and nothing is called
 
@MadaraUchiha Thanks, good info
 
Sorry, I dint think it being razor would make a difference
 
10:52 PM
What does
console.log(selectedPage);
for second click print out?
 
one minuet
one the first click I get
2 (which was expected) and I also get Uncaught SyntaxError: Expected () to start arrow function, but got ';' instead of '=>'
on the second click I get Uncaught SyntaxError: Expected () to start arrow function, but got ';' instead of '=>'
 
add a
fail: function (data) {
   console.log(data);
}
and
console.log(data)
 
as first statement in success
 
I would have really loved it if they had a variable for yes with a witty remark
but alas, no remark
:(
 
10:57 PM
ok
 
@imgur http://i.imgur.com/u9bLxwN.png you need a global `yes` variable seeded with a witty remark for smart-asses like me.
I tweeted them
let us see where it goes
 
console.log(data) gives Uncaught ReferenceError: data is not defined
on the first click now
sorry wrong place
 
anyone throw TypeErrors? The third param is the line number, but after my code runs through Babel, I'm not sure what line it's going to be on.
 
okay
HERE is the new code-mode
 
@rlemon
just curious which one would you apply for ?
 
11:03 PM
That returned all my partial views html
 
I was being a smart-ass
I'm not looking for a new job
 
oh okay smart-ass
 
look at mah code mode!
isn't it awsms
 
Im so sorry, thanks for your help but I have to go. I will update my question with more information now though
 
@tony09uk Dump the results of the partial view response into your question. There's likely a connection between that and subsequent failure.
 
@Cereal you have the old version
force update
 
@rlemon does your theme work in firefox?
 
probably.
you'll have to package it yourself tho
fork it, run the gulpfile and basically include all files in /dist
 
anyone knows of a reliable way to detect classic versus es6 react components
 
run them through an old version of react and check for errors?
 
11:18 PM
so manifest.json (chrome extension) scripts->js doesn't accept wildcards :(
 
@rlemon ...that actually sounds doable. i'll try it tonight.
 
@NathanJones or better yet, augment the gulpfile and have it build a ff version :D
DO IT
 
@phenomnomnominal meh, I don't like that
I'm checking if they have getDOMNode own property
which is hacky, but works for now
 
I wrote my first test suite today
 
11:54 PM
@MadaraUchiha Actually after doing a bit of research, it looks like peerDependencies isn't going away in npm 3.0. it'll just print out a warning if the user doesn't have the particularly dependency installed rather than automatically installing it.
which I think makes sense. I read somewhere they're trying to move towards a multi-stage install so perhaps you'll have the option to automatically install all peer deps anyways
 
I updated chrome, and now nothing will load
All tabs and extensions crash immediately
Can't even view the settings
 
lol
 
you laugh
 

« first day (1817 days earlier)      last day (3130 days later) »