« first day (660 days earlier)      last day (4305 days later) » 

12:34 AM
"place" is an array
 
hey guys what's a good javascript table plugin with multiple filters?
 
12:56 AM
Could someone help please?
 
1:39 AM
RT @mattur: Really good article on the origins of the web by Bob Hopgood [2001] http://www.w3.org/2012/08/history-of-the-web/origins.htm
0
Q: Limitations of Polymorphism in statically typed languages

Channel72I program mostly in statically typed languages, like C++ and Java. A common strategy employed in languages like these to handle dealing with collections of objects which are related, but which need to employ specific behaviors, is to use polymorphism and inheritance hierarchies. But Polymorphis...

 
1:54 AM
if I use
var foo = $("input#x").val();
var regex = "/"+foo+"/";

Will I be able to use regex.test() ?
 
2:34 AM
no..regex will be a string, not a regex. but if you said var regex = new RegExp(foo);, you should be able to
 
2:45 AM
@GiovanniDiToro ^
 
how do I get the value I just inserted in a text input?
like the updated value
 
2:59 AM
var inVal;
$("#regular").keyup(function(){
inVal = $(this).val();
});
why isnt this working?
var rExp = new RegExp(inVal,"gm");
the inVal is filling up correctly
but the regexp isnt going thruough
forge it , I fixed it
 
3:13 AM
Am I asking too much here:
` $(".Agthumb").click(function () {
var subSet = pageExecute.findSubSet($(this).attr('title'));
var src = $(this).attr('src');
$('#dialog').fadeIn(1000, function () {
$('#imgMsg').append('<h3>Select a Slide</h3>');
$('#imgMsg').append('<img id="dupThumb" src="' + src + '"></img>');
$('#imgMsg').append('<p>There are ' + subSet.length + ' slides available for this image.<br/>Please choose a slide:</p>');

$('#dialogCancel').click(function () {
$('#dialog').fadeOut(1000, function () {
$('#imgMsg').remove('h3');
The elements will not remove from the dom
 
3:36 AM
nevermind, dropped the append and used htmkl
html
 
 
2 hours later…
5:42 AM
Good Morning Guys...:)
my favourite usain bolt Wins
:)
 
6:23 AM
G.M
any body there ?
to solve my SQL problem
----------------Field----Type------------Collation----Attributes----Null----Default
Column name-----Length---decimal(8,2)-------------------------------Yes------NULL


But When I run Query "SELECT * FROM `tbl_documentinfo` WHERE `Length` = NULL"
OR
SELECT * FROM `tbl_documentinfo` WHERE `Length` = "NULL"
OR
SELECT * FROM `tbl_documentinfo` WHERE `Length` = "null"
OR
SELECT * FROM `tbl_documentinfo` WHERE `Length` = null
OR
SELECT * FROM `tbl_documentinfo` WHERE `Length` = ""

NO records are returned
 
hey, anyone here good with ajax/html5/pushstate site development?
 
@DextOr 'NULL' !== NULL
oh, and = null doesn't work in too many DBMSes
 
ok I am working in MYSQL
 
try Length IS NULL instead.
 
ok I try wait
YEAH !!!! PARTY it works ... thanks @cHao :>
is that posible with = sign @cHao :/
?
 
6:34 AM
with =, no. but i seem to remember there being some kind of "safe" comparison with null...hold on
 
ok
 
if you do like Length <=> NULL, it should work...and you can replace NULL with a quoted number to compare against actual values
 
ok let me try :)
@cHao yeah its wrkn Gr8 dude :D
 
7:20 AM
hello guys. Would someone be willing to review one of my answers, please? I posted an answer that seems to solve the problem but someone down voted it without a comment. Could someone point out to me what I did wrong? stackoverflow.com/questions/11823283/…
 
Welll, you abused jQuery.
$(location).attr('href', url); is an over-jQuerified way to write location.href = url;
 
I don't understand
there is no timeout to clear
it's assigned after you clear it
 
@Esailija OPs post "... know to call a function with delay , ..."
 
@RobW lol that's the OP's code
 
@RobW That was the original poster's code.
 
7:26 AM
I saw
Just scrolled up :p
 
@Esailija that line of code does nothing the first time around. It's only when the OP tries to assign another timeout it actually does something
but the thing I can't get over is it feels like I made some huge mistake with setTimout. When I look it up on MDN there's no similar use.
is it supposed to be done differently than t = setTimeout(...)?
 
setTimeout is OK
Your code is correct.
 
idk then... I really wish people would comment instead of silently down voting...
thanks for the input, Rob W and Esailija
 
yes it happens some time
1/100 of the time I get silent downvote on a great answer
otherwise it's immediately obvious to me why I was downvoted
 
I suppose it's inevitable. Even still stackexchange has a great system for solving problems
Well, I need some sleep. Job interview day after tomorrow and I'll need to prepare. :D Take care all and thanks again. o.o/
 
7:41 AM
how do i proceed to include iphone events with javascript , i would like for ex to have a jquery carousel that react with a iphone swipe event
 
 
2 hours later…
9:38 AM
o/
 
10:17 AM
*cricket*
 
can you guys pls take a look at stackoverflow.com/questions/11740127/…?
and give me some suggestions..
 
Just me or google apis' jquery UI 1.8.22 links are still down? ajax.googleapis.com/ajax/libs/jqueryui/1.8.22/themes/base/…
 
@ThiefMaster you no longer ban spammers ? stackoverflow.com/a/11824675/995876
 
10:47 AM
@Esailija not enough 3k+ reppers around at this time? Well, I got some spare close votes, there it goes.
BTW does this return a 404 really? ajax.googleapis.com/ajax/libs/jqueryui/1.8.22/themes/base/… linked from the jQuery UI site, I'm reporting a bug.
 
does for me
 
it has been like that for a while, I'd thought they'd have noticed that by now
well thanks for confirming =]
 
11:31 AM
1111 - pin
Just called BSNL (MY ISP)..
-- me wanna activate 3d on my phone --
Cust. Care :: What phone do you have sir ?
Me : Apple iPhone 4s
Cust. Care :: Is it a 3G Phone ?

#I dont wanna live in this world anymore
 
12:03 PM
are they kidding me :-|
that website is so damned broken.. and they are the leader in the whole country X_X
 
0
Q: Failed to load resource: the server responded with a status of 404 (Not Found)

JonnoPriceUsing Google Chrome Console and also Firebug I get Failed to load resource error on each page. It's an undefined image and the undefined resource is always http:/mysite.com/pagename/undefined I've tried deactivating plugins but cannot find the issue. As first I thought it might be to do with...

 
12:48 PM
@SomeKittens o wow champagne time!
 
so insanely cool
 
I am trying to figure out how to get 3g active
or even gprs active on my iPhone 4s
fucking hell the main ISP doesnt even recog. it
 
ew
I hate dealing with Cell providers/ISPs
 
1:07 PM
i want to kill the cust. care :-|
they know about this shit less then me :'(
@FlorianMargaine hello bro
done with shifting ?
 
gm all
 
Hey
What's wrong with this?
$.ajax({type: 'POST',
	url: 'playerProccessor.php',
	data: JSON.stringify(players)})
 
@KianMayne why are you stringifying?
 
@Neal hiya
 
Don't do that.
 
1:13 PM
What should I do then?
 
@KianMayne jQuery will auto do that for you
 
Oh cool
I didn't know
 
@KianMayne just data: players
 
>_>
log the output on serverside ?
u will see the difference !
 
People worry about the strangest things these days;
0
Q: HTML element on active event

NikolayI want to measure the time between mousedown event and applying css active property without using any jQuery functions (pure javascript). I found that there is onactive event but it is not supported by Opera (the browser on which I want to make this measurement). Actually this onactive event is s...

 
1:15 PM
hehehe
 
Nothing is being sent to the php
 
why on earth that information would matter to somebody is anyone's guess.
 
$.ajax({type: 'POST',
		url: 'playerProccessor.php',
		data: players })
Now that isn't working
 
@KianMayne what is players and what is in ur php script??
@KianMayne also why aren't you just using $.post(...)?
 
players is an array of player objects
function Player(ID, Rnk, Prstg, Lvl) {
        this.ID = ID;
        this.Rank = Rnk;
        this.Prestige = Prstg;
        this.Level = Lvl;
    }
Player object constructor
@Neal Mainly because I didn't know that exists ;)
 
1:19 PM
@KianMayne ummmm the thing you pass to post has to be key/value pairs
not objects.
@KianMayne read the jQuery docs before you use it... :-\
 
Well how can I get this object array to PHP?
 
you cant
 
data: JSON.stringify(players)
in php
 
unless you return the key/value pairs
 
$players = json_decode(file_get_contents("php://input"));
 
1:21 PM
@Esailija who uses php://input??
 
php $_POST and jQuery data normally do application/x-www-form-urlencoded
 
I wonder how this stackoverflow.com/q/11828982/1331430 gets instantly closed while this stackoverflow.com/q/11828491/1331430 doesn't get any down/close vote
 
@Neal you have to use it to get request body
 
@FabrícioMatté lol bc u ddnt post it here as a :-P
 
@FabrícioMatté flagged
one more for a badge!
..what?
There's no evidence to support this being on Programmers.SE
 
1:24 PM
lol I see :P
 
0
A: Cast String to JQuery Object

NealIf the array is really big the Chrome console now breaks it up and shows it to you in smaller chunks. Just click on one of the chunks to see the data. Your selector should work fine! (well if you have the correct information in the data string)

 
So is there no way to get this array into PHP?
 
@KianMayne Thats no array... that is an object. make an array. then ull be good :-)
 
players is an array of player objects?
 
oy...
Im done...
 
1:31 PM
What?
 
yesterday, by Abhishek
i can do something like

<tabs>
 <tab><head>Omg THis is effing CSS </head> <content>I ding dong</content> </tab>
 <tab><head>Omg THis is effing Tab </head> <content>I ding ding dong</content> </tab>
 <tab> <head> Le other </head><content> <accordion /> </tab>
</tabs>
which will become nice lil css only elements
 
@Abhishek wth is that for?
 
shall i make a parser like that or not ?
@Neal just a concept
i was thinking of a pure CSS only UI Pack
but the issue with CSS only shit is that its very very very ugly
 
@Abhishek ummm you can't have <head> elements in the DOM
 
@Neal thats not html
its rather ".cssml"
 
1:33 PM
wth
 
you can have head elements in the dom
 
why....?
 
i might just use JSON though which will be faster then parsing that :-/
cause
 
@Esailija They get removed when you view it on the page.
 
making css only stuff is incredibly hard!
 
1:33 PM
no they don't, in fact, document.head points to the head element in the dom
 
and it looks bad as sewer
 
@Abhishek are you reinventing Flex or something
 
yeap
 
awesome
 
but css ONLY
 
1:34 PM
we need more coldfusion and flex
!!
 
@Esailija I meant you can only have one head element.
@Esailija not enough jQuery.
 
it wont have anything else then css only tabs , accordions , menus
rather just a ui pack but pure css
 
2:05 PM
GAH. I need to do something about my blog-reading habit
also, would anyone here mind advising a noob about Git?
 
@SomeKittens what abt it?
 
Project planning
 
@SomeKittens again... what abt it?
 
(typing)
I want to know how to arrange different branches so that bugfixing and developing new functions is as painless as possible
My current thought is to have a Main branch (code that's running on clients), a bugfix branch (created from Main, merges to both other branches) and a dev branch.
So that hotfixes can be easily applied to both Main and Dev
I'm wondering if there's a better way
(naturally, there will be sub-branches, etc)
thoughts?
 
ummmm
No idea. You could ask on hmmm... i am not sure where to ask that :-X @SomeKittens
 
2:20 PM
Probably programmers SE
I'll work on the idea for a while
 
2:34 PM
k @SomeKittens
 
@Abhishek somehow
I'm done yeah, but my step mom is spending some vacation in here, so I'm still kinda busy <<
 
3:01 PM
Hey there
:) Anyone?
 
mmm?
 
No one here but us chickens
 
bawk
 
Quack
 
@FlorianMargaine lol
have fun :-)
 
3:27 PM
posted on August 06, 2012 by miraculous1

An assumption that a lot of web developers have is that retinafying images by doubling their resolution results in files that are four times larger. The reasoning goes like this: If I take a 100×100 pixel image, that has 10,000 pixels, and has a file size of, for example, 10kb, doubling the resolution to 200×200 [...]

 
3:50 PM
Yo
 
4:00 PM
hellro
 
4:20 PM
Calm today. Who died ?
 
@rlemon
 
Where is lemon ?
 
consulting, supposedly
 
can someone help me - I'm trying to prevent the default behavior of pressing enter, I do not want the post back that normally happens , for some reason I have this working in all browsers except the iPad , .preventDefault() or return false jquery do not work on the iPad
anyone?
 
Destroy all iPads in existence
3
 
4:30 PM
unfortunally they exist - and code needs to work on them
 
4:49 PM
hai how to load rss feed(xslt) and retrieve data from rss feed ?
 
Is there a way to prevent chrome's autofill in your web site?
 
@ScottSelby Not that I know of
@ScottSelby Are you sure you're doing it right? No errors or anything?
 
I found this to stop autocomplete <form autocomplete="off">
and I change keyup event to keypress and that prevented the devault enter keypress
 
Sweet, good job
 
Hey, what's the easiest way to serve a local file with linked resources in localhost? I used to just use WAMP when I was feeling too lazy to tinker with Apache config but that looks like a full-blown PHP development app now. I just want a simple server.
 
4:58 PM
@RyanKinal ;p;
 
My boss, on the phone with a potential new-hire: We're looking for a Senior Web Developer with experience with technologies like AJAX and Java
-_-
We don't use Java. We use JavaScript.
I've informed him of this many times.
 
Link him this question next time stackoverflow.com/q/245062/1331430
 
To be fair, it was really stupid to name it JavaScript.
 
if you don't fear losing the job ofc
 
@RyanKinal i want to separate node value like title, link thanks for your guide.
 
5:02 PM
@ErikReppen Doesn't matter. I've told him this many times. I don't write Java. I write JavaScript.
 
@ErikReppen XAMPP?
 
@ErikReppen Maybe Mongoose?
 
@ErikReppen why not file:/// ?
 
^ not a bad choice
 
Just notifying , if anybody's company wants a css warrior .. please let me known ^_^
yall know i'd love a job with CSS
:$
 
5:08 PM
We are, actually, looking for a web developer... but you don't have any .NET experience, do you?
... also, you probably wouldn't actually do much CSS here :-P
 
i do have .net experience
not much but i do
wrote servers in C# for games :$
hey thats .net
but yeah i love doing CSS .. seriously XD
 
Actually, now that I think about it, I didn't have any .NET experience when I started here :-P
 
I didn't have any PHP/Joomla experience when I started my job as a PHP Joomla dev
I still think my boss was crazy
 
Hey - anyone know if theres an app that works similar to firebug that can be used on iPad ?
 
@Abhishek there's no "css job", there's web designer, but the css you love isn't usually used in jobs :/
 
5:18 PM
anyone know a javascipt plugin for tables with multiple filters?
 
@ScottSelby remote chrome inspector
@hanleyhansen datatables
 
@FlorianMargaine i need something like this
@FlorianMargaine i need multiple dropdown filters of some sort. i do believe i've seen something like that in datatables
 
0
Q: Alternative graphical representation of a goal achievement?

MadBurnThe client has a set goal X that he wants to achieve every month and he wants this represented graphically and I agree that it would be a good way for people to easily see how far along they are. The question I have is that I simply can't think of any ways to do this, other than either a basic ...

 
@FlorianMargaine i can be a UI/UX person
i seriously dunno i have totally polar skills :-|
 
tell me some UX rules then :)
 
5:23 PM
"Knows v8 internals and can code expansion" , " can write libuv based high perf. servers in C", "can create css crazyness" , yeah totally insane polarity
 
@Feeds That's either a massive SO fail or the trollest username ever.
 
@FlorianMargaine KISS :P
(keep it simple , silly ) the most useful one
 
(Am I the only one who sees it as loading..)
 
@SomeKittens ctrl + r
 
(stupid, not silly :p)
 
5:25 PM
Then are the actually used ones
1. Familiarity
 
btw, do you know about ergonomy?
 
@FlorianMargaine o_O FML ... even the publications in this country are wrong
 
KISS is an acronym for the design principle articulated by Kelly Johnson, Keep it simple, Stupid!. Variations include "keep it short and simple", "keep it simple sir", "keep it simple or be stupid", "keep it simple and stupid", "keep it simple and straightforward" or "keep it simple and sincere." The KISS principle states that most systems work best if they are kept simple rather than made complex, therefore simplicity should be a key goal in design and unnecessary complexity should be avoided. Origin The acronym was coined by Johnson, lead engineer at the Lockheed Skunk Works (creators ...
 
my god !
 
SO chat's being weird today
 
5:26 PM
>_> i dont wanna live in here
 
leaving
 
@SomeKittens it does sometimes for me , very often though
@FlorianMargaine have fun
 
@hanleyhansen datatables.net check this one
 
@srini i need multiple filters though
 
5:35 PM
So, wait, is Access-Control-Allow-Origin a browser thing or the server handling your request thing? Because I know we're making Ajax posts with the same creds via a Windows Gadget.
And I got a Python one-liner serving files to localhost.
 
the server sends that header to allow client side cross-origin requests
I don't know how that is relevant to python or gadget though
 
Ah, okay. My little Python server is the one that needs to be tell Chrome it's okay to request from localhost.
 
Windows gadgets are not subject to the same origin policy
 
the op links a wikipedia article and that answer is solely a picture from that wikipedia article
/wrists
 
5:48 PM
Yeah, I was getting confused between what the client was allowing and what the targeted-via-ajax server was allowing.
 
I'd not use a browser as a testing environment for gadget development btw
 
I also can't seem to get the chrome ' --disable-web-security' switch to work.
 
Writing a small batch script that updates the installed gadget and restarts the sidebar is not that much work and you won't experience any issues (the sidebar is based on IE after all)
 
@ThiefMaster I would. Debugging js is a pain w/o firebug or chrome inspector
 
The Gadget is done. I was just puzzled as to why requests worked in that but not when I served a local web version of it.
 
5:50 PM
If there is something I never understood what it is usefull for, it's the Bezier Curve
 
local web version being modified to yoink all the proprietary crap of course.
 
@FlorianMargaine: You can use Visual Studio for that if it's just JS and you don't need a nice DOM tree
 
@ErikReppen file:/// has special security settings
@ThiefMaster never used VS for web dev, dunno :p
 
Yeah, so I served to localhost.
@Florian ^
 
5:51 PM
Neither did I (for actual development that is not debugging), but when attaching it to something IE-based after a JS error you simply get the default visual studio debugger for that script
 
@dievardump it has to do with animation and graphics so no wonder
 
@dievardump It's so you can describe curved shapes with math. Easy to scale and shrink something with a bezier or cache a similar structure for reuse.
 
@Esailija well, I kinda like animations but I can not understand why Bezier Curve are useful in it
 
I don't like either :P
 
6:13 PM
Okay, feelin' stupid. Create a chrome shortcut and call it "Do not browse with this", I right-click on the icon, go to properties, the target field and then I add a flag such that the end of the target string looks like this: "[...]\Chrome\Application\chrome.exe --disable-web-security"
It does not like this. I can add anything I want after quotes but nobody on the internet tells you to do it this way and it doesn't seem to do anything.
brb
 
but can't rely on @supports being supported
so meh?
 
aaaand irony.
 
maybe in 20 years
 
6:44 PM
anybody knows
any remedy for um "rashes" inside mouth ?
idk if rashes is even the correct word >_< , yeah this is random but i am having a mouthfull of em and i am asking everywhere for halp
 
see a doctor? sounds a bit like this though
 
OMG. I refused a date because the person is a RoR fanboy. I'm kinda too close-minded with this kind of things.
 
huh?
a romantic date?
 
yeah -_-
I have to stop coming on SOChat
 
Better than a PHP scripter!
 
6:56 PM
@ThiefMaster awww....
 
But seriously, rejecting someone for her favourite programming language? Be glad that she has one! :p
 
he
That makes all the difference ^^
 
When making a chat widget box thing
Is it best to save the data to a file or a database
Then using a
 
date with a he?
 

« first day (660 days earlier)      last day (4305 days later) »