« first day (783 days earlier)      last day (4166 days later) » 

8:17 PM
hi guys, ... im trying to load this js into my code but its coming up with a santax error
$(document).ready(function() {
$("h1, h2").on('click', function (e) {
e.preventDefault();
$(this).effect( "bounce", { times : 2, direction : "down", distance : "3" }, 200)
});
 
@Zirak you're actually polling for chat messages? Talking about the bot obviously.
 
lol
ive posted this as a question @OctavianDamiean see if anyone can point me in the right direction
 
@KirstyHarris I'm sorry, I refuse to support jQuery UI.
 
ok hun, no worries :(
 
Nothing personal.
 
8:27 PM
it works on the fiddle i did, its just my script within it is failing and not sure why :S... hey ho. No its fine, understandable
end of the day im a newbie, trying to learn this stuff, and this is something i liked lol
its only something dead simple like lol
 
However, if you link me to your fiddle I might take a look.
 
But before that, yeah, it polled
 
its ok @OctavianDamiean.. was me being a spoon and not closing the js properly ha
its only this thou });
 
I hate it when I turn into a spoon
 
lol ive been a spoon all week, its called cold/cough brain
 
8:31 PM
@Zirak Ouh, right! I forgot that the chat was using web sockets ...
 
i had only missed off the }); at the end of the script
 
I was thinking about using mutation observers to get the last chat message for my script.
 
ooo that sounds quirky
 
I did that initially too. Too much of a pain.
 
Yea, those things ... I don't like 'em.
 
8:32 PM
btw if my gravatar aint showing on here, but it is on gravatar... who do i kick ?
as its been over 3 weeks and im sick of being a purple square
 
@KirstyHarris Are you sure it is the same email address you're using on StackExchange?
 
hmmmm thats a point
 
That's the entire idea behind Gravatar, they link the images to your email address.
 
oh right ha!
i think i have used the same email on both
 
8:35 PM
The image is set as default and you made sure not to G-rate it or something?
 
YAY!
well its worked somewhere else... erm
i changed my email and it changed it on some profille :S
profile*
 
Press the up arrow to edit your last message
 
ah ok, sorry, how long does it take to flow through to chat though? as its on my profile
 
The best part about being the "fill in" IT guy at my work is I get to make ALL hardware purchases and I get to build all of the pcs and servers. There is just so much satisfaction when buying a couple thousands of $$ worth of hardware, putting it all together, and having it work!
@KirstyHarris shows up on your profile
 
ah its just being idiotic on chat then
finally i aint a purple square!
 
8:38 PM
...And the first thing you do if it's not updated initially?
 
give it another 24 hours - or go update gravatar again.
 
ok, will do, thanks @rlemon
 
I am here to serve
 
@rlemon I know right? The smell of fresh hardware is just awesome, innit?
 
Now your avatar should appear.
 
8:39 PM
Yup, it does.
 
@ThiefMaster comes and saves the day!
 
:D
yay!
well it aint done it on mine yet... but hey, at least ppl can see im not a bloody bloke!
 
@OctavianDamiean OMG it's so much fun! seeding cpus arouses me... I can't be the only one can I?
@KirstyHarris F5
 
might have to leave this channel and rejoin for it to show up here, too
 
8:40 PM
woooooo!
 
@KirstyHarris Hit Shift + F5
 
@rlemon I've got a new mobo/CPU/RAM coming in tomorrow. So excited!
 
yep done, its worked...
 
@SomeKittens nice.
 
@OctavianDamiean: i think you mean ctrl+f5, don't you?
 
8:40 PM
and rlemon aint that confusing your getting aroused over that?
 
this week was a small server, a new workstation for one of the engineers, and re-purposing an old laptop with some new parts.
 
@SomeKittens Which ones?
 
next week it is the presidents PC and he is... well.. lets just say he wants a bad-ass rig. I'm rather excited to go out and buy this
 
@ThiefMaster Whoops, yea. :D
 
ASUS Mobo, 6-core FX 3.3GHz, 16GB RAM (4x my old PC)
 
8:42 PM
@KirstyHarris if you don't get a tingly feeling in your underpants when seeding a new CPU or installing some new RAM you cannot in good faith call yourself a nerd.
 
@SomeKittens FX? That must have cost some serious money.
 
hmmm ok, im not as nerdy as i thought.....
 
@SomeKittens Wow, nice
 
also, if when booting a pc up for the first time you don't hold your breath and cross your fingers... you are also not nerdy enough.
 
Girls can't be nerds. They have girl-germs.
4
 
8:43 PM
:O
 
@rlemon Every time I build a new rig. :D
 
and boys dont eh ? @Zirak
 
hehe @OctavianDamiean I seem to be building them every month or two now
 
A nerd girl would surely not wear that kind of sunglasses :P
 
@rlemon Lucky you.
 
8:44 PM
No. That's why they call them "girl germs". Because they appear on girls. Duh.
 
well, would be nicer if they were take home pc's
 
lol... u have a point there @ThiefMaster
 
(I won't understand why so many girls are into oversized sunglasses anyway... especially when the sun isn't shining at all.)
 
lol it was taken in summer lol... :P
 
@ThiefMaster then take 35 minutes to do eye makeup for underneath them
 
8:44 PM
Excuses excuses
 
And WTF, your photo in 16x16 viewed from some distance looks a bit like a 3-legged swastika
 
@ThiefMaster Because they don't protect only your eyes but the rest of your face as well. :D
 
@ThiefMaster wat.
 
lol actually it can take me longer XD
i use them to girl spy ;)
nothing better than eyein up fitties behind dark specs ;)
 
logic: Spend $60 and an hour doing my makeup only to cover my face with sun glasses that are 9 times the useful size.... indoors.... at 8pm .... :P
 
8:46 PM
@KirstyHarris NOTHING better?
 
lol ha!!!
 
You can't find anything better than that?
 
well when you want a bit of eyecandy the glasses are the way forward!
 
@OctavianDamiean ~$100 from NewEgg
 
Especially in Tenerife lol
 
8:46 PM
@KirstyHarris pro tip:
 
woah!
 
@SomeKittens O_O
 
thats awesome
sneaky as hell!..... do you own one ;)
 
Better hide in plain sight with a big camera plus a large white tele lens :P
 
so...this channel isn't really about javascript ;)
 
8:47 PM
@Alan Not usually
 
@KirstyHarris used too. took 3mp images. someone stole it at a party - probably at firs tthought it was really a zippo... I dunno if they were happy or disappointed when they found it was a camera.
 
its me @Alan... i lowered the tone slightly...... @ThiefMaster touche.... i wouldnt mind someone buying me one ha!
 
@Alan It is sometimes. :D
 
I mean, we can't talk about how ASI is the worst thing ever all day
 
I would have actually been gutted!
 
@AmaanCheval > I mean, we can't talk about how ASI jQuery is the worst thing ever all day
 
> The room title is Javascript, which only implies we all have some interest in the language. That does not strictly limit the topic of conversation to Javascript, and often it is not about Javascript. Please do not inturrupt and complain about this, if you have a comment about the language toss it in and if someone is interested they will stop and help.
 
thank you, I couldn't find a link to the rules
wait
 
STOP
 
HAMMERTIME!
 
8:48 PM
ha! i love that bot
 
The rules are a WIP, so they are not complete and subject to change.
 
/slap @alan
 
@OctavianDamiean Fair enough
 
!!/slap Alan
 
@rlemon Command slap does not exist.
 
8:49 PM
wut
 
/pdcc 99999999
 
@rlemon Add the rules to the room description
 
!!/learn slap "$0 JUST GOT SLAPPED!"
 
@rlemon Command slap learned
 
!!/slap Alan
 
8:49 PM
!!/forget slap
 
@rlemon Alan JUST GOT SLAPPED!
@OctavianDamiean Command slap forgotten.
 
!!/ban @OctavianDamiean
 
fightttttttt
 
@rlemon Cannot mindjail owner 418183.
 
8:50 PM
...bitch.
 
Hahahaha
 
grabs popcorn
 
whoops. soz. I just read the rule about not spamming commands. :(
 
Imma fix your sloppy slap-thingadongs.
 
8:50 PM
 
funky black dude bopping a good movie.... oosh!
 
@Alan read the bottom, the rules are loose guidelines. if you screw up a command it's no biggie. If you just wanna play with the bot there is the chat.stackoverflow.com/rooms/1/sandbox sandbox room.
 
!!/learn slap "$0 got slapped around a bit with a large trout"
 
the bot lives in there as well.
 
@OctavianDamiean Could not process input. Error: Cannot call method 'replace' of undefined
@OctavianDamiean Command slap learned
 
8:51 PM
Idiot iz me
 
!!/forget slap
 
!!/slap OctavianDamiean
 
@rlemon Command slap forgotten.
@OctavianDamiean Command slap does not exist. Did you mean: slap
 
with a large trout hahahahhhahaha!
 
!!/learn slap "@$0 got slapped around a bit with a large trout"
 
8:52 PM
@rlemon Command slap learned
 
!!/slap OctavianDamiean
 
@rlemon @OctavianDamiean got slapped around a bit with a large trout
 
BIATCH!
 
@OctavianDamiean had to add a @ so it slapped them
 
that is just too funny
its like watching a married couple have a dingaling
 
8:52 PM
so mods can teach commands to chat bot. this is like IRC on steriods
 
@KirstyHarris Nudge registered.
 
@Alan We ain't mods, we just like to pretend we are.
 
!!/tell Alan help
 
Anyone can learn commands to the bot
 
8:54 PM
anyone can teach it commands. The room owners are all bot owners as well. We can do a few things other users cannot like ban people from the bot or kill the bot and refresh the bot etc...
 
and the bot is just a browser running on someone's computer
 
!!/ban Alan
 
@rlemon User 37843 added to mindjail.
 
oooooo!
 
@Alan now you cannot use the bot ;)
!!/unban Alan
 
8:54 PM
I WILL RITE MINE OWN. USING JSCRIPT
 
@rlemon User 37843 freed from mindjail.
@KirstyHarris nudge SURPRISE!!!!!!!!!!!!!!!!
 
@Alan and it likely won't work :P
 
hahaha!
 
@Alan DO IT WITH A JQUERY PLUGIN!
 
unless you are running IE5
(which I am)
 
8:55 PM
s/IE5/IE{0-9}+/
 
!!/Spoon
 
@KirstyHarris Command spoon does not exist.
 
!!/listcommands
 
how u learn the bot something lol
 
@rlemon Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, learn, nudge, ring, roll, spec, stat, todo, undo, slap
 
8:56 PM
╬/listcommands
 
!!/roll 2 10
 
@KyleTrauberman Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, learn, nudge, ring, roll, spec, stat, todo, undo
 
@Alan Invalid /roll argument; use /help roll for help
 
so we managed to kill the bot in sandbox
 
@Alan => NaN
 
8:56 PM
SO ChatBot?
 
like @..... is stirring shit with a big spoon.... that would be funny
 
impossibru
 
no, my bot
well, ziraks bot running as me
 
@rlemon There's IE 0? What could it do? Display a static HTML saying "We're sorry, the next version will work, promise! <puppy-eyes>"?
 
@KyleTrauberman How?
 
8:57 PM
do you have the latest fixes ?
 
i'm using the bookmarklet
 
@OctavianDamiean isn't that every release?
hrmm, how did you break it?
 
Mhmm, could be. :D
 
well, we didin't technically break it
 
did you refresh it and now it takes 15 minutes before commands are parsed
 
8:57 PM
they just managed to execute some js on it that put me in an infinte loop
and spammed the room
 
eval('var i = 0; while (i < 1) { console.log(i); }')
 
this: ╬>for(var i=0;i<99999;i++){console.log(i);}
 
@KyleTrauberman Am I missing something? What's infinite about that loop?
 
posted on December 07, 2012 by Victor Rodriguez

Golden Spike to Offer Commercial Human Missions to the Moon Voyager 1 Tastes Interstellar Space Opportunity Rover Glimpses Conditions Suitable for Life Cold War-era U.S. plan to bomb the moon with a nuclear bomb revealed Common Physics Misconceptions - YouTube

 
9:00 PM
in Sandbox, 9 mins ago, by Shaquin Trifonoff
╬>while(1){}
I think it was that
 
@KyleTrauberman That shouldn't cause it to spam; it either just gives you the long log, or tells you the maximum execution time exceeded.
@AmaanCheval Interesting. Shouldn't cause that as well
 
I know
It should just throw the maximum execution time bullshit
 
@OctavianDamiean He basically kept editing it making it look like he broke the bot
Because the bot kept replying to the edits
 
9:03 PM
My bot doesn't do that.
It does however have an infinite loop.
But it can't be exploited :)
 
@KendallFrey Infinite loop?
 
What's the fun of something which can't be exploited?
 
Yup, it relies to its own messages.
 
Nice
 
My coffee never stays hot... :(
 
9:08 PM
I created an entire scripting language to help design systems for tracking caffeinated beverages. Sadly, the name was grossly misunderstood.
 
lol
 
Could anyone please tell me if you think this question is clear enough?
0
Q: Chrome extension should only work on domain and no other subdirectory, exlude_matches not working when not realoading page

TrufaI'm developing a chrome extension that works on twitter. I only wanted it to work on https://twitter.com and NOT in any other subdirectory. So now I have 2 problems: 1) how do I exclude any subdirectory, read: nothing but http://twitter.com should work, that is https://twitter.com/i/connect, ...

Or should I explain further?
 
Your avatar is too distracting.
 
On my screen, the bird's glaring at "twitter.com"
 
9:23 PM
stop looking at me bird!
ahh.. thats better
 
Interesting, there's no printing support for W3C standards, not even for final recommendations. Well done there.
 
That explains it. ^
 
mysql cli @FlorianMargaine I know you use this.
create database dbname;
is this correct?
 
@KendallFrey jaja that could be the problem
 
!!/define jaja
 
9:37 PM
@rlemon jaja: A former slave, he became an important trader in Bonny in the 1860s as a middleman between the coastal markets and the Nigerian interior. (source)
 
Spanish haha
 
now i'm confused :s
but..... the rest of the sentence is in english
 
Or German "yes, yes"
 
@copy cześć, how are you today?
^ mixing random languages is not fun
 
Je agree
 
9:40 PM
Hello, can anyone advice me to how to give fallback behaviour if javascript is disabled in a browser to support an application that is built using single page application architecture using knockout.js(mvvm), sammy.js (for navigation) stackoverflow.com/q/13770841/1211329
 
@SidP you give them a noscript telling them js is required
<noscript><p><strong>DUDE!</strong> It is 2012. Turn on fucking javascript! ... douch</p><style>#page{display: none;}</style></noscript>
<div id="page">
<!-- page contents -->
</div>
 
actually I need a fallback behaviour and can't show this message instead need to show a website which then also works...I got what you mean...
your message is funny :)
@rlemon m using asp.net mvc at server side.
 
ok,

in the head <meta http-equiv="refresh" content="1" id="refresh">

and also in the head
<script>
var r = document.getElementById('refresh');
r.parentNode.removeChild(r); // meta refresh that is removed in JS... therefore if JS is disabled the page will refresh. iirc you can navigate to a new page with meta tags as well.
</script>
make sense?
 
@rlemon yeah that is a great solution and to only load other scripts if js is enabled
yup
I really want my team members to work on SPA concept but client want fallback if JS is disabled...they are also concerned about SEO
also we want to interact through a web service which will be used by javascript using microsoft's web api...so if javascript is disabled that won't work anyway...the solution I can found is to write code to call those services two times...any other solution?
 
you do realize that less than 2% of all desktops are without js. and 90% of those are disabled by choice. so you're looking at .002% of all desktops that cannot run the scripts.
often it will suffice just leaving them a message saying to enable js or view from a js enabled browser.
 
9:51 PM
yeah we have told our client to show this message but they said to show this message but also a asp.net mvc based website which working even in js is not there
do you have any idea for SEO and not to write the code two times as if JS is present, JS will make those service call to push/pull data to view and model, if not, then normal submit button needs to behave to go to server and then work...
 
@SidP ok, well no other solution other than say screw you to the client and give them the following information:
you will now spend ~40% of your time and their money on supporting less than ~1% of the potential client base.

most clients I have worked with understand metrics like this. They'll be paying hundreds if not thousands of dollars supporting like 3 people
 
@rlemon @copy is in fact correct, I just put jaja because of muscle memory
 
with that said: Progressive Enhancements / Graceful Degradation is always something you should practice. Unless you are writing a web "app" that requires heavy js, your pages should be written first with no CSS or JS... then you spice them up with CSS and JS.. however basic HTML pages should still 100% function.
 
@riemon your statistics are somewhat correct and learnt a message to convey to my client ;)
 
This is a really good video on the subject
I suggest you take a few minutes and watch it, or at least listen to it while slapping at the keyboard :P
 
9:55 PM
thanks for the video. i will watch it now..
do u suggest to make a spa for a website that has user journey of 5 steps to buy an insurance?
 
Warning: he tries to be funny a few times. Comedy is not his strong suit. :P You have been warned.
I often don't suggest a single page layout. but that seems to be what clients want now-a-days
why load 6 pages or whatever if I only care about one.
but, less clicks for the client are important. If I can click once to sign up or register then I am a happy customer.
Wizards are so 90's
 
yeah thats true
I have gone through early videos by john papa for SPA
 
anyways, quittin time. i'll be on after I get home :P (I'm that addicted to this chat)
 
no worries..thanks a lot for ur support
 
@SidP remember with spa you do have a lot of SEO concerns... landing pages are now dictated by anchors and url hashes
it is not congruous with good design.
 
9:58 PM
yeah dats another question to my team and client..
 
however it does look good.... so yea.
one day browsers / spiders might be smart with SPA but at the moment there are some caveats to them
if you are using jQuery I had once written a cool little script that loads pages in above and below the landing page dependent on which landing page was selected.
 
wow great
 

« first day (783 days earlier)      last day (4166 days later) »