« first day (902 days earlier)      last day (4271 days later) » 

20:00
pfft
expose everything
BotFemale++
BotFemale++
!!/karma BotFemale
BotMale++
@ShotgunNinja botfemale has 3 karma
!!/karma BotMale
@ShotgunNinja botmale has 1 karma
20:01
it keeps resetting?
BotFemale++
!!/karma BotWat
@ShotgunNinja botwat has no karma
BotMtF++
@Zirak bot karma bug? did I need to wipe local storage?
20:03
oh, it's the lowercase mapping
maybe add a !!/resetKarma command and only give yourself permission
!!/eval global.process.exit()
@canon "TypeError: Cannot call method 'exit' of undefined"
aww
@Zirak once I get the machine at home running (maybe this weekend if someone reminds me) I'll give you SSH access
20:04
Hey all I was hoping I could get some help with an issue I am having. I have a form thats sumitted with ajax and jquery but it wont submit in IE8 or IE7....im not good at all with jquery so I was hoping someone could help.
@matt code or it didn't happen
Brace yourself, matt. You're about to suffer an assault. /popcorn
@matt what version of jQuery? latest? I assume latest.
@dystroy I have a live link is that OK?
@rlemon yes latest
20:05
jQuery 2.x only support IE9+
downgrade to 1.9 and see if it works
Is jQuery 2 released now ? EDIT : seems not to be
where's my ie5.1 support, damn it
@rlemon thanks ill keep you posted 1 sec
@rlemon This should fix it: pastiebin.com/515f2ea359321
1 sec i'll run
20:06
is luddicious a word?
!!/google luddicious
@rlemon I'm the one at fault, really. I need to set up my own machine and not drop it on you.
!!what's luddicious?
oh, god... urban dictionary first result
20:06
@Zirak Could not find definition for luddicious. Trying Urban Dictionary
...and then the universe exploded
@Zirak eh, I don't mind really. I have computers that are doing nothing
!!/google recursive
if you payed for shipping I would send you one (for the bot)
20:07
hey guys, is this a place to ask questions about JSON? sorry, pretty new
Sure, @JonMarsh
thanks, question then. here's a URL to an api that returns JSON: xboxleaders.com/api/profile.json?gamertag=ej423
check out the online status key
you could really ask about it in any language room since it's a data-interchange format... like xml
is it supposed to be all messed up like that?
but yeah, you'll get help here
user2157210
20:08
beear and 600g baked beans
@Zirak idk how much rPi costs you there but they are only $35 here - again, someone could ship you one of these :P
user2157210
beeer
bascially im saying, is that JSON already supposed to be encoded so it doesnt have any messed up characters?
@rlemon its using jquery-1.9.1.js and validate.js
20:10
here is a link if you need to look: eclipsesecure.ca/facebook/viccalling the submit button will not work on IE8 you dont have to enter anything to test it.
@rlemon lol, motto
so, any ideas on that?
user2157210
@JonMarsh guess tehy send messed up data then
!!/eval var p = []; for(var n in global) { p.push(n); } p.sort();
@canon "ArrayBuffer,Blob,Float32Array,Float64Array,Int16Array,Int32Array,Int8Array,Mes‌​sageEvent,PERSISTENT,TEMPORARY,Uint16Array,Uint32Array,Uint8Array,Uint8ClampedArr‌​ay,addEventListener,clearInterval,clearTimeout,close,dispatchEvent,global,importS‌​cripts,onmessage,openDatabase,openDatabaseSync,postMessage,removeEventListener,se‌​lf,setInterval,setTimeout,webkitPostMessage,webkitRequestFileSystem,webkitRequ (snip)
20:12
right, so the data itself is messed up
?
or am i supposed to encode it myself when i request the JSON object?
weird that they escape their / characters...
@david Who knows, maybe it's just to avoid parsing comments...
So anyone else have any other possible solutions on why the submit wont work on IE8? Its not the jquery version.
I can't find any accounts marked as cheaters
user2157210
for 90% of the weird things you find the solution is the programmer behind was a lazy ass
20:21
my friend's account is marked
but i just want this encoding issue fixed, its driving me nuts
well, im creating an iOS app. but I'm not sure if I'm supposed to handle the screwed up characters myself or if that's the api's fault
so when im displaying information, it has tons of wonky characters everywhere
!!/define banned
@Shmiddty You iz in mindjail
20:26
-1
Q: JSON encoding problems ios 5

dpbatallerOk, I should explain better the problem. I'am developing an iPhone application to display data. Data are obtained from a Mysql database using a php file. Here, I show the code of PHP file: <?php header("text/html; charset=utf-8"); //Credenciales de la BBDD $db = "json"; $host = 'localhost'; $us...

That should check if the data.error is set, and if not do the data.success yeah?

			success: function(data) {
				if(data.error) {
				alert(data.error);
				} else {
					alert(data.success);
				}
			}
@JonMarsh It looks to me like they're doing it wrong. There shouldn't be xml encoded characters in there.
@OctavianDamiean so that project is in flash ?
it could be the way you are parsing the data to nsstrings
maybe you aren't using utf-8
ive tried that
20:29
@MuhammadRaja Well, yea. Just right-click it ...
but i dont think ive seen JSON data before that looked like that
Not bad though
he added a lot of information though
like that one guys motto on the api: "Motto": "Life is a Game !! \u3055\u304b\u3066",
user2157210
you watched the new google glass talk?
cause i have a question relating to my project
20:30
or the name: "Name": "!!&#164;&#164; jay
can i refresh global javascript variables without page refresh?
JSON isnt supposed to look like that, no?
@Nexxpresso allow google and its glass talk
user2157210
@MuhammadRaja what?
@JonMarsh Those are html entities
20:31
xbox gamers are hardcore?
Actually, those are valid character escapes
xbox still exists ?
@JonMarsh Those are html entities
The API provider is an idiot
so theres nothing i can do?
The \uXXXX is valid in JSON strings (since it's valid in js strings). Serving you entities instead is a dick move.
You can decode them
20:32
yeah the api provider isn't even consistent ><
Some strings have NCRs, some have proper JSON escapes, and some have superfluous JSON escapes
thanks, it was making me feel like i was crazy
so i suppose i have to find a way to decode HTML entities in obj c? does that sound correct?
WHAT THE FUCK MICRO DICK SOFT
visual studio 2012 express for windows 8
has no console app thing --_
wtf
@JonMarsh Yep. I'd also file a bug report if possible.
user2157210
console app thing?
thanks @Zirak, youre the man
20:34
any javascript quadtree libraries that use rectangle collision instead of point?
oh, you... blush
user2157210
oh api infos for google glass seems worth watching 1 hour talk ..
:'( no cli template
am i supposed to write a CLI in xaml ?
!!>!!' '
20:39
!!Do you love me?
@eazimmerman Of course not
@JonMarsh btw, &#nn is a Decimal enitity, &#xnn is hexadecimal. In your case, &#164 is the same as &#xa4 same as \u00a4 which is ¤.
@SOChatBot lol
!!Does eazimmer need to take a chill pill?
@ShotgunNinja Command does does not exist.
@ShotgunNinja But of course
!!Red Pill or Blue Pill
!!Ought I stay at work?
@eazimmerman Pill
@ShotgunNinja Y U NO MAEK SENSE!? Could not understand Ought I stay at work?
@eazimmerman Red Pill
Down the rabbit hole I go
!!Might I ask a question?
20:42
@ShotgunNinja Y U NO MAEK SENSE!? Could not understand Might I ask a question?
!!Shall I ask a question?
@ShotgunNinja Y U NO MAEK SENSE!? Could not understand Shall I ask a question?
!!Can I ask a question?
@ShotgunNinja Not at all
@SOChatBot T~T
20:43
!!/choose "Jiu Jitsu" "Taekwondo" "Goshindo" "Brasilian Jiu Jitsu"
@OctavianDamiean Brasilian Jiu Jitsu
Mhmm.
!!Are you sure?
@OctavianDamiean Nope
!!Are you mad?
@ShotgunNinja No
20:44
Thank God.
Been very helpful.
!!/choose "your destiny" "test your might" "flawless victory" "MORTAL KOMBAT!!!"
@canon test your might
!!/undo 8696441
k anyone see why this isn't working at all?
20:45
!!/choose "Destroy All Humans" "Destroy All Humans"
@eazimmerman Destroy All Humans
!!/choose "the second option" "the first option"
@david the first option
user2157210
hmm glass api
!!Are you female?
20:51
@eazimmerman Doubtfully
BotFemale--
!!are you messing with Octavian?
@Zirak Doubtfully
!!do you want to be the hottest robot on the block?
20:52
@Zirak No way
!!Do... do you want to be a girl?
@eazimmerman Indubitably
It's settled!
has anybody actually asked it?
Robo-sex change operation
20:53
@Zirak you should build a hashmap of the questions it has been asked so it always gives the same answer
My internet speed just went up 20mbps -_-
wtf ?
that would be huge
@david I thought about it
i guess it wouldn't really work... there are many ways of asking the same question
you could outsource the responses to china
20:55
@david We should implement a sentence analysis algorithm then.
Hello MinGW
@Darkyen Goodbye .NET?
@ShotgunNinja bleh vs 2012 for win 8
doesnt allows me to write a cli
wat
ULTRABULLSHIT
@ShotgunNinja sadly yes
20:57
Fuck it, installing Linux
(XD)
i cant :P
linux support for my hardware is crap
eeeeeegh
0
Q: Javascript conflict Quform with BG Slider

user30933My background slider is not working only on pages that have the QuForm plugin on it. Their forum said that this was the problem on my footer <style type="text/css"> #slide-list { background: #!important; opacity: 0.6; border-radius: 5px; } </script> But I dont know how to find it ...

write a js interpreter in js ? without eval :D
@Darkyen whoa
21:00
github.com/jterrace/js.js <- somebody actually did it .. fucking awesome
re.test(email.val())
var re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
var email     = $('#user_email');
I'm pretty sure that is right, but what im expecting to happen, doesn't, any idea why?
No, it's not enough.
user1125394
!!> "foo@bar.com".match(/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i)
@c'c "foo@bar.com,foo,bar,com"
Thaha awesome. mypoo.de/bild.php?id=11850 [possibly NSFW]
21:05
mypoo ?
Pass.
user2157210
@Darkyen i can cli in vs12?
@Nexxpresso not in the version i have
for windows 8
user1125394
!!> "ഖഗഘ@qx.com".match(/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i)
@c'c null
@c'c you ******
you can never validate an email in regexp
give up
21:08
I'm using bootstrap and validation, and I'm toggling the control-group error stuff when it fails validation, but is there a way to show the 'help info text' automatically at that time as well, or do I just unhide it with jquery?
use the browser's implementation if really mad about it
user2157210
@Darkyen works in vs12 for me puu.sh/2uwOZ
Don't tell me what to do ^.^
@Zirak meh ... forget about the domain, I didn't even notice. The picture is worth it. :D
@Nexxpresso Windows 7 ?
user1125394
21:09
@Darkyen don't worry just testing the regexp posted by someone
user2157210
yeah windows 7
user2157210
tho which version do you use?
Windows 8 with VS 2012 for Windows 8
user2157210
express version
user2157210
?
user2157210
21:12
they love to cut things from free versions
whats a good webpage for validating regex
Don't validate emails using regexps.
@Nexxpresso cutting off cli is shit.
user2157210
not again this conversation
@Zirak What other method is there?
21:13
basically shit
@XCritics use the server ?
@Zirak It's much safer to just send something to an email and see if an undeliverable message comes back, amirite? ;P
@Darkyen yeah you lost me
user2157210
wtf is wrong with dreamspark
I'm not too happy with that one, either.
user2157210
21:15
..
/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
If you want something really awesome, a state-machine that actually follows the RFC.
@Zirak So, I added the email flag, now the browser just KNOWS to validate it, that is pretty neat
State machines feel cool to implement
user2157210
wtf
user2157210
21:17
@AmaanCheval amaan you still in school right?
@Zirak which is basically a check for @ in b/w
@Nezzpresso Yeah, why?
user2157210
Do you have dreamspark access?
I don't know what that is, so no
@Zirak There is no way to get the value though is there, somehow the text-field knows to highlight its self red, but I would also like to set a p element text for it too, just tell me what to google oh great one
user2157210
21:19
ok figured it out does not work with firefox anymore
user2157210
hmm
No.
0
Q: Is there out-of-the-box way to create custom non-convex polygon in three.js?

23kulpamensAs in the question. Does three.js offers this or i have to use THREE.Geometry and set faces manually? I'm guessing that ShapeGeometry have something to do with this, but either I can't find documentation nor examples.

0
Q: Review of jQuery Plugin for TreeViews

goodcodeguyLooking for a review of my first published jQuery Plugin. It's for treeviews, very basic example demo can be seen at: Demo Everything works fine, just looking to see if I can get some feedback on things that I may be doing wrong best practices wise and/or things I could be doing better. Thanks...

user1125394
I wonder if chinese .. allows funky emails
user1125394
with their (traditional) characters
user2157210
21:20
@Darkyen they stripped it of
OMG MinGW finished installed :D
i am so happy i can write proper c code now :D
user2157210
vs 2012 express for 8 should be used to design metro apps thus no CLI
user1125394
@Darkyen devcpp?
@Nexxpresso i have GCC now
@c'c pure MinGW installation
no DevCPP nothing , probably will use Sublime or something
user1125394
dev-C++ is a good tool, completion..
21:22
So is Code::Blocks
So is visual studio
user1125394
but if you want to gcc ok
I used MinGW with Code::Blocks
CLang kept failing on me
user1125394
@Darkyen ow didn't know you can do pure C there
21:24
@c'c just saying about tools :P
I love C++ more then c though (x
but feeling a bit cish today
user2157210
2 gigs for getting my vs 12 in english ..
Haha
Bloated much?
user2157210
wtf is blend
I don't know
user2157210
all i can say I got blend!
user1125394
21:27
@Darkyen one day you would appreciate some quick functional tour haskell erl
Hey folks, a scope question: in this fiddle is there an easy way I can bring _getStuff() into the scope of the tryitout() method? jsfiddle.net/M7Sv3
@c'c wop wop
I thought that since I instantiated myClass at a scope where _getStuff is available that it would become available to the methods of the myClass instance.
user1125394
yeah double ping for,him
I want to keep _getStuff within the $('document').ready(function() {}); the reason involves the context of my implementation--not the jsfiddle
@ElliotB. Pass it as a parameter?
yeah, there's that option but i wanted to avoid doing that
the reason why involves the actual context of my code--implementation related
yeah passing a param works
21:34
Sounds like a bad implementation
but i'm wondering why the methods on 'dummy' aren't inheriting the scope in which 'dummy' was instantiated
also just put the fn outside the closure
easy peasy
@ElliotB. Because that's not how it works.
the scope is the class objects constructor
@ElliotB. js scope isn't dynamic like in Perl
21:35
@rlemon above i mentioned that i wanted to keep it within the scope of the document ready function closure
It's all functional scope: The outer functions cascade down into the lower ones. Note that it's not about calling functions, but about wrapping functions.
@schmiddty thats presumptious to assume bad implementation when tyou havent seen any of the code :)
"the scope is the class objects constructor" @rlemon thanks for clarifying
@ElliotB. whose fault is that?
@shmiddty presumptiousness? yours, haha
@Zirak thanks for that
21:37
@ElliotB. Nah dude, your implementation sucks.
@Zirak its more clear to me now
you either have to pass the fn in, make it a method of myClass or make it global
afaik there is no other clean way about it
bummer
you could .apply({getStuff:_getStuff}) and use this.getStuff
thx for all the tips
brb
21:42
But that would be a stupid implementation.
also dumb
@Nexxpresso Blend is awesome
it reminds me flash
user2157210
@Darkyen wut is it
Its a design tool
you can basically design GUI's and stuff with blend
user2157210
so nothing i will ever use?
21:46
its awesome for that :P
no you should use it for layouts and stuff
user2157210
but i cant desing
its pretty sweet for me
user2157210
i cant even draw stickmen
drag and drop son
user2157210
yeah but for me when i need a user input
user2157210
21:47
there is just some fucking text field somewhere on the gui
!!/amistillbanned?
user2157210
i used to code layouts by hand
user2157210
but holy after sometime i was like fuck that why do they give me this godgiven piece of drag and drop designer
forgot the semicolon: jsfiddle.net/M7Sv3/9
still stupid imp
@Darkyen I like the subtle sarcasm.
user2157210
21:49
@Shmiddty there is nothing better than a drag and drop designer
@Nexxpresso not really
use blend for html :P
you will come back to writing code by hand
user2157210
holy shit if i code some stuff the last thing i want is to hassle arround with design
You can’t trust code that you did not totally create yourself. [Ken Thompson]
@SOChatBot >You can't trust code in a .NET application.
I did it! document.getElementById('user_email').checkValidity())

« first day (902 days earlier)      last day (4271 days later) »