« first day (1390 days earlier)      last day (3544 days later) » 

2:00 PM
disputed? do they fight on flags?
 
@AwalGarg "Not an answer" flags that got declines by other users were disputed.
 
user1596138
@Psychemaster Pfft. I some like that from forever ago.
 
kk
 
user1596138
I have 3 "active" ones from over a year ago
 
One day it'll go away and then I can be less OCD about it. Woo!
 
user1596138
2:03 PM
Sure sure it will
 
I've noticed that more and more, I'm answering questions as a comment instead of an answer. It helps me to avoid the idiocy and drama that main is known for.
 
@Feeds @FlorianMargaine What'd you change?
 
in PHP, 2 mins ago, by Florian Margaine
yep. I think I'll do the same to the JS room
 
C:\Sites\rxsite\private\cs\OrderEntry.coffee:61:31: error: unexpected .
                hasTooManyChars = true if (s.length + 1) => numChars
go home coffeescript
You're drunk
 
2:06 PM
@Kippie meh. There was nothing interesting being discussed anyway
 
shit, so when I left my house this morning, there was a terrible burning rubber smell coming from the garage
I have a feeling that when I come home tonight, my entire house is gonna be on fire
 
@BenjaminGruenbaum :(
 
sounds promising
 
user1596138
0
Q: jQuery ajax to load a local json file

kirduaI'm trying to load a local json file using jquery's ajax for asynch purposes. The file directory is "scripts/balance.json". The issue I'm running into is that when I run the page locally my console shows this message: "XMLHttpRequest cannot load file:///C:/Users/kirdua/Desktop/span/scripts/bala...

 
user1596138
2:08 PM
Come on.... of course that doesn't work
 
People keep trying to do that
 
@RalphWiggum You didn't check up on it? I mean, if something smells funky/burning in my house, I won't go anywhere before I found out where it's coming from
 
user1596138
People are so silly sometimes
 
'Cause it might be actually, you know, burning? :P
 
@Kippie it sorta seemed to be coming from a garage fridge or central vac, so I cut the power to em
 
2:09 PM
!!s/sometimes/always/
 
@jAndy People are so silly always (source)
 
@Jhawins why "of course"?
 
Hello
 
user1596138
@FlorianMargaine Because, if that were doable that easily JS would be the quickest and easiest way to gain access to other users filesystems.
 
@Jhawins how is that "obvious"?
 
user1596138
2:11 PM
Because.... Security.
 
you're really very easily condescending
 
user1596138
I mean, that would be a huge fucking problem.
 
@Jhawins my guess is he isnt running the site via a server but the file:// protocol
 
that was a lot of y
 
and thus, the browser thinks its accessing a filesystem file rather than from a server
 
2:12 PM
For some reason, my coffee kind of tastes like buffalo sauce...
 
@NickDugger Maybe it is buffalo sauce
 
user1596138
@FlorianMargaine I wasn't condescending on Main or to the OP, but yes, I think it's incredibly obvious that you wouldn't be able to simply start requesting local files.
 
<section>
   <span>Hello world!</span>
   <ul>
   </ul>
<section>
I want to hide the ul inside the current span I clicked on (there are many spans, in each section) I used this to get the section of the span I clicked on:

$(this).parent()

How can I get the ul from the parent?
 
user1596138
Sorry bro
 
@NickDugger Lucky you. Every time I drink coffee, it tastes like coffee :(
 
2:12 PM
@RalphWiggum It wouldn't be the first time I've drank buffalo sauce.
 
user1596138
It'd be like... Making a question to ask how to view the source code of a PHP script that isn't local.
 
thecodinglove.com/post/53371719011/… <--- i just can't stop laughing... wtf?
2
 
nth-child does not work off a class ie.. .schedTable:nth-child(even)
I could see it working great for new development though!!
 
ok then dont use it
man isnt it home time already?!
 
Not for a while
 
2:18 PM
This is a nice approach with jQuery
$("#td_id").toggleClass('change_me newClass');
What time-zone are you in?
 
GMT+0 ^^
 
>>> var str = "1\n2\n\n\n3";
File "<stdin>", line 1
var str = "1\n2\n\n\n3";
^
 
3
Q: setInterval Chrome vs Firefox

user3386050I have a Javascript setInterval function that works in Chrome, but not in Firefox. It is supposed to keep writing a string every so often on the screen. I know document.write is not a prefer method. Here is the code: function doSomething(){ document.write("1st string "); } setInterval(do...

reopen pls
 
"nice approach" and "jQuery" do not belong in the same sentence.
 
I think "it does X on Chrome and Y on Firefox - Why?" is a totally legitimate question
 
2:20 PM
@NickDugger The jquery hate is getting old, bud
 
I don't hate it, it just sucks
 
what in need to assign a newline character to a string variable?
 
@NickDugger It doesn't
@AvinashRaj "\n"
 
what have you moved onto Nick? I am just older and used it in the past.. what do you prefer for DOM/CSS manipulation?
 
@NickDugger it has its place
 
2:21 PM
Everyone hates on me for preferring native DOM rather than jQuery
 
I have the jquery tag filtered on SO, because I don't know how to use it yet
 
so DOM Scripting?
 
@JanDvorak i tried that.
>>> var s = "1\n2\n\n\n3";
File "<stdin>", line 1
var s = "1\n2\n\n\n3";
^
SyntaxError: invalid syntax
 
preference is okay. Hatred isn't.
 
I'm sure it's a good library, just never got around to figuring it out.
 
2:22 PM
....
 
I love you too, robert
 
'jQuery: The true source of internet arguments'
 
jQuery is useful for old browser support, but I do like practicing native DOM when I don't have to support IE
 
@NickDugger do you know of Jeremy Keith?
 
2:24 PM
I do use jQuery when scripting against pages that use jQuery, though
 
Toby Keith? Like the country guy?
 
clearleft.com/is/jeremy-keith wrote a book on DOM scripting
 
What the hell is DOM scripting? Just call it javascript.
 
You're gonna confuse someone later on. "Do you know javascript?" -- "No, but I know how to DOM script"
 
2:26 PM
@NickDugger as opposed to ecmascript, which is the server-side version?
 
@JanDvorak Don't patronize me.
 
can we just all call it CoolScript
 
@NickDugger Just noting the need for a distinction
 
RobertScript
 
2:28 PM
can you point me to your Book link kind sir? ;)
 
#shotsfired
 
What a tool
 
user1596138
@AwalGarg Life of Brian!!! The entire movie is gold
 
:D
anyone knows how long it takes for an issue at the chromium project takes to move from assigned to completed?
 
@AwalGarg six to eight weeks on average
 
2:33 PM
and is this pfeld...@chromium.org guy nice?
@JanDvorak so, would it be included in chrome after that period or in the next chrome build?
 
posted on August 06, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Another exclusive comic at The Nib!

 
and if latter, when could the next chrome build come out?
 
@NickDugger jabbascript.org
 
@AwalGarg I think it'd be available in chromium first, chrome later
 
@rlemon The whole website is jsut a large picture of jabba the hutt?
 
2:35 PM
yes
 
Yep. He ate all the Javascript.
 
Interesting.
 
it is a $10/year joke and I love it
 
Is it yours?
 
possibly.
 
2:36 PM
I should start buying funny domains.
 
user2862309
Why?
 
fun
 
@Cereal ;( I like chrome more... when do they repackage it?
 
I was just guessing, I have no idea.
 
kk
!!afk
 
2:43 PM
 
@SomeGuy @Zirak @Jhawins @Anyone<23 till august 2015 ... worldskillssaopaulo2015.com/en
 
Everything is better with kittens...
 
@NickDugger even Jabba likes pussy cats!
 
On a related note, who all here will give the new Star Wars film a chance? Obviously there's not enough revealed to make an educated call, but I, myself, will go see it anyways when it comes out.
 
@NickDugger I may
 
2:49 PM
It'd be hard to make it as bad as episodes 1-3
 
user2862309
Do you guys know what 'chump' means?
 
then I will give it a shot
@Mr.Meshuggah if you mean "chomp", that removes the last character of a string if it's a line separator.
 
Who the hell wouldn't go to see the new starwars movie
It's starwars!
 
user2862309
@JanDvorak no I mean chump
 
Dec 18th, 2015... That's like a billion years from now :(
 
2:51 PM
- client side coding
- server side programming
 
It's a, "Long, long time... from now"
 
we CODE !
 
get it?
 
@Mr.Meshuggah then I'm left to wonder why you are asking
 
ha, I'm so funny
 
user2862309
2:52 PM
Someone called me that and I was wondering
 
user2862309
And I am wondering wheather it's an american word
 
@Mr.Meshuggah look it up
 
user2862309
I did, in dutch it is dik eind which means thick end
 
user2862309
also blok which means block
 
user2862309
they surely didn't call me block or thick end
 
2:53 PM
Wait... what the hell, JJ Abrams? A Half-Life movie?
 
!!urban chump
 
@Cereal Chump Someone who does not understand the basics of life on earth. Confused easily.
 
user2862309
Haha I see why he thought that :D
 
See also: Gullible :)
 
user2862309
It doesn't exist in the dictionary
 
2:55 PM
JJ Abrams is fantastic, but if you view his announced titles on his IMDB, you'd be confused about some of his life decisions; Cloverfield Sequel, Half-Life, Mission Impossible 5, Portal movie...
However, the third Star Trek film was announced, so that's exciting!
 
!!define gullible
 
@Cereal gullible Easily deceived or duped; naïve, easily cheated or fooled.
 
sure it does
> inb4 huehue you're gullible
 
user2862309
huehue you're gullible
 
Oh you...
 
2:59 PM
@jAndy the..!
 
@jAndy Game...
 
lol
thanks for the headsup
 

« first day (1390 days earlier)      last day (3544 days later) »