« first day (478 days earlier)      last day (4471 days later) » 

3:00 PM
:-(
@JohnMerlino and this form is created on a post...
Here is the form: pastebin.com/tEAGEZbM
:-\
 
I had similar issue and I used e.preventDefault()
 
@JohnMerlino but I have nothing actioning on those checkboxes!
 
CSS ?
Are your sure there is no elements positionning over your checkbox ?
 
Line 7 in the first linked file
otherCheckboxes.prop('checked', this.checked);
 
@Zirak oy.... that has nothing to do with this form
@Zirak this form is from line 21
 
3:04 PM
how to apply foreach for jquery matched elements ?
 
@DieVarDump I am sure.. i can see that the checkbox is focused, but it just doesnt click!
 
$('div').forEach(function(elem) { console.log(elem) });
 
Hallo
I need some help with copying and pasting
 
hi
 
well just copying
 
3:05 PM
@jurka I did that. and its each not foreach
 
ok
 
$('input[name^="kill"]').each(function(){
    console.log(this, this.value, this.checked);
});
<input type=​"checkbox" value=​"2995" name=​"killP[st-ny01-lamp01]​[]​">​
 "2995" false
<input type=​"checkbox" value=​"16975" name=​"killP[st-ny01-lamp01]​[]​">​
 "16975" false
<input type=​"checkbox" value=​"16976" name=​"killP[st-ny01-lamp01]​[]​">​
 "16976" false
 
@Neal Inspect all the event handlers attached (chrome dev tools has that option)
 
I did that in the console...
@Zirak I did!
there are NONE
 
@jurka jQuery provides an each, which acts kinda like but not compatible with Array.prototype.forEach. You can do [].forEach.call( jqueryObject, callback )
 
3:07 PM
:-(
 
!!/tell jurka jquery each
 
idk what to do :-(
ive tried ina few browsers, all the same result...
 
0
Q: Javascript Calculator and WP shortcode are driving me crazy. The sum is not showing

McNamaraILThe scenario is like this: I have created a js calculator that calculates values from check boxes similar to this: <script> calculate = function(totalElement) { if (totalElement) { var calculation = ''; var overall = ''; var fields = new A...

 
Thats what the form looks like
:-(
if that helps at all...
 
@Neal What about the parents? If the event bubbles, the parent elements can also call e.preventDefault
 
3:09 PM
with only images it will be difficult... a fiddle ?
 
@Zirak Nothing anywhere. only the javascript I have provided, and that is on previous stuff
 
If nothing of that sort, you can try the old fashioned way...cut away pieces until it works
 
@DieVarDump I can't make a fiddle..
@Zirak tried. failed...
idk
 
So without any js or css, it doesn't work?
 
does the jquery has some scrollTo methods or do i have to use plugin ?
 
3:10 PM
@Zirak lol i need the js or else i cant get the popup, but one sec
 
display:block
you don't need js to show an html element.
 
hmmmm without any css or js it works.
 
!!/tell jurka jquery scrollTo
 
That makes me cry :-/
 
3:11 PM
 
 
@Neal Try cutting only one, see which one is guilty
 
odd....
 
It'd have been infinitely odder if the html was at fault
 
@Zirak that's plugin external plugin ?
 
3:13 PM
but i need the js or else i cant create the popup
 
@jurka Part of the default api
@Neal If it's js' fault, you can debug, see what causes the bug, and fix it
 
Neal... go firebug, right click on the element " copy html code "
past it into your html file and try to cut css
( a popin is a html element... you can force it to be shown without js... )
 
My guess is an errand return false
 
@Zirak I t seems to be a css issue oddly, when there is no css it works fine...
hmmm
 
overflow ?
 
3:17 PM
but the checkboxes that re not in the jQuery dialog work fine...
 
Then you can now debug the problem. Comment css parts which affect the faulty elements, see when it works again
 
@Zirak but why would checkboxes outside of the dialog work fine?
 
You didn't mention jQuery UI :P
It's probably their fault.
 
lol
 
@Zirak nope, when I just have thejQueryUI css, it works fine...
ill try to make a fiddle.
un momento
 
3:19 PM
Then it's a combination of your fault and their fault
 
@Zirak , seems that your crusade against jQuery will never stop ? ^^
 
The fact that jQuery UI is shit is widely known and recognized :P
 
I prefer not know what will happen when someone will come with a MooTools question.
 
un mometo for fiddle
 
If they come with a valid mootools question, nothing, like if someone would come with a valid jQuery question. If just never happens
 
3:22 PM
I love css3 yo!
^ partial completed site
 
Awesome!
 
wondering how good performance is if I gen all the animations using JS and make a small game.
my wife will have the BEST realtor site when Im done dangit! lol
 
hum... depends on browser
 
yeah definitly
what I notice though is css3 anims seem so much smoother than JS ones
 
the clouds animation is not so good in my FF 10. Maybe because of the clouds image size.
 
3:24 PM
lol, saw #cat-pic, was all excited about looking for a cat in the house window or something like that, then saw the name :P
 
ah yeah same here
@Zirak lol
yeah the cloud image is pretty large in terms of dimensions
I just change the background position
 
Are the clouds infinite?
 
rrrrg jsfiddle is going slooow
 
yeah
it just changes the bg position from 0 to the image width, which is like 1200
so they scroll forever
 
ah, nice
 
3:27 PM
I tried doing individual images but theyd scroll off the screen a bit and youd get an ugly horizontal scroll
 
hmmm fiddle isnt working
 
!!give Loktar a lick
 
lol
 
oh, listeners aren't loaded... 1 sec
!!give Loktar a lick
@Zirak Mmmm! Loktar tastes just like raisin
 
lol nice
 
3:30 PM
!!tell me your laws
@Zirak 1)A robot may not injure a human being or, through inaction, allow a human being to come to harm.
2)A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.
3)A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws.
 
@Zirak for some reason it wroks fine here. now going to try with appending the form. jsbin.com/ewamug/3
 
through inaction eh?
so if I try to commit suicide your bot will help me!
 
it the law.
 
div.html(html) eyes darken
According to Asimov, yes
 
I need to read Asimov's stuff
I keep forgetting
 
3:32 PM
It lies deep in the positronic brain of every robot
I, Robot is a collection of nine science fiction short stories by Isaac Asimov, first published by Gnome Press in 1950 in an edition of 5,000 copies. The stories originally appeared in the American magazines Super Science Stories and Astounding Science Fiction between 1940 and 1950. The stories are woven together as Dr. Susan Calvin tells them to a reporter (the narrator) in the 21st century. Though the stories can be read separately, they share a theme of the interaction of humans, robots and morality, and when combined they tell a larger story of Asimov's fictional history of robotics....
 
idk what is going on...
 
Well, every robot made by U.S. Robots and Mechanical Men
 
it works fine in the fiddle
 
You ever watch the new outerlimits (1990's)?
they have a few good robot moral/dilemma episodes that seem to pull strongly from asimov
 
The Outer Limits? I think so
 
3:34 PM
Oh man I love that show so freaking much. Its on hulu as well
 
:-( WHAT IS GOING ON... :-(
boooo
How bout Doctor Who? ^_^
 
Ive only caught a few ep's of it, I hear its great though
 
lol @Neal Ill have to watch it then
esp if I will want to wear a labcoat eventually.
 
3:45 PM
:-)
^_^
 
0
Q: Is this an elegant solution?

Antonfolks, I have posted such question at Stack Overflow but but only one answer was to ask here. My task was to make fade in for elements while scrolling, here is my link - http://layot.prestatrend.com/ I have made it with the help of such jQuery code I've gathered from two sources: <script type...

 
hehe I like Google+
 
how do i check check this in console log in firebug?

console.log($("#container").height());

I open up firebug, i can see console, what else? nothing shows up in there

Any one?
 
@robm have the console open before the log goes, or use chrome ^_^
 
google+ is ok, main problem with it is the lack of users
 
3:48 PM
i also have chrome, where do i check it?
 
yes chrome is better press f12
 
@robm F12
 
@Loktar well as the creator of that Google+ page, I see a lot of people
 
and check in the console tab
 
@jurka or CTRL+SHIFT+C
 
3:49 PM
I mean in comparison to FB, like my friends and such.
Most still use FB :?
 
G+ is the geek social network
At least for me
 
@Loktar yea, but I find alot of G+ much more interesting to read
 
Yeah I agree @Amaan
 
@Amaan :-P u have G+?
 
@Neal ty for shortcut
 
3:49 PM
@Neal Yeah
 
@jurka no problemo
@Amaan following Doctor Who?
 
^_^
 
Hahaha, no
 
booo
 
3:50 PM
Never watched it
 
haha somehow my page has so many people, they actually think i work for the BBC
 
@Neal turn that into a job for the BBC!
 
Uncaught SyntaxError: Unexpected token ILLEGAL
 
@Loktar Lol I like my current job
 
windows.console.log("$("#container").height()");
 
3:53 PM
@robm haha why quotes within quotes?
 
Turn that into a job for me at the BBC! :P
 
just do console.log($('#container').height());
@robm ^^^
 
@robm You need to escape the quotes, or use different quotes
Or, if Neal saw your intention, don't use at all
 
well thisis what i get
Uncaught SyntaxError: Unexpected token )
right so it looks like as i can't do tis
$(window).resize(function() {
console.log($('#container').height());
)};
console is empty if i try that
 
You switched the last } and ) positions
 
3:57 PM
you can add breakboint
 
)};
//=>
});
 
and test also if the event occurs
 
Or, you can, you know, fix that syntax error. Your choice, really. Breakpoints are always good.
 
ahh righ
!!
damn
)}
 
yes first fix syntax error and then look
 
3:58 PM
Because obviously the syntax error has nothing to do with the code not working, must be a coincidence
2
 
@Zirak still have this stupid checkbox issue on my live site...
 
@Neal Link
 
Hi, is anyone working in a team with other programmers?
 
@Zirak Can't its an internal site. all-most of my sites are internal
@JohnShepard ?
 
Then chop away at the css until it works, fix what caused it to now work
 
4:00 PM
I will start working on a project next month and i was wondering what will we use instead of the usual 'localhost'
 
@Zirak rrrg i even did the same thing in a jsbin example and it works fine idk what it is.... :-(
 
Zirak, by switching }) worked.
 
@JohnShepard what does that have to do with working with a team?
 
you can still use localhost >D
 
usually u can use the computer name instead of localhost if you are on the same network
 
4:01 PM
is that easy?
i thought we would need to find some host online
 
Why do you care if it's called localhost or yourauntsbeer?
 
@JohnShepard lol yep
 
for starters, because my aunt is an alcoholic
 
well localhost is a host!
 
haha
ok ok
 
4:03 PM
change in /etc/host 127.0.0.1 facebook.com
hosts
 
so is it easy to config it?
 
@jurka lol don't do that
@JohnShepard no real config needed
as long u are on the same network
 
thanks @neal
 
you could futz with everyone's host file if you really wanted to
 
but, shouldn't we 'share' our htdocs on the net?
I am like jack right now
LOST
 
4:06 PM
@JohnShepard you make things more complicated than they are
what for you need the domain name ?
 
I am a newbie
 
for dev
 
@JohnShepard Will all of you be on the same network?
 
yup, same
 
So you don't need any set up
localhost is 127.0.0.1
 
4:08 PM
ok so typing on the url localhost/mywebsite/main
 
Like 127.0.0.1, if you get another computer's internal IP address, you can access it
Instead of localhost/file.html
 
will access his computer if there is a mywebsite folder in his htdcos?
 
127.0.0.1/file.html works
No no
That will access your own computer
You get that guy's internal IP
 
Which would be something like 192.168.1.3
 
4:09 PM
yea or computer name
 
Yeah, or computer name
 
then type 192.168.1.3/mywebsite
right?
 
192.168.1.3/mywebsite/main
Yeah
 
ok thanks a lot
i really was overcomplicating things
:)
 
and well if no response ping the ip to make sure the connection is up
 
4:10 PM
forgive me for being a noob, but how do you ping an ip?
 
Which OS do you run?
 
win 7
 
It's almost always just ping 192.168.1.3 or whatever the IP address is, in the CLI
Open Command Prompt
Try ping localhost
 
right
 
ping google.com
Blah blah blah
 
4:12 PM
pings support transparency too!
just sayin...
 
ctrl + r (write cmd)
 
@Loktar What?
 
bad joke :? .png
 
4:13 PM
Hahahaha
 
good joke
 
I just didn't get it
 
png = transparency images
as the .png format
 
I got it after he said it!
 
oh ok
just wanted to say something clever after all my dumb questions :)
 
4:14 PM
well the stackoverflow guys need to rewrite this chat to use sockets and nodejs
 
@jurka Not enough support
 
what(?:\'s|\'re|is| )? (?:a|are)? ?([\w\s\-]+)\?? Fun tiem: What is this horridness supposed to match?
 
They're too big to not care about browsers that are just a few versions old
 
ugh regex hurt my brain.. I need to spend more time with them
 
I should comment that before future-me comes back and kicks me in the nuts
 
4:16 PM
regex are like that hot girl fat friend
is everyone thinking about what i just said or did you guys go to the toilet?
 
how to stop the chrome textarea to resize ?
 
The bot should really have a "return first google result for %s" thing...
 
textarea {
resize: none;
}
(in CSS file of course)
 
@JohnShepard Btw, I think you should look into ssh and scp. Helped me learn about networks quite a lot
 
4:22 PM
how ?
 
@amaan where did you read about this?
 
I have no idea
 
@jurka did the css work?
 
I don't remember how
 
4:23 PM
But I used to ssh into computers all the time
So I learnt quite a few things about the command line
 
I will thanks
 
Then I found VNC.
 
what is vnc?
 
It's software to let you remotely use the GUI of a computer
Look it up. Quite popular
 
I still prefer ssh
 
4:24 PM
Me too
 
what does ssh and scp stand for?
 
I use vnc for any windows machine though obv
 
But some things are just easier with VNC
Oh, yeah. Windows sucks
 
is vnc free?
 
Secure Shell (SSH) is a network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers that it connects via a secure channel over an insecure network: a server and a client (running SSH server and SSH client programs, respectively). Network Working Group of the IETF, January 2006, RFC 4252, The Secure Shell (SSH) Authentication Protocol The protocol specification distinguishes two major versions that are referred to as SSH-1 and SSH-2. The best-known application of the protocol is for acc...
 
4:25 PM
openvnc ?
 
nice thanks
 
Yeah, depends on the software, but yeah
 
!!/tell "Jon Shepard" define ssh
 
Secure Copy or SCP is a means of securely transferring computer files between a local and a remote host or between two remote hosts. It is based on the Secure Shell (SSH) protocol. The term SCP can refer to one of two related things, the SCP protocol or the SCP program. SCP protocol The SCP protocol is a network protocol, based on the BSD RCP protocol, which supports file transfers between hosts on a network. SCP uses Secure Shell (SSH) for data transfer and utilizes the same mechanisms for authentication, thereby ensuring the authenticity and confidentiality of the data in transit. ...
 
@Zirak Could not find definition for ne ssh
 
4:25 PM
but the problem is that all the pcs has static ip
 
they do or dont?
 
well, damn :P
 
if they have static thats even better
 
@Zirak Fail XD
 
It's the quotes! I blame the quotes.
 
4:26 PM
@Loktar How do you discover the IP of a computer by just their name?
Through the CLI
 
thats why I prefer static ip's
 
!!/tell Amaan define ssh
 
then I dont need to know the name, I just remember the IP :P
 
@Amaan ssh: SSH provides an encrypted session for transferring files and executing server programs. (source)
 
Me too. I have it set up that way
Ooh
Neat
 
4:27 PM
Ok I will go for vnc
since I am using the crappy win 7
what OS do you have?
 
my friend has a cool setup for his since his ip changes often, it sends updates to his domain
and he just checks that
so like yutt.com(example not real) will report his current ip
so he can ssh into it
 
@Loktar DynDNS?
 
very similiar
but he just has a cron job that runs and updates his db
 
@JohnShepard Linux
Oh
 
4:29 PM
aw win 7 is great actually
my fav windows by far
cant wait for windows 8
 
It is. But they're not nice to CLI users
8 looks great
 
it is better than others, but i dont find it as stable as I would like it to be
 
well powershell is a good step in the right direction
 
@Loktar The greatest shit of my life is still shit :P
 
well i like linux more than windows **
 
4:30 PM
bah, I like windows 7 :P
 
Me too
 
I use ubuntu and centos as well but only cli
 
powershell gives like 1 page of error report, why ?
 
I like cats
4
 
cat * | cat * ?
 
4:31 PM
I have to star that as well, because my wifes name is Cat
I have no choice :?
 
gotta go
thanks all for the help!
Before I leave, take a look at this. This girl is the master of humour. Take a look at the microphone she is using. youtube.com/watch?v=zjxRsvgADDI
 
@Zirak hows the die thing coming along in your chat bot ,
 
oh, thanks for reminding me
 
0
Q: "View Vote totals" without 1000 rep

Rob W Screenshot / Code Snippet About The vote counts are a great tool to determine whether an answer is disputed or not. Unfortunately, not many of us have enough time to join all Stack Exchange websites and get 1000 reputation. This script unlocks the "View Vote counts" feature, without 1k+...

2
0
Q: Javascript client - which is likely to be better serverside? WCF or MVC3 controller with restful messages?

blueberryfieldsI'm looking to write a server side service, which will be accessed from a Javascript/HTML5 client. The client will likely be sending a bunch of restful messages over HTTPS. All other things being equal, which is better designed to support this kind of scheme on the serverside - WCF or MVC3 (ie...

0
Q: Shorten and Simplify Ajax callback processes

Codex73I've reusing this code for multiple areas and will like to make it more short and/or portable. What suggestions or changes could I make to simplify shorten it's callback processes? $("#add_question_member").submit(function(){ $.ajax({ type:'post', ...

 
4:54 PM
man Im getting some really cool enemy ship results from this
been working on coloring/ship templates today
definitly will be getting a poster with one of the generated images
 
80fps<->130fps, cool
 

« first day (478 days earlier)      last day (4471 days later) »