« first day (954 days earlier)      last day (4219 days later) » 

16:00
I think the key is just a string, it's not the actual value.
@Connor I didn't say I liked it!
@loading... i didn't say you did
0
Q: Web Marketing - examples of campaigns

PuppamilafIf you have 1000$ to spend in web-marketing, which tools/strategies and where do you will spend them for your campaign? I would like to start my website campaign and the 1000$ are just an example. Thanks

but it seems you already have asked.
@GNi33 Whether you want to actually be a room owner\
so why ask where to ask when you already found the place to ask o_O
i hate you.
now be prepared for both to be closed
they are both bad questions
0
Q: Web marketing with TV channels

PuppamilafI always wondered if TV channels are good for website marketing. I don't see many websites using TV channels for marketing, are them nocive? Or is there some better reason why they not used so much?

no because they have no definitive answer
you are not asking for fact, you are asking for opinions and research.
16:11
Also , you don't have 1000$ for advertising, you're 13
:)
you don't ask on the main sites. you google it, read testimonials, try to find metrics, check out who other more notable sites advertise through. etc.
your 'ground work' seems to be 'ask SE/SO to do it for me'
I just had a week long insane coding spree :)
@badbetonbreakbutbedbackbone then get better at google.
@okok , you don't have 1000$ or a website, so there is no context, without one it's impossible to answer your question
the information is out there, and if you believe it is not: what is the point of asking someone else to find it for you.
also, what @BenjaminGruenbaum said. without knowing target audience, what your selling / service your offering or your overall demographics the question is unanswerable.
I wouldn't recommend the same tools / avenues for a porn site as I would for a programming site (albeit they might show up on the same targeted ads for certain devs)
there is no 'best'
it's subjective
I might have luck with google adwords, someone else might have more luck with facebook
it all depends on the demographic you are targeting
16:16
welcome to marketing, where unicorns are real and rlemon is a real lemon
lol
lol, you have no idea what you are doing
what does your site do
yeah, you have no idea with you are doing
@badbetonbreakbutbedbackbone read up some introduction on marketing please
I DON'T GIVE A SHIT ABOUT YOUR MOTHER! IN FACT I LOATH HER FOR CREATING YOU!
you ask for help, we tell you you need to define your audience before we can help, you say if we help you'll define your audience.
25 messages moved to Trash can
gone
no more help for you
@FlorianMargaine do you even used web-marketing?
@rlemon don't be mean
16:19
@badbetonbreakbutbedbackbone it used to be my job
@rlemon keep calm for 1 time :P
no, I try to help and he plays his stupid games
he's past polite from me
@okok stop acting stupid and listen to rlemon
@GustavoS.Rodrigues 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.
and I keep trying to help to give him the benefit of the doubt that he'll change
I have absolutely no patience for him anymore.
16:20
@BenjaminGruenbaum i changed nick anyway yep np about that i'm keeping slow :)
@FlorianMargaine do you have any use cases to share with me? :)
without knowing your target demographic this question is too broad. Money and tools for marketing needs to be thought out dependent on the people you are targeting for your product/services. — rlemon 5 secs ago
^ this
some tip you learned anything will be really really appriciated :P
if you cannot provide us with this information than no one can help you
@badbetonbreakbutbedbackbone nope. Go learn proper marketing, like everybody else
@FlorianMargaine oh sure, just courious :(
16:22
@rlemon , okok is 13, you're arguing with someone who hasn't started high school yet...
guess what: it takes time.
it's not just a tip
it won't help you
it takes time to learn marketing
there's no shortcut
He wasn't even born when Pokemon came out
just like everything else
16:22
lol @BenjaminGruenbaum seriously? :D i guess nope :P
@BenjaminGruenbaum omg
... that's true.
the sooner he stops being a little shit the sooner he can join the real world. I wasn't this bad when I was his age. I mean I was a little shit, but when someone was helping I wouldn't fuck with them constantly.
@FlorianMargaine ok ok np :))
@FlorianMargaine which book you red? :P
how do you started ?
school
I had a course in marketing
oh understood , are online courses good ?
16:24
@rlemon , this is more about helping you , you could have built something cool, or masterbated instead of arguing with him
+ job at the same time where I was trained for that
dunno, it was part of my degree.
@BenjaminGruenbaum my back hurts. I can only focus on rage until I get my painkillers
then I'll be happier.
until then, patience === 0, stupid trolling when we're trying to help for once === insta-rage
deleted questions thanks :)
@rlemon , You were an outstanding 13 year old :)
16:26
I was :)
@rlemon hey dude keep calm, sometimes it's hard for me to write what i think in italian to english you could misunderstood my friendness
!!/slidepoop
Mar 13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
friendness? :U how do you say i nenglish when someone want to be friendly? :/
Outstanding.
:)
16:27
@badbetonbreakbutbedbackbone no. this is not a language barrier. This is us saying "you need to do ABC" and you saying "fuck ABC, I wanna DEF. Tell me how to DEF!"
oh oh well if i can had experienced tips it's a pleasure why i can't aks for them ? :U
protip: when you come in here and ask for advice / help - and three people tell you to do something - do it. don't argue with us.
then sure i'll doc by myself was only to ask you
^ there is your tip
16:28
you want a marketing tip? here is my tip: go on google and read everything there is to read on SEO and marketing
but please i do that, you should keep more calm talking with me there is no reason to bring fights :U
Hi guys, has anyone got any experience with writing HTML5 games? I'm looking into how to setup my game loop, so I've looked at setInterval, setTimeout and requestAnimationFrame. It looks like requestAnimationFrame is the way to go but I'm wondering whether I want to put both my update() and draw() functions in there or just the draw() function?
it's like sales. there are a million ways to do it and none of them are right or wrong
@Sean , plenty of experts here on those :)
i already good on SEO and adv online tools such as fb or google adwords just i need to focuse and find my good way
16:29
@BenjaminGruenbaum I figured as much ;D
but i also know there are tons of adv services
so i was asking if someone has some use case to share :U
function run() {
  update();
  draw();
  requestAnimationFrame(run);
}
really, it depends on how your updates are run
this will force update on each draw. if you need slower or more controlled updates then I would still use requestAnimFrame but surround the updates in a timed check
I'd disagree
@rlemon Great, thanks. I was looking at nczonline.net/blog/2011/05/03/… and it looks very similar to XNA with their gameTime parameter. It would be nice to know when my next frame is going to be run or at least how much time passed since I last drew to the canvas
It's reqAnimFrame, so just the animation related functions
16:32
@AmaanCheval I was thinking that with the name too, whether I should really be using it for updating
@AmaanCheval eh, but if we assume our game is functioning between 30-60 fps why run a second timer
why not just check for the update() time in the animation loop?
delta time that shiznat!
@FlorianMargaine did you ever used adRoll?
XNA just did update(); draw(); in the same call but that was straight to the CPU (sort of...) but this is browsers we're talking about
@AmaanCheval yea I get that point, and I personally agree with it (conceptually)
however most games will not be playable at low FPS - and with a small delta time calculation you can do it all in the one animation loop
I agree it's not perfect, but I don't see any serious repercussions.
16:34
@Sean , the important thing is that calculations and drawing are completely separate. Code, then weight the alternatives when you have actual profiling of the time it takes each to execute
@FlorianMargaine which is a daily money quota to use with google adv or fb adv? do you even know? :P
!!/google facebook ads daily limit
why don't you look for yourself man.
I hate to always be picking on you.. but shit
@BenjaminGruenbaum Yaaaay JS profiling... >_< I can't remember exactly how XNA did it now
16:36
Update too, shouldn't be one function, some calculations are reactive Nd need to be performed often (hitting a wall) and some are proactive like the AI figuring out what to do
JS profiling is extremely easy in chrome
@rlemon i'm asking Florian if he wants to share with me how many money a day you should spend for the campaign i already now what is it :P
> which is a daily money quota to use with google adv or fb adv? do you even know? :P
that is not what you asked
you asked what it is
cause of my bad english once more :/ sorry
back on ignore. I'm too irritated, i'll just end up insulting him more.
@BenjaminGruenbaum Yeah that's something I'd not really taken into account... Anyway thanks a lot guys (@rlemon @AmaanCheval too) =]
16:38
problem is i know lot of english words but sometimes i don't know how to join them togheter :D really
AND.. i'm out of coffee. fucking great.
eheh np man ! enjoy coffee !
@Sean hehe, tbh i'm in the middle of re-vamping my game code as well. so it's learning for all!
@Sean , me rlemon and Amaan are some of the less experienced here in JS games, you might want to ask here again in a few hours, when people like @Lotkar might be around :) Good luck
@BenjaminGruenbaum melon.js ? :D
16:41
Well thanks for the ideas anyway, at least within the context of a browser I have the option of running a few different update/draw loops, it's not quite that easy in native games development, I've still got to get to the part where they stop sissying about teaching you how to debug code and actually explain how it all works though =\
@okok , you're being annoying now.
why ? :O uffff ok i'm out hurted :(
@Sean , good luck!
16:42
@BenjaminGruenbaum Thanks ^_^
@verism 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.
@BenjaminGruenbaum lol Amaan makes js games for a living doesn't he?
I think he's (probably) getting up there with Loke and Simon
Lol, I didn't know that, sorry ^_^
I could be wrong, but i'm pretty sure thats what he does
maybe it is flash and not html5
??
@AmaanCheval ??
16:57
I was reading Javascript 101 on Jquery.com when i came across this ..

// Each function executed within the loop will reference
// the last value stored in i (5).
// This won't behave as we want it to - every 100 milliseconds, 5 will alert
for ( var i = 0; i < 5; i++ ) {
setTimeout(function() {
alert( i );
}, i * 100 );
}

the result of this be 5 every time instead of 0,1,2,3,4,5. It says that i am supposed to pass it as a function like ... setTimeout( createFunction( i ), i * 100 );
Why exactly does this happen?
Closure scope :)
Read the "how do JavaScript closures work" question in stackoverlow
@BenjaminGruenbaum ok
Anyone here heard of HackReactor?
for ( var i = 0; i < 5; i++ ) {
  setTimeout(function(i) {
    alert( i );
  }(i), i * 100 );
}
@BenjaminGruenbaum whats the compatibility with this solution ^
IE8+ ?
17:11
I'm on mobile. Wouldn't that just alert immediately?
Or did you mean to use bind?
@Zirak dammit. sorry, today is a pretty stressful day at the office. Well, do you guys want to decrease the number of owners? I do "moderator-tasks" every once in a while when I feel it to be necessary, mostly binning spam and clearing the star-list when not too many of the other regulars are around, and the "see deleted messages" - feature is just really awesome. I do see that there are a lot of people in the room that deserve the room-owner - status a lot more than I do though.
Why does the number of room owners even matter?
So I'll just leave the decision up to you guys
Especially since I think gallery mode is pretty much off the table
@rlemon I think there's meant to be an outer (function(i){...}(i)) around the setTimeout.
17:14
no that is a IIFE
Oh, then I'm not sure what you mean.
@BenjaminGruenbaum no, it's not IIFE
You're just passing undefined to the setTimrout
let me test
@BenjaminGruenbaum It's not off the table, just will only be turned on when we need it
17:15
yea nvm
it is immediate
I don't care about the number of room owners, just the quality of those who are.
I actually like the fact room owner abilities are somewhat limited
Yea, it's not so much the number, rather that "being a regular" seems to be the only criteria to being an owner.
I mean fuck... we made Neal an owner.
Not anymore though
so far I haven't seen anyone really abuse their powers but still. there should be some criteria past just being a regular.
imo
17:17
I agree
You have to be a regular and a non-dick.
and at the moment that appears to be the only criteria. (that I see anyways)
Is this a wise place for a javascript idiot to lurk & learn?
However, I have no battery
well, don't-be-a-dick is more a life philosophy we like to abide by .
17:18
@verism , sure
@verism yes
You can lose your powers. I think that's enough deterrent
@verism Yep! We don't mind dumb questions so long as you show a willingness to learn
i.e., don't argue with expert answers
lurk mode on
And google questions before you ask here
I argue with expert answers
17:18
also, we don't claim to be experts. but if three of us agree, it's probably right.
@BenjaminGruenbaum You're an expert, so you get to do that.
I am expert googler
I'm not an expert, so I don't argue with expert answers. I do ask for clarification.
I can make that claim
I'm just a guy who likes to mess with my computer :)
17:19
@rlemon Prove your expertness: What song did I cover in my high school's talent show?
i saw earlier somebody unwilling to accept some clearly more experienced answers
baffling
I am also a Mater Baiter ;)
@SomeKittens Barbie Girl
@verism I like you already. Do you have a GitHub?
17:20
Battery dead, bais
@SomeKittens Ice Ice Baby (please let this be it. This is what I did to win my jr. high talent show)
nope, nope.
@SomeKittens - no i'm really new to coding. github is my next thing to get my head around
Friday?
c'mon, it's not that hard
@rlemon That came out two years after I graduated from HS
17:21
ha, no. just unfamiliar
@verism Sweet. It's an incredibly useful thing
@SomeKittens je t'aime, moi non plus?
@SomeKittens umm. did you rickroll your school?
@rlemon Yes, several times, but not at the talent school
@SomeKittens did you move to SF?
17:22
Enter Sandman?
@GNi33 Correct! Two internet cookies for you!
Battery?
@BadgerGirl Yeah, two weeks ago
Battery would have been better
or Master of Puppets.
does anyone know a trick to open multiple tabs? with js
ohhh... now I wanna listen to that
!!/youtube Metallica Master of Puppets
Cool, copy and I will crash your couch in two months. Be ready.
17:23
@SomeKittens haha, i love the name of the band! :D
@BadgerGirl Hopefully I'll have a couch in two months
lol
no one wants to sleep on my couch :(
@GNi33 I kid you not, the whole thing started when someone said "Squirrels in a Blender would be a good name for a band"
I walk in my sleep OK! I wasn't standing over you at 2am on purpose!
@SomeKittens it is an awesome name, indeed
17:25
aww, you did a cover. :(
ugh, I gotta go home and drug up and lay down.
fuck backs man...
user1125394
why those 3 flash refresh when you enter?
user1125394
anyway try that cs.toronto.edu/~ilya/…
@rlemon Man, I remember when that came out. I was well into Metallica way back when.
@rlemon Meh, I should come visit you.
user1125394
17:30
> Rlemon is a short for "Twister of the Sunset" USS "Horns Report", "Spri
@SomeKittens this was my mediocre take on being in a band -> facebook.com/photo.php?v=3454931292343 (not sure if you can access it)
@GNi33 can't see it...
well, probably a good thing anyhow :D
People, i have a problem, i am working on like a store thing, and making a feature so that you can select multiple products then open them all in new tabs, at the moment i have only managed to open one tab, do you know if this is possible, even if there is a "hacky" :\ way to do it?
What is your target?
17:36
_BLANK
try lowercase
ok
ok, i have got them all open, but one opens in a new tab and the rest open in new windows?
user1125394
@Connor this is like a spam attack, but..
@xcx no it is not
@xcx there is a button that says "OPEN ALL IN TABS"
@JanDvorak this is all im using
17:38
and calling it in a for loop
function newTab(url){
  var something = window.open(url, '_blank');
  window.focus();
}
does it not depend on how the user has configured their browser?
@verism Yeah, that's what it says on the MDN page.
ah - hadn't got that far
still, would be a nice feature
Mozilla says it should never happen
too many opportunities for spammyness
17:41
@Connor There's nothing stopping you creating your own tabs on your web page however.
user1125394
@Connor I mean that's already so hard to limit nb of tabs opened
@SomeKittens - fair point. But used responsibly it could be useful - perhaps with an "are you sure?" dialog box to precede...
spammers gonna spam - it's easy enough to avoid those sites
Sadly, there's a lot of neat things that won't work because they'll be abused.
@verism Yeah, those sites are pretty obvious. Here's a neat field guide to spotting spammers/scammers like that
@SomeKittens i understand why its hard, but i have managed to open them all, but only the first one opens in a new tab
It's easy enough to generate your own list of links (or tabs) in your web page however. You can have exactly the UI that you want (well, within reason).
user1125394
17:47
just do a add to my basket, more profitable for u
@xcx that's not the plan
@SomeKittens - link doesn't work
hi guys
@verism It works for me...
@Amitd hi
17:49
how to center div background around a point?
like google maps center functionality
*shakes fist
wow man
element = document.getElementById key.username
if not element or element is not key.username
it was that simple the whole time
ok then, i have a idea, is it possible to focus back on the original tab after i open a new one?
@verism and now we know that those sites aren't easy to avoid.
17:50
@Amitd a point?
check the fiddle
a point on the div
@Amitd wheres the point?
div background pans..
inside the div?
a niche example, but point taken
@Connor Why does it have to be a browser tab? You don't have control over all browsers out there. But you do have control over how your page displays. Just make the tabs appear within your page.
17:52
Mhmm, there's already an app with the feature I wanted to build. :/
user1125394
@Amitd what's the absolute reference?
@loading... because new windows are more spammy, and you mean IFRAMES?
Ah, that feature is only for premium users.
@xcx hmm didnt get what u mean?
@Amitd does 'background:url('myimage.jpg') center center;' help?
:9652516 background:url('myimage.jpg') center center;
17:53
Meh, I'm going to write that app for Firefox OS.
@Connor no that will center the image in the div?
@Amitd ok so where do you want the image to be?
i want to center the viewport around a point
@Connor meaning?
user1125394
@Amitd what if the bg can't fit in the window, after that change?
@Amitd what is "point"?
17:56
in the fiddle, jsfiddle.net/q6r8f/163 the div background pans.. on the div i have some points.. eg: rooms... when i click name of the room, the room should be center in the viewport
@Connor Umm, no. This is the first hit for 'html tabs': stackoverflow.com/questions/1027663/…
room will be a location within the image..
something similar to how google maps centers the map around a point
@loading... ok you mean like, tabbed content?
@loading... so will still contain a IFRAME
@loading... i may just have to stick with new windows, but tabs would be better
17:59
It doesn't have to.
@loading... ajax
You can either use xhr to update the current page.
right
@loading... hmmm

« first day (954 days earlier)      last day (4219 days later) »