« first day (965 days earlier)      last day (3999 days later) » 

6:00 PM
Yeah thats what I've been told is the best
 
What just happened
 
sounds good.
 
you just reuse them
 
I'm busy :|
 
!!/undo
 
6:00 PM
@Gacnt I barely played WoW
 
@Loktar Use what
 
@BoltClock Human exception that needs to be handled.
 
ohh
 
Im an old school gamer bro, my name is from the original Warcraft
 
You're the exception handler. :P
 
6:00 PM
@BoltClock Read the message with the pins on the side.
 
god ol dos Vs
/me goes to eat
 
I am the 'throw' keyword.
 
can i change the description of the room?
 
@Loktar reuse what ?
 
user1596138
in Sandbox, 12 secs ago, by Caprica Six
@Jhawinsss Command lmgtfy forgotten.
 
6:01 PM
@BenjaminGruenbaum o_o
 
@rogcg what did you want it to be
 
user1596138
@Gacnt too bad I guess...
 
@BoltClock I know, I'm sick of that drama :/
 
!!/lmgtfy What are you talking about
 
@Gacnt Command lmgtfy does not exist. Did you mean: lmgtfy
 
6:01 PM
@rlemon wibbly wobbly timey wimey...stuff
 
nahh
 
@Jhawinsss You will feel my wrath -.-
 
user1596138
@Gacnt if you want to hide the fact that you taught her the command again you should use sandbox. Just like I did when I deleted it just now.
 
where I love the doctor... it's not fitting to the room
and not enough dr. who fans to justify it
 
@Jhawinsss so can I put you on mute in sandbox :P
 
user1596138
6:02 PM
Time wibbly wobbly...
 
user1596138
@Gacnt What a dick(This is sarcasm). I'd just make my own room and /summon her to it.
 
var stuff = new Date('wibbly wobbly').getTimeyWimey()
 
Haha I'm obv not going to :P
 
i dont love him. i just like the show.
 
user1596138
@rlemon You know why?
 
6:03 PM
I dont want to do actual work I want to make something cool in javascript or something that my whole company can take advantage of, any ideas?
 
@rlemon There's a spec of sneeze on my monitor whenever you type those 1 liners that start with var, I see var .= and get confused and so excited to correct you :P
Then I realize it's sneeze juice
 
we have neither the space..... nor the time... for @badbetonbreakbutbedbackbone
 
@Darkyen That depends on the language's specification (remember that x++ returns the original value of x, not the updated value).
 
@powerc9000 Let all characters on your website spin 360°.
 
I suppose there are not enough Professor SpaceTime fans in here..
 
user1596138
6:04 PM
@rlemon Why ping him? Haha that's gotta be torture for him.
 
@OctavianDamiean that's an idea
 
Professor SpaceTime what is
 
idk why.. i've tried. but i cant feel horny for .Net stuff.. i promise you. I've tried a lot!! and then I see this, but still cant feel anything.. signalr.net/#
 
@OctavianDamiean yea.. i've already done that.
 
It's from community
 
6:05 PM
@powerc9000 I don't know how your company will take any advantage of that though, so better not do it on company time. :P
 
@powerc9000 you can write useless crap like I do like notification systems and document fragment builders and shit
you guys do wordpress yes?
 
@Darkyen But I believe multiplication, as a general rule, is not left or right associative, but defined by the associativity around it. That's usually left-associative, so multiplication is usually left-associative.
 
Yes
 
user1596138
@powerc9000 Give us the MySQL passwords. That'll benefit the whole company.
 
It could....
 
6:06 PM
NoSQL for lifffeeee
 
@Zirak okay :-)
 
I just stretched and it felt like my head was gonna explode from all the blood rushing to it, first time that happened
 
I like Mongo I tried it lately it's lovely not to have to build schema
 
@Gacnt First message of yours I agree with of today. :P
 
@powerc9000 Yay! No transactions or ACID
 
6:07 PM
@OctavianDamiean I dont use drugs
 
@powerc9000 Go with CouchDB.
 
@OctavianDamiean You're just upset with me because I killed you in battlefield :(
 
@powerc9000 well you can "re-write" any of these: https://github.com/rlemon/Konami-js
https://github.com/rlemon/TimeAfter.js
https://github.com/rlemon/Notifier.js
https://github.com/rlemon/FragBuilder.js
https://gist.github.com/rlemon/5573216
https://gist.github.com/rlemon/5556905
https://gist.github.com/rlemon/5390990
https://gist.github.com/rlemon/4706993
 
@OctavianDamiean why couch?
 
@Gacnt You what? You maybe had a wet dream. :P
 
6:08 PM
LOL
 
@powerc9000 they should all be somewhat usable with WP
 
user1596138
!!/s/Yay! No transactions or/DO SOME/
 
@Jhawinsss Invalid command /s/Yay! No transactions or/DO SOME/
 
nooooooob
 
@Darkyen In the above example, (x++ - y++) * (x-- + y--), assuming left-associativity, (3 - 4) = -1 (afterwards, x = 4, y = 5) (-1) * (4 + 5) = -9`
 
6:08 PM
God I am absolutely non-constructive in this chat today, I'm gonna put myself in timeout - I am tired.
 
user1596138
@Gacnt Care to show me the correct way?
 
!!s/ not !!/s
 
@Gacnt Y U NO MAEK SENSE!? Could not understand s/ not !!/s
 
@powerc9000 best summed up here. wiki.apache.org/couchdb/Introduction
 
@rlemon add air pressure and stuff
 
6:09 PM
@Zirak then why does GCC compiled code computes -7 ?
 
user1596138
@Gacnt Oh... It's a plugin.
 
@rlemon did you ever finish that game and add power ups and crap
 
user1596138
I will find another time to make an acid joke.
 
@Gacnt nope
realized the code wasn't the best
 
@Darkyen Specification, I guess. Look into how the C standard defines multiplication
 
6:09 PM
ah time to dig up asm :D lol
 
oh
 
like, it was 'clever' but not performant
 
@OctavianDamiean doesnt seem to differ from mongo much
 
user1596138
NEW DILEMA! Ask for raise, or fuck it and find new job.
 
@Darkyen multiple post/pre-ops in a single expression are UB
 
6:10 PM
That was your first REAL go at canvas wasn't it?
 
@powerc9000 It does, A LOT.
 
I was constantly struggling with performance issues because I was using a lot of es5 stuff that hasn't really been optimized yet.
 
user1596138
Someone show me how to ask Caprica...
 
@Jhawinsss Look for new job, then ask for raise, if you don't get it, take the new job :D
 
@JanDvorak well i never use them
they are just for the sake of books :P
 
6:10 PM
!!is this how you ask you a question
 
personally its more of a mess to use even 2 i++ in same statment
 
@Gacnt Definitely
 
user1596138
@Gacnt Multiple choice question.
 
@Gacnt not really. it was my first real go with trying to write a game on canvas based on physics
 
!!should he find a new job or ask for a raise
 
6:11 PM
@Gacnt ask for a raise
 
user1596138
!!should get a new job or ask for a raise
 
@Jhawinsss get should a new job
 
user1596138
Umm...
 
!!should stop asking or stop fucking asking!
 
@rlemon stop should asking
 
6:12 PM
@Zirak Are you ever gonna implement it so she takes ownership of the response?
 
user1596138
:(
 
@Zirak wait... what?!
 
@Gacnt huh?
 
im too tired to think of the correct term but
 
@Zirak how did she mix up my words on me?
 
6:12 PM
Should I, becomes You Should
 
@Gacnt It does.
 
user1596138
@rlemon She did it to me first. That's why I was asking how to do it right because obviously I did something wrong.
 
@rlemon Because of what Gacnt just said
!!should I bother or should I not
 
@Zirak You should not
 
@Zirak Oh, I never even noticed the whole time
I guess I don't ask enough personal questions on here
 
user1596138
6:13 PM
!!should I word things this way or should I not
 
@Jhawinsss You should word things this way
 
@OctavianDamiean what in your mind is the best advantage?
 
so it tried to make it intelligent but fails sometimes?
 
user1596138
Ok! Cool. I'm done now, I just wanted to know how.
 
!!should you stop doing this or continue
 
6:14 PM
@rlemon continue
 
So is the world of robots
 
user1596138
@rlemon Well, I had said I would stop. But you continued it and she told me to continue so. . .
 
@rlemon Are there 20 letters in the alphabet?
 
no
I read your D joke already
get new material
 
DAMNIT
 
6:15 PM
you are so lame
 
That was pathetic
 
user1596138
I used that joke last night... She didn't get it though.
 
haha, reuse till it's old man
 
it's old
 
I'm tired
Go home
 
6:15 PM
lol
 
user1596138
I had to give her the D then instead.
 
user1596138
Nah. I got drunk and passed the fuck out.
 
@Darkyen It's a good SO question
 
@powerc9000 To be honest with you, currently I lack the energy and time to convince you to read the Wiki and compare, it is up to you to decide which one to pick. As an experienced professional developer that has worked with CouchDB for over a year I can only point you to what I know to be good. ;)
I'm going to watch a soccer match now.
 
@Zirak which ?
 
user1596138
6:16 PM
@rlemon why don't your balls look right in Safari? I thought it supported canvas.
 
You seriously have no comprehension, of getting up every morning at 4:30am, when you don't get home from work till 9:30 :(
 
@Darkyen The associativity in C. I'm curious myself.
 
no clue
screenshot?
brb smoke
 
user1596138
@Gacnt I used to work noon to 2-3am with a half hour break between jobs. For 7 months.
 
room mode changed to Public: anyone may enter and talk
 
6:17 PM
@OctavianDamiean I'll have to research more then. I haven't really used mongo much I just have been playing around with it so I don't know a lot.
 
Alright time to ask
 
user1596138
@rlemon I can screen it if you want. But it's just a white box. Nothing happens at all.
 
@BenjaminGruenbaum You need to prep me for those screen flashes, I startle easy when I'm tired :P
 
man...it's been a while since I've looked at assembly. It's all gibberish now.
 
6:18 PM
@Zirak it was gibberish before too. :P
 
Lol
 
@Darkyen You just gave something to the contrary
Ask "why does this output -7 and not -9"
 
@Jhawanisss did I shim requestanimframe
 
Oh :-O okay
 
What to do, what to do.
Fork the bot and make a doppelganger
 
user1596138
6:20 PM
@Gacnt Yup.
 
leslie chow is awesome!
 
That joins randomly and just blurts obscenities then leaves
 
What a bright idea.
 
@OctavianDamiean just jokes
 
@Jhawinsss yea. doesn't work because requestAnimationFrame
 
6:22 PM
Soooo, Austria is going to kick Sweden's ass now.
 
user1596138
@rlemon Ah.
 
user1596138
@rlemon Looks like shit! But it works.
 
user1596138
@rlemon That isn't the balls is it? This one looks like a water simulator... Sort of.
 
user1596138
6:24 PM
I'll check it in chrome
 
user1596138
Yeah it looks badass in Chrome. But in Safari it looks horrid.
 
blame safari
 
have anyone here watched the hangover 3?
 
user1596138
@rlemon Yup.
 
user1596138
@rogcg Yes.
 
6:25 PM
ew, safari
 
@Jhawinsss I LOVE COCAINE! that was hilarious! Leslie Chow is one of the bests in that movie! also I believe I can fly! and the guy in the hotel windows, and chow passes by flying. AHHAHAH
 
user1596138
@canon My boss is a mac guy... Safari is our main office browser. Although I use Chrome anyway a lot of the time.
 
user1596138
@rogcg It was pretty funny. A lot less gross this time.
 
indeed.
 
@Zirak Done.
 
6:29 PM
0
Q: When is ++ called in C?

DarkyenThe following code in JavaScript function foo(){ var x = 3,y = 4; var z = (x++ - y++) * (x-- + y--); console.log(z); } the output is -9, which is very logical as ( - 1 ) * ( 4 + 5 ) = - 9; when doing the same program in C void foo(){ var x = 3,y = 4; var z = (x++ - y++) * (...

 
Is there such a thing as a CSS sheet out there that just over-rides all the browser default content to make pages 'glossy', perhaps not a product but just does standard things like add table borders, etc.
 
somebody with better english, please... edit my question :D lol
and oh hi @Incognito
 
I don't want to make a template but I don't want absolutely nothing when I'm testing and showing what things do.
 
user1596138
That chick came in today smelling like booze... And she was here the other day still drunk when I had to sober her up.
 
user1596138
Some people are just fucking idiots.
 
6:30 PM
@Incognito there is normalize.css and reset.css is it what you looking for ?
normalize will normalize all the browsers default rules to make them look same,
reset will re-set all rules.
 
@Jhawinsss make her watch this she might just puke
 
> [it] is incrementing and decrementing after the execution of the whole statement.
I don't quite get that
 
user1596138
@rlemon I'd rather just pretend she doesn't exist till she gets fired. Haha. But that is pretty cool...
 
The only thing that's incrementing/decrementing are the values of x and y, not the answers
 
@Barrett 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.
 
6:33 PM
Unless... (3 - 4) * (3 + 4) === -7
So it is delayed incrementing/decrementing after everything
 
user1596138
@Zirak It does...
 
@Zirak its exactly whats its doing
it seems, unless...
 
@BenjaminGruenbaum He won't be chatting for a while
2
 
well lets test this theory :4 macros ftw!
 
Which makes sense if C gives inc/dec very high precedence
okay, this asm makes sense now
 
6:34 PM
All hail King @BoltClock
 
> This user has been temporarily suspended by a moderator and cannot chat for 13 days.
 
@Zirak it does.
 
        ...stuff...
	imull	%ecx, %eax
        ...stuff...
	addl	$1, -12(%rbp)
	addl	$1, -8(%rbp)
	subl	$1, -12(%rbp)
	subl	$1, -8(%rbp)
 
exactly what i figured out :P
 
So it does (x - y) * (x + y), and then x++; y++; x--; y--
 
6:35 PM
@BoltClock what should the course of action be in 14 days when he returns and calls us all elitists and trolls us again?
 
@Zirak now here is a twist.
 
Problem solved?
 
TurboC computes like javascript
and computes -9
turns out C has no specification is to where -- or ++ should happen :P
 
@rlemon We can put him out for a month or two
 
not to say you didn't do the right action, but he has been banned before by mods for the same(I presume) reasons
 
6:36 PM
Or at least until he shuts up
 
they just garuntee it will happen after, but where after ?
 
@rlemon Yeah I know
 
probably compiles to something like
sub $t0, x, y
sub $t1, x, y
mul $t0 $t1, $t0
subi x, x, 1
subi y,y,1
 
can you guys see ban histories?
like who banned him and how long?
 
user1596138
@rlemon nextElementSibling and offsetHeight worked well.
 
6:36 PM
@Jhawinsss good stuff. did you shim the first?
 
@Darkyen TurboC was last updated when? 1990?
 
Actually... no
 
C has later standarisation
 
user1596138
@rlemon About to.
 
6:38 PM
@BoltClock would be useful maybe to have that feature? if you see Gordon or someone banned him before and you are banning him like 3 days off of a fresh ban. might impact your ban duration no?
 
@BoltClock Thank you, appreciated :)
 
Can anybody with Visual C or CLANG compare the results ?
 
the people broke a lot of things in the street here because the bus pass price is R$ 3.20. everything is painted and broken.
 
@rlemon Oh we have annotations for that it seems. Just FYI I did not ban him this time either :P
 
6:39 PM
@Zirak err so is javascript's computation illogical ?
 
I'm taking credit for someone who wishes to not be named :P But in future I'll do it if you insist
 
@Darkyen I'd argue it's logical, C's standard seems illogical to me.
 
@BenjaminGruenbaum No problem
 
They delay execution of increments/decrements
 
@BoltClock I was just thinking if you guys could review the history then it might shed a little more light for mods who have not been helping deal with the issue in the past.
if say, one of them helps deal with it in the future (if it comes up)
 
6:40 PM
@Zirak Makes more sense to me
 
user1596138
@rlemon this works... But I don't fully understand it.
 
user1596138
SPic.height + ( (SPic.nextElementSibling && (SPic.nextElementSibling.offsetHeight)) || 0 ) + 20;
 
they are supposed to be incrementing/ decrementing after computation, also them happening delayed makes them so much easier to understand :P
 
@Jhawinsss in most of your browsers it will not be an issue
afaik nextElementSibling doesn't work in <IE9
 
@BoltClock He just doesn't want all the pings and to deal with him :)
 
6:41 PM
That's not how I grasp them. That definition is truly strange to me. But whatever works...it's one of the reasons to avoid them.
 
@Zirak I read that as "increments/excrements" at first...
 
@Zirak yeap, agreed
 
user1596138
( (SPic.nextElementSibling && (SPic.nextElementSibling.offsetHeight))
 
Question for american people : when you're proposed XK$ for a job, what's that ? Is that net salary ? Is that what the company pays ? What's a standard X for a hightech senior job in a startup (not a manager) ?
 
user1596138
That is what confuses me. Why is it written out twice?
 
user1596138
6:42 PM
Why isn't if just (SPic.nextElementSibling.offsetHeight) ?
 
@Jhawinsss checks to see if nextElementSibling exists first.
 
So it doesn't break if SPic.nextElementSibling isn't there
 
(function () {

var hostElementPrototype = window.Element && window.Element.prototype;

if (!!hostElementPrototype && !"nextElementSibling" in hostElementPrototype ) {
    if (Object.defineProperty) {
        Object.defineProperty(hostElementPrototype, "nextElementSibling", {
            get: getNextElementSibling,
            configurable: true
        });
    }
}

function getNextElementSibling() {
    var nextSibling = this.nextSibling;
    while (nextSibling && nextSibling.nodeType !== 1) {
shim^
should work IE8+
 
user1596138
@BoltClock Ah!
 
user1596138
So then if it doesn't exist that's where the OR ( || ) comes in and it's defined as 0.
 
6:45 PM
Short-circuit evaluation, minimal evaluation, or McCarthy evaluation denotes the semantics of some Boolean operators in some programming languages in which the second argument is only executed or evaluated if the first argument does not suffice to determine the value of the expression: when the first argument of the AND function evaluates to false, the overall value must be false; and when the first argument of the OR function evaluates to true, the overall value must be true. In some programming languages (Lisp), the usual Boolean operators are short-circuit. In others (Java, Ada), both...
 
Way to go, make popcorn before a TV event, eat all popcorn before event starts, sob because you don't have any popcorn left when the event finally starts ...
 
user1596138
Very cool. Thanks!!
 
Short circuit is a really handy thing :D
 
it sure is
 
!value && console.log("You fucked up",value); // something i kind off use quite a lot to find out whats going on
 
6:46 PM
@OctavianDamiean chew on the unpopped kernels.
I tend to use them too often
people who read my code dislike it
 
@rlemon Yup, then call the dentist the next day. :D
 
@OctavianDamiean nahh, you just gotta do it right.
 
:O
// lemme explain
 
user1596138
What's the preferred way of getting to an elements say, 3rd sibling? Or getting to a parentNode's parentNode?
 
user1596138
Just for future reference.
 
user1596138
6:51 PM
Or getting to an element's next sibling of a certain type? Like the next sibling img tag or anchor?
 
function deepParent(node, level) {
  var ret = node;
  while( ret = node.parentNode && level-- );
  return ret;
}
you have to do it this way
or use a querySelector
 
nonsense. i should sleep
 
6
Q: Getter/setter on javascript array?

Martin HansenIs there a way to get a get/set behaviour on an array? I imagine something like this: var arr = ['one', 'two', 'three']; var _arr = new Array(); for (var i=0; i < arr.length; i++) { arr[i].__defineGetter__('value', function(index) { //Do something return _arr[index]; }); arr[i].__def...

 
@rlemon thanks lemon :-)
 
user1596138
@rlemon If I used say onclick="deepParent(this, 3)" wouldn't I just keep ending up with a lower value?
 
user1596138
6:55 PM
How would that get me to a deeper node? Wouldn't ret just return 3, 2, 1, 0, -1 etc. . .
 
Worth mentioning that being an Array key is defined in the specification as being able to convert they keys to a unsigned 32 bit integer. Nice answer. — Benjamin Gruenbaum 6 secs ago
 
user1596138
I got stuck in an endless while loop...
 
@Jhawinsss How metaphorical
 
@Loktar @rlemon june 6th was the date made in January, got a little behind schedule, so now its July 22nd I think
I kind of wish it happened before June 21st since I turn 25 then, and wanted it out when I was 24 :P
 

« first day (965 days earlier)      last day (3999 days later) »