« first day (1621 days earlier)      last day (3326 days later) » 

6:00 PM
@HackMaster If you are new to CSS, here is a neat little game for learning it: flukeout.github.io
 
Hey I have quick question how do you send a XMLHTTP request with an array included?
 
@HypertextieProgramming Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@HypertextieProgramming is JSON an option?
 
@HypertextieProgramming as JSON?
 
@Luggage +1 css diner
 
6:01 PM
it could
 
super smart minds think similarly, bro
 
high Five
 
i kinda need ideas from the php end and the javascript end :/
 
is ditching PHP an option?
 
6:02 PM
var XHR = new XMLHttpRequest
 
or something
 
@Luggage thanks bud i shall learn and then fix the issue but you have pointed me in the right direction :)
 
Always an option.
@HackMaster get a new .css file added for your own styles?
 
Do I need to do something like this? xmlhttp.open("GET","testphp.php?q="+arr,true)
to
xmlhttp.open("GET","testphp.php?q="+ JSON.stringify(arr),true);
and in my php this:
$arr = $_REQUEST["q"];
to
$arr = $_REQUEST["q"];
$arr = json_decode($arr);
 
6:04 PM
you're close, but you're still missing a URL encoding step
the PHP part looks fine
 
ok
How do I url encode?
 
You could one line that too. $arr = json_decode($_REQUEST['q']);
 
@HypertextieProgramming is jQuery already available?
 
Gasp.
 
6:06 PM
if not...
 
no sorry my application only involves pure javascript that interacts with a server.
 
!!mdn url encode
 
$.param()?
 
encodeURI(uri);
something like that?
 
6:07 PM
have you seen the link?
 
yup just now
perfect thatas all thanks for your help!
that is*
 
in C#, 2 mins ago, by Feeds
posted on March 25, 2015 by Visual Studio Blog

Node.js Tools 1.0 for Visual Studio (NTVS) is now available for download! NTVS is a free, open source extension for Visual Studio 2012 and Visual Studio 2013 that turns Visual Studio into a Node.js IDE. NTVS 1.0 supports the free Visual Studio Community and Visual Studio Express for Web editions, as well as Visual Studio Professional and higher. Node.js is a platform for building fast, scalab

~yay~
 
just curious: Jan Dvorak isn't from slovakia, right?
 
Jan Dvorak invented me
 
@JanDvorak ^
 
6:12 PM
Why do you ask?
 
neat. Isn't node included in later VSs? 2015, maybe?
 
apologize
 
@JanDvorak I met a few Dvoraks there today
it could just be a common name
or a rare coincidence
 
Dvorak created the qwerty keyboard
yeah
 
@Luggage I haven't got a clue about that, honestly. I'm pretty sure it's going to be an add-in for VS15, but not 100% sure.
 
6:13 PM
ooooooooh
ok, just a common name
 
Hi guys, I was wondering if someone could help me with Angularjs and Parsejs? I'm trying to setup a sign in/sign up thing using this tutorial but when I add the data to my files, I get "Parse is not a defined command".
 
1 message moved from HTML / CSS / WebDesign
 
Does anybody here use the Dvorak layout? Or is it all QWERTY/AZERTY?
 
So I added Parse to index.html but it's not working. :(
 
6:16 PM
also, again out of curiosity: if we used the symbols 0123456789abcdefgh.... to indicate numbers, in which base is "a6" equal to "21" (DEC)?
my solution would be a strange 1.5 base
 
I literally just tried dvorak on an online tool, and wow... I can totally see the difference
 
in which you're allowed to use symbols that go over the symbol used for the rapresentation of the base
does this "base scheme" have a name?
 
@NickDugger the worst part about it is switching between computers
 
@ircmaxell Yeah, I can imagine
 
@towc I'd be looking for it under the name "sesquinary"
 
6:18 PM
I switched for 2 months to "programmers dvorak", which is dvorak but with the number bar inverted (shift to type a number, no shift for symbol). Was really awesome, except when I had to type on a qwerty keyboard (which was every day)
 
@JanDvorak on google I just see sesquinary as a kind of crater
 
@towc None. a would have to equal 15 ( 15 + 6 = 21) but base 15 is too high.
 
apparently noone uses the sesquinary base
 
@Luggage ? Let's say the base was x, then a6 = 10x + 6.
 
Also, a6 is a non-standard representation in sesquinary.
 
6:21 PM
10x + 6 = 21 -> 10x = 15 -> x = 1.5
 
a6 = xa + 6
replace the 10 with x, since x is the base.
 
@JanDvorak so there's no classification that you know of for this "non-standard" rapresentation?
 
as far as I can tell, it really sucks at representing integers
 
A quick question, for someone who wants to use Parse.js as the backend is angular.js the best option?
 
@JanDvorak I know, but it should be classified anyway... mathematicians classify everything
 
6:23 PM
@towc classified != named
 
by classified I meant named... sorry
 
But.. the value of the single digit 'a' is higher than the base. There are no 9's in octal, no G's in hex, no 'a' in "base 1.5". ?
 
@ircmaxell exactly why I switched back to querty
 
@Luggage and that's what is meant by non-standard I guess
 
I won't be using this system. :)
 
6:25 PM
my question actually was: how do you call a base system like that? I know it's really impractical, but I thought it had a name
 
sesquinary
sesqui- = 1.5 times
 
with single-digit overflow
 
@BenjaminGruenbaum yup
 
this is really cool
 
though I did have less hand soreness with dvorak than I do normally
 
6:27 PM
also, only the 'a' is base 1.5. the 6 is base 10
or at least not 1.5
what is this crazy shit, anyway?
 
@Luggage it doesn't make sense to define a base for the lowest digit
 
@ircmaxell Are you anywhere near the Angular team? (yes, I know they're mostly west coast)
 
@SomeKittens not that I'm aware of
 
ah, darn. That would be cool
 
you can give it a non-unit weight, but then your numeric system is going to be .... a bit of a mess.
 
6:29 PM
@Luggage 6 in decimal is equal to 6 in hexadecimal, if it's at the last place
 
gotcha
but you'd have so many way to represent the same number
 
Hey I know this isn't enough info but just wondering if this sets off any bells... I have an image I'm adding to the page with jQuery append but it's adding attributes that make it invisible...
Turns: <img src="img.png">...
into <img src="img.png" width="0" height="0" style="display: none !important; visibility: hidden !important; opacity: 0 !important; background-position: 0px 0px;">
 
unlikely
 
Raise any flags?
 
maybe you're cloning something you've hidden previously?
even then... that particular set of attributes is hideous
Malice, presumably?
 
6:32 PM
I was particularly surprised to see width and height attributes added..
The image src checks out.
 
someone is trying real hard to hide the image
 
What I mean is that this is getting added to the HTML I'm appending
Demo: thereachfoundation.org/_dev/cms1/page/video click a video, see bottom banner
Warning: first vid is sad, hit mute
 
89 and 480 (base 1.5) also equal 21
 
dat lag
 
in development
It's weird, image doesn't appear even if I remove the attrs in inspector
 
6:35 PM
which one?
 
the one that's supposed to appear in the grey banner
after you click a video
(if the overlay isn't appearing, might be I haven't checked your browser, am using win chrome)
 
I'm not clicking a video
 
@WesleyMurch love your avatar.
 
:) Thanks @Loktar
Ah well I know it's a cluster fuck, will try to reduce issue and maybe post on main
@JanDvorak I'm not baiting you into clicking something, just looking for help.
 
the ad, you mean? Have you tried turning off adblock?
 
6:38 PM
from amaan's facebook:
user image
2
 
@JanDvorak I think you nailed it! I have adblock on and am using classes like .advert. Totally it. You're awesome thanks!
 
I only get style="display:none !important" from Adblock Plus, though
 
Mine's more aggressive apparently
 
I block ads with a hosts file'
 
@towc lul
 
6:40 PM
Works like a charm, doesn't slow my load and companies can't pay it to whitelist them.
 
I have a video overlay that locates ads on the screen and replaces them with cat pictures.
 
@Luggage :D Similar to upsidedownternet?
 
I just have adblock
I hate being 'sold to'
 
@NickDugger Anything that's not 100% open source is likely sellin you out.
Dunno how adblock does things though
 
@SecondRikudo how do you block youtube ads?
 
6:42 PM
@JanDvorak I don't get them, so I'm guessing the hosts file cover those too.
I'm using this one
 
Man, I remember back in college where the concept of casting variable types confused the living crap out of me
 
adblock blocks youtube ads
 
#nostalgia
 
@SterlingArcher in my parlance "implicit casts" means "doesn't typecheck" = "probably bugged"
 
6:46 PM
typechecking is for squares
 
wrong. Typechecking is for the compiler.
Your compiler checks the types, and if it fails your code has a bug
 
@JanDvorak not really the same thing
@SterlingArcher casting is usually a mistake
 
In Haskell I'm yet to create a buggy code that typechecks
 
so I missed my 300000th message.
that makes me sad
 
the angular room is empty - anyone had angular not set the Access-Control-Allow-Origin header on random $http.get requests? it works on some $http.get requests, not others
 
6:49 PM
What's a type?
 
@Luggage A type of value, integer, string, object, etc.
 
A type is the set of values a variable or expression can have
 
that was a joke.
isn't that header (Access-Control-Allow-Origin) the one the server sets?
 
I was dead serious
 
@JanDvorak that's because you haven't written much haskell, probably.
 
6:52 PM
Hey everyone! A friend of mine posted this question on SO and I just wondered if any of you had any ideas.
 
I have tons of bugs in Haskell
 
@Luggage it's set on the request itself
 
inb4 cv-pls jlott's q
 
0
Q: I'm trying to post large amounts of JSON data with WCF, but I am getting BadRequest errors using body parameters

Jason ClarkFirst of all, I'm a new developer, so I apologize in advance if I'm missing something obvious. I'm developing a web application to work offline with large amounts of data in an IndexedDB. When the user goes to the webapp, the client grabs the entire database from the server and stores it for use...

Ignore the horrible title
 
!!nudge 40
 
6:53 PM
@towc Nudge #1 registered.
 
@JLott I can't :-(
 
@JLott fix their question, it needs to be shorter, without intros and more isolated.
without all the commented code
 
cv-pls too much code
 
I have tried to tell him lol
 
Made it so I don't have to cast :D
 
6:55 PM
Got a job at McDonalds? No casting there.
 
@JLott You can still flag -> close ;-)
 
flag flag flag!
 
Any good data validation libraries anyone want to recommend? Preferably something standalone that I can use on sever and client.
 
@Luggage nope, you were right ... i'm totally confused now
 
oh, here's somehting I wanted to discuss, strangely enough with programmers: I used to do a lot of rowing and I was really good at it, but then many strange things happened and I ended up getting thrown out of the rowing club I was racing for. Last year I started doing athletism (running). I'm currently specialized in longjump, and when I can't do that I do short distance running (100m). I am feel quite crappy at both and I don't really have much fun doing them...
 
6:58 PM
can someone please check this code
 
I want to help him lol not destroy him
 
@Luggage if(val>10 && val<100)...
 
why is the song not playing
 
@lovetolearn please check the console before asking
> Failed to load resource: the server responded with a status of 404 (Not Found)
http://jsbin.com/xihage/1/maid1.mp3
same for the second one
 
6:59 PM
... even if apparently I could enter the national competitions and do well. In a few days I will need to pay for the next trimester of running sessions, but I thought that maybe I could just leave it and do 3 months of rowing before I go to england
 
user1596138
Is the curtain behind Obama a “muslim prayer curtain”? Hint:Are you frigging kidding w/ that? http://skeptics.stackexchange.com/questions/27123/is-the-curtain-behind-obama-in-this-picture-a-muslim-prayer-curtain http://t.co/kmzSFbSvGJ
 
user1596138
Classy SE tweets..
 

« first day (1621 days earlier)      last day (3326 days later) »