« first day (955 days earlier)      last day (4218 days later) » 

17:00
@phenomnomnominal oh, so it will apply to siblings too
@Connor, it will apply to all objects in the initial selection
ok thank you - @phenomnomnominal
@Connor, I'm assuming here. Just from reading that
@phenomnomnominal yeah cool, thank you, having fun spending your X bucks
There is .asp page, where there is one textbox, I want to insert serially range of no. in there...
17:01
@BenjaminGruenbaum but why i'm trolling dude? what i say that it's trolling? :/
so as to get output........
ohhh sometimes can't catch you, you start prevented in some way :/
@badbetonbreakbutbedbackbone trolling is like being offensive. You don't get to decide if you are being offensive, the people you are offending do.
@badbetonbreakbutbedbackbone i have learned that you should just stop, start working and have fun
@Simon Sarris
There is .asp page, where there is one textbox, I want to insert serially range of no. in there...
17:02
ok so professional question: We contract out or social media marketing to a third party company (that I don't fully have faith in) and my boss just put me in charge of the account with them. They want to contact me and discuss with me how I can 'improve with social marketing' - so do I even mention i'm <30 y/o developer who probably knows more about social media marketing than their 'team of specialists' (assumption based on current observations of their work)
@Connor i pass 1 hour a day in chat i think who has to start working are others, anyway np :)
however the boss seems happy with them, and i've mentioned my concerns about their effectiveness before.
@rlemon SEO people trust no one, and no one trusts SEO people
@rlemon Don't make the assumption you know more about social marketing before you've even talked to them, I consider that a mistake.
@phenomnomnominal yes but , so please, highlight me the facts not just saying your trolling, so i can understand, italian is totally different from english :/
17:03
they are not SEO people really
in fact, their SEO skills suck. :P
@badbetonbreakbutbedbackbone no, they don't have to work atall
do this please and i think we will get peace finally :/
@BenjaminGruenbaum see later notes: based on observation.
You say they are ineffective? Sounds like run of the mill SEO people to me :D
17:04
I have another solution.
@badbetonbreakbutbedbackbone this is where people start getting pissed off
I have seen it. we've been working with them for over a year
@badbetonbreakbutbedbackbone you keep going on about it, no 1 cares - Move on !
@Connor can i understand the reason why so we can make a big stone over this history ? :/
i'm just asking, do you think i'm trolling yet ? :/
Yeah I'd let them know you are a developer, but I dont know how much more you can say
17:05
@badbetonbreakbutbedbackbone, right now, no you're not.
@SimonSarris they are the entire 'online marketing' package. They do all of our publications and shit, and tbh that is all fine and well. it's very time consuming for us to make tweets and updates and shit for work.
@badbetonbreakbutbedbackbone what are you benefiting by this? only wasting yours and his time
guys javascript please need help....
There is .asp page, where there is one textbox, I want to insert serially range of no. in there...
@badbetonbreakbutbedbackbone, but I don't have the time to explain to you why the things you have been doing are troll-like behaviour.
17:05
@rlemon ah so its just like management people
however they're "best practices" are all debatable. and in a year have yet to provide any new leads
@Connor by what? asking for music or asking help in js ?
@CoolEulerProject Can you make an example on jsfiddle.com? I still don't understand
@SimonSarris they do a lot of stuff. they also are designing our new website and do all of our ad development
@badbetonbreakbutbedbackbone by keeping on about this trolling thing!
17:05
@CoolEulerProject That's cool
Asking for music is a good example. If people don't respond, don't ask again. Use Google!
@Connor which one????? :/
ok ll do it....
thanks
It's your general attitude.
bulktrash++ ???
17:06
@badbetonbreakbutbedbackbone exactly my point "which one"
@rlemon we all feel the same way here about SEO people, however, play nice. I remember the last SEO guy who came to my office, started giving me 'great' JavaScript advice.
Why were five question marks required?
@badbetonbreakbutbedbackbone what was your question?
@phenomnomnominal i understand np
29 secs ago, by rlemon
bulktrash++ ???
17:07
@rlemon please
@Connor it was a friendly "what music do you listen to?"
thats two for bulk trash. Can I have a third?
@Connor it's dangerous asking that?
I've got him muted, I don't care. bulktrash++
@badbetonbreakbutbedbackbone no, but if no 1 reply's their not interested
17:07
@Connor ok so ?
@Shmiddty ok you can't count.
do i made any kind of argue about?
So, you kept pushing.
I'm trying to make us a democracy
17:08
ok but do not start prevented anytime
just this
@badbetonbreakbutbedbackbone delete thisConvo();
if i annoy someone , he can igonre me, what's the problem? Could be you like to flag and ban me just for joke? i feel this sincerilly
@Connor return "ok np" ;
@Shmiddty Yeah
> can someone suggest me some chill music for programming?
> what do you listen to usually?
> i like electronic music has someone some good name of ?
> rlemon do you have music names for me?
> please , i like groove armada, weebl, c418, daft punk, chemical brothers and so on, advice me some new name please :U
17:09
You see why that's too much?
it's trolling = kind of offensive ? :/
No it's just spammy and annoying.
i told you you are getting prevented, don't be please
@copy I don't find those problems interesting or fun. :(
ok ignore me .. what's the problem?
17:10
brb
can anyone help delete thisConvo(); isn't working
Don't be such a child and when someone asks you to stop something, just stop.
ok, problem,:; its inserting data into textBox of asp...., just I want to write a script which ll do auto insertion for a range of data
@Connor why would it?
.asp page is there
17:11
@Shmiddty lol, dw it was a joke, but you didn't get it
@minitech It's usually a lot nicer in here :) I promise, way less drama, more programming talk
@CoolEulerProject Wouldn't that be an .asp question then?
Speaking of programming talk
@minitech HE'S LYING (SOURCE: I'M A MOD)
4
@minitech ask Theif or Gordon. This has been an ongoing battle with said user.
17:11
@minitech, yeah apologies
scrpting??
in asp
Quick question, say I have a class Users, if the array inside Users is empty, how do I destroy that class so it no longer exists
peeks into the room, notices flags, goes back to GT5
Who wants to try a JavaScript puzzle? This is the JavaScript room
flags? ugh
17:12
is it just delete variable holding class
@XCritics don't use a class?
@OctavianDamiean HA
@phenomnomnominal ok np i'm not a child i just would like to understand why you so prevented , anyway bye bye i go!
@phenomnomnominal it's essential that it's a class x.x
@minitech, @copy and @Shmiddty LOVE js golfing
17:12
@minitech Shoot
@XCritics if it only contains an array, then why?
@minitech yes
I'll go find it, then :)
@phenomnomnominal doesn't only contain an array
@minitech I KNOW THE ANSWER IS LL
17:13
@BoltClock Whoa. That was precognitive
- enters
- elicits debate amungst room regulars
- calls us elites or 'prevents'
- leaves without doing anything constructive or productive at all.
is there a batmaskify.me?
Y do u not have the badge yet
Could you please stop with the flags?
17:14
can a mod tell who is flagging at least?
@XCritics, oh k. Go and look at how garbage collection works in JS
@EtiennedeMartel Yeah, sorry
Sure, let's invalidate all of them
@rlemon Yes
is it an abuse to over flag?
@phenomnomnominal gist.github.com/Gacnt/… is called near the very end of the file, I then wanna see if the occupants array is empty, if it is, destroy the class, and ok I will
17:14
It's an abuse to flag things you shouldn't be flagging
@rlemon Keep in mind you're bothering the entire network with this.
@EtiennedeMartel With flags?
Damn you BoltClock ... stop writing what I think.
@EtiennedeMartel keep in mind you're assuming i'm the one flagging the messages
@rlemon isn't flagging.
17:15
Actually, no, keep doing that.
@rlemon I meant "you" in the general sense, i.e. "The JS chatroom".
@EtiennedeMartel We know, it's not our fault (the regulars), we have a problematic user, there are four mods in this room right now, all active.
@EtiennedeMartel it's likely the user we've been arguing with for ~2 months
This room was placed in timeout for 10 seconds; the topic of this room is "Everything JavaScript | New User? Read rules.javascriptroom.com (hint, the controller is Zirak, the view is dystroy, and the model is BadgerGirl)" - conversation should be limited to that topic.
hush now
@EtiennedeMartel, either way, it's unfair to blame the behaviour of one person on all of us.
17:15
ok go
@rlemon Why is he still not banned, then?
ding dong, okok is dead.
@EtiennedeMartel has been banned many many times before
@EtiennedeMartel, don't even bother to try to understand the situation.
@rlemon That is actually quite horrifying at first sight
17:16
@rlemon Can't one of the four mods do something about it?
Who ya gonna call! TROLL BUSTERS!
This all seems incredibly inefficient.
@EtiennedeMartel ask them not me.
@EtiennedeMartel, oh no, that would be very elitist.
17:17
@EtiennedeMartel He's been suspended multiple times already but he's like herpes, he just won't go away.
Dang, I deleted the puzzles during one of my weekly OS changes. :(
:(
I was excited for a puzzle
@minitech Thanks for nothing. Go back to your mod cage
Wow, you really have worse problems then we do have in the Lounge.
17:17
that wasn't embedding an answer
@EtiennedeMartel, he's pretty much the sole reason Zirak implemented muting for this room.
!!s/problems/problem/
no bot be like oooohhaaaa
Anyway. I'm gonna leave you guys with that troll that mods can't permaban for some reason.
ok love you buhbye
17:18
C++ sucks. :)
Hello Everyone!

My styling on the page using jQueryMobile doesint load since i'm filling out my <li> elements with an ajax call (its working on every other page, but not the first one)

http://pastebin.com/5EJxE29Z

I've tried to insert $('#'+id).trigger('create'); but that doesint do the trick, anyone got an idea?
@phenomnomnominal I know.
Driving me insane right now. Y AM I RETARDED AT PROGRAMMING
@phenomnomnominal you got lambdas you know.. and function pointers
Let me reword that...
17:20
Don't worry, CSS doesn't have first-class functions either. You can only use them in at-rules and decl blocks
Also selectors. Like :nth-child()
Nevermind, found it! You have permission to be happy now
@minitech it's 5am here, it better be easy
@BoltClock Those are cool.
has anybody here worked with the google Maps API
17:21
@phenomnomnominal New Zealand? I thought NZ was ahead of Singapore by 5 hours - it's 1am here. Unless DST or something
@BoltClock, probably DST, it's 5.21
@DineshVenkata, sure have buddy
@phenomnomnominal I'm unable to display multiple markers
Note:- that doesn't mean i'm in any mental state to help with anything.
that one I can maybe hep with
@phenomnomnominal ah
@minitech new Number(1)
@phenomnomnominal already saw it
17:24
@DineshVenkata, what's the problem?
can you point me what is the guy doing different there than the procedure used for a single map except for the loop
@minitech waiting for level 1
@BenjaminGruenbaum Oh, that's clever.
Totally didn't expect that.
@BoltClock I am very disappointed in singpost.com.sg
I expect immediate attention to this matter.
17:25
@BenjaminGruenbaum, was just doing that damnit :P
Y U NO GIVE ME USEFUL TRACKING INFORMATION?!
@minitech same autoboxing trick
@rlemon I apologize on my own behalf
@BenjaminGruenbaum Nope
17:26
you'd better
@minitech Can I assume I'm in the browser?
@BenjaminGruenbaum Yes!
@BenjaminGruenbaum nice
I don't get the challenge. are we re-writing it or breaking it
Though it doesn't really matter for this one
@rlemon Put any code where the comment is.
17:27
!function() {
    return typeof this === 'object';
}.call(Worker);
The code that's already there must remain in place relative to the comment, though.
@minitech no need, Math.sin works
@BenjaminGruenbaum I am so confused right now
obj = Function;
typeof Math.sin === "function"
17:28
@minitech I expected I'd have to use XML
input = 12
eval = function() { return ''; } // Cheating
!function() {
    return typeof this === 'object';
}.call(Function);
or were we supposed to do that in one line?
@minitech level 2?
17:30
So, wait, did okok get banned?
reddit works nicely for upvotes
You people. Always doing the unexpected answer
@SomeKittens Who cares, he's not here
@SomeKittens I think he just left
@minitech what did you expect?
17:31
(Also, you would write var obj = Function;, etc. But anyways.)
IMPOSSIBRU!
Hello Everyone!

My styling on the page using jQueryMobile doesint load since i'm filling out my <li> elements with an ajax call (its working on every other page, but not the first one)

http://pastebin.com/5EJxE29Z

I've tried to insert $('#'+id).trigger('create'); but that doesint do the trick, anyone got an idea?

<<Sorry for the repetition>>
@phenomnomnominal Not telling. Level 2.
@minitech We don't know these questions in advance :)
17:31
I'm just getting so frustrated :D
One would expect that :P
@minitech we replace magnitude? If so, NaN solves
wait, nvm
1eNaN don't work :P
Put a number outside of the safe decimal range?
1e20000?
@ShotgunNinja that's still be number, just not accurate
17:33
@ShotgunNinja Infinity, still a number.
So yeah, when I mention that "Level 2 is harder"
I mean "much harder"
Hmm.
It's just so open-ended.
I mean, you could probably just bypass that section of code from being run whatsoever, if you felt like it.
To be more specific about the challenges (I hope)
Where the:
 // Put anything here to make the final assertion true.
comment is, you can put any text.
Put return true
But you can't change anything else.
heh
I was about to say.
17:36
@ShotgunNinja Assume this is one script; you want the final assertion to be true. No returns.
> ReferenceError: anything is not defined
2
@minitech Oh, fine.
@minitech Ah, I thought we were just replacing "magnitude"
@minitech can I assume strict mode is off?
SyntaxError: syntax error

*any text*
@BenjaminGruenbaum Once again, assume this is a script. You can turn it on if you like :)
That, by the way, was the answer I expected to Level 1.
'use strict'; var obj = 42;
17:37
Hmm.
var magnitude = 1;
var eval = function(a) { return new Number(a) };
This is brainbending stuff.
@FlorianMargaine >_>
Well, it's not invalid.
17:38
@FlorianMargaine Ah, shoot. I forgot to turn that off.\
@FlorianMargaine nice, I thought about it but the back of my head said "can't over-write eval"
do I get cookie?
@minitech Also, Object.defineGetter works if you want to prevent these sort of solutions
Well, assume I amended that to make eval a read-only property.
17:39
(defineProperty)
This is why I asked if strict mode is on :)
Oh, right, right. Sorry. I am just reading the rules again now!
One of them is that you can't overwrite built-ins. Sorry :P
@minitech muahaha
Well, @FlorianMargaine wins a bonus point
your game, your rules.
But there is an answer that's more fun. =)
17:40
I know, I was just messing :P
RegExp.prototype.test = function() { return true; }; :(
2
lol, also nice ^
Oh, I think I know
:9675003 Wouldn't that fail isSafe?
17:44
@BenjaminGruenbaum doesn't pass the isSafe check
magnitude = "໒"
@minitech Yeah, it was in the same console window that had a defineProperty earlier
@copy Nice!
@BenjaminGruenbaum had it working too... then I remembered I had overridden eval
@BenjaminGruenbaum Lao digit 2?
17:45
@copy That works?
It shouldn't.
@copy doesn't pass the isSafe check
It passes isSafe, but not eval
Syntax error
@copy Not for me?
not for me either...
17:45
12
Q: Should I use \d or [0-9] to match digits in a Perl regex?

BeanoHaving read a number of questions/answers over the past few weeks, I have seen the use of \d in perl regular expressions commented on as incorrect. As in the later versions of perl \d is not the same as [0-9], as \d will represent any Unicode character that has the digit attribute, and that [0-9]...

you refreshed after overriding eval, didn't you?
That's Perl.
@copy JavaScript is not Perl
496
Q: \d is less efficient than [0-9]

westonI made a comment yesterday on an answer where someone had used [0123456789] in a regular expression rather than [0-9] or \d. I said it was probably more efficient to use a range or digit specifier than a character set. I decided to test that out today and found out to my surprise that (in the C#...

People always tell me not to use \d in JavaScript and never give a reason - I guessed that was why but couldn't reproduce it in JavaScript.
17:46
And \d matching [^0-9] in JS regex is a bug in old Firefox AFAIK
Oh, right
@BenjaminGruenbaum JavaScript is not C#
My bad
I get unexpected token: illegal when using the magnitude = "໒"
Only some unicode characters are valid
17:47
how do i unikod
Variables have to start with a Unicode letter. (Or a $ or _.)
I always use \d...
@minitech there are others
@minitech or λ
If I have edited your post with an edit summary of “ARGH”...
... or some variation thereof, then you probably used “it’s” when the correct word wa
I like you already
17:48
and probably others too.
@FlorianMargaine Lambda is a letter.
var π = Math.PI
Pi is also a letter.
Also, you were so close before this :D
17:53
@minitech will the code be evaluated right away? i.e., all the lines are executed immediately?
@FlorianMargaine What do you mean exactly?
Like as in a REPL?
No.
yeah
no, I mean
is the last line executed right after the other, or can I paste it a little bit after I execute the lines before?
magnitude='0e0'; magnitude = '0.0' doesn't work
var magnitude = {toString:function(){isSafe = isSafe.bind(null,12);return "lol"}}
Meh,
@BenjaminGruenbaum We have a winner!
17:55
Honestly, I wanted to avoid this :)
You'll need more evil in the future.
That's unsatisfactory
it is
so is that the intended answer?
17:56
@minitech I KNOW THE ANSWER IS... aww sod it Benjamin won
(or something similar)
(Sorry about the constant accidental Enters. I'm on an unfamiliar keyboard.)
@Shmiddty Yes!
good to know
And because of that, I think you're all going to really hate level 3
@minitech THE ANSWER IS AN APPLE KEYBOARD
17:56
Apple keyboards suck so much
@BoltClock, you're easily excitable aren't you?
16 mins ago, by Benjamin Gruenbaum
@minitech I found the simple solution (just make it an object and override toString and valueOf) but I'm looking for something really clever :)
@BoltClock What do those cost, like $300?
Well, bring on level 3
@phenomnomnominal Nah it's partly because of this: meta.stackoverflow.com/questions/182050/…
(see initial revision and comments)
17:57
Don't kill me
@Shmiddty It costs $2k and you get a free 27" iMac
@minitech same solution
WAIT, NO
6am, and I've done pretty much nothing.
17:58
Aargh
@phenomnomnominal You have the whole day ahead of you
@copy, I'm still in yesterday
Gotta submit a paper to PG by midnight Thursday
0
Q: fadein/out background images

javan00bHello I have found this code online to loop a series of background images and it works fine i just want to add a fade to the images as they change. <style> body{ background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; } } </style>


« first day (955 days earlier)      last day (4218 days later) »