« first day (908 days earlier)      last day (4047 days later) » 

9:00 PM
Hi @copy
Hello @Shmiddty
 
Hi
who is you?
 
Takarakaka :)
 
@OctavianDamiean why do you need to learn latin?
 
@FlorianMargaine Long story ...
 
@Takarakaka your name is fun to say
 
9:03 PM
I am glad you like it, @XCritics :)
 
Hello! Before I start going into details, is there someone who is willing to help me with my ActionScript basic game in which I'm unable to program wall collisions correctly?

And if not, does someone know a chat room somewhere that would help me with Actionscript?
 
@Ariane Flash makes me want to vomit
 
@Shmi Don't blame me, I don't choose the content in class.
 
user2157210
you chose the class
 
Rao
can anyone tell me if "XMLHttpRequest" is AJAX or is AJAX different?
 
9:07 PM
I have one Q. How to make tooltip that pops over my picture once the cursor is on the picture? Like in this scenario, stackoverflow.com/users/1460505/takarakaka once you get over the picture with your cursor, it blurs the lower part of the image? :)
 
@Rao Ajax is just an acronym.
 
Rao
@OctavianDamiean so what is XMLHttpRequest then?
 
@Nex I chose the program, and the program included Flash. To be honest, since businesses are slow to change, I'm thankful to be learning Flash. Although I wish we were putting more emphasis on more "future oriented" languages, it can't be helped. They're just beginning to modernize the program.
 
@Rao What the name implies it is, an interface to set off HTTP requests and get responses.
 
Rao
@OctavianDamiean so AJAX also uses XMLHttpRequest?
 
m59
9:09 PM
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script>
if (!window.jQuery) {
    document.write('<script src="/path/to/your/jquery"><\/script>');
}
</script>
How can that work?
Wouldn't this have to assume that the browser fails to download google's jQuery immediately?
 
Ajax (also AJAX; ; an acronym for Asynchronous JavaScript and XML) is a group of interrelated web development techniques used on the client-side to create asynchronous web applications. With Ajax, web applications can send data to, and retrieve data from, a server asynchronously (in the background) without interfering with the display and behavior of the existing page. Data can be retrieved using the XMLHttpRequest object. Despite the name, the use of XML is not required (JSON is often used instead), and the requests do not need to be asynchronous. Ajax is not a single technology, b...
First Google result.
 
m59
Oh I think I remember this one.
Those script downloads aren't asynchronous? So, it will try to get the first one and only continue after download or failure.
 
Rao
@OctavianDamiean thanks,
 
m59
Correct?
 
@SimonSarris was a link my my CSS post on r/css
reddit.com/r/css/comments/1c5n9x/… one downvote was nexxpresso being himself.
the other was idk, people not liking the awesomeness of css conditional logic.
 
user2157210
9:15 PM
now its a upvote
 
user2157210
for crying
 
0
Q: last object returned in chrome dev tools / python / irb /

Vincent WarmerdamIn matlab one could type in the following and get the following reply: matlab> 1+1 ans = 2 One could then all the last returned object by simply typing: matlab> ans ans = 2 That is, the last output seems to be saved in an object named ans. For this rather useful if you are playing aro...

 
I will cry! (tbh it's not so much about reddit karma as codepen 'likes' and 'follows', reddit just gets me views)
reddit -> fast track to hittsville
 
Maybe because nobody ever wants to maintain CSS "code"
 
hence 'experiment' ;)
fuck ever doing that in production
 
9:18 PM
@copy Arch ARM was easy to install.
 
@OctavianDamiean Nice, I'll install it too then
 
I just had to flash the SD card with a ready to use image.
Of course that's not a custom install.
 
m59
You guys got me on ignore today :)
 
We're not your employees
 
@OctavianDamiean Arch ARM on the pi?
how is it?
 
9:22 PM
Yea.
 
m59
It's all good.
Pretty sure I got it.
 
It is Arch-ish. :)
Haven't tested it too much yet.
 
Anyone here use JSlint ?
 
Use JSHint.
 
So I'm stumped on how to redo the lemonmeme menu.. Any ideas?
 
9:24 PM
@OctavianDamiean ok, well i was going to say i tried it and i got loads of errors about spacing? does it matter?
 
@Connor Use JSHint
 
@BenjaminGruenbaum i am now
 
@Connor JSHint = JSLint - All the stupid errors about stuff like spacing
 
@BenjaminGruenbaum cool
 
user2157210
9:29 PM
jslint is the worst
 
@Nexxpresso is it bad to use var?
i hear that it is
like var john = ''; or john = '';?
 
user2157210
eh?
 
user2157210
doesnt it make the vars global if you just use them without var?
 
@Nexxpresso It's not 'the worst', JSLint is a tool created by a guy so he can enforce his own standards. He said multiple times that it's tuned to his coding style by default, and that you can turn flags on and off to suit your need. JSHint is based on JSLint
 
@rlemon I have a kind of noob question...
 
9:31 PM
@Nexxpresso Yes, it does.
 
user2157210
so i would suggest using var
 
@Connor Are you trolling right now?
 
user2157210
ill just answer
 
user2157210
not sure if trolling
 
I am trying to make a MySQL database, I made a table, and i need to make a field
 
9:31 PM
@OctavianDamiean does it look like it?
 
@Connor Yes.
 
is the field the column?
 
@Connor Quite a bit, yea.
 
user2157210
it seriously looks like you are
 
@Connor You need to read a JavaScript book, not ask stuff like that around, it's really basic.
@BrandonGelfand Yes, it is
 
9:32 PM
@BenjaminGruenbaum is a field a column in MySQL?
 
@BrandonGelfand Yes, it is.
 
Unknown column 'time' in 'where clause'
that means i need to make a column called time
 
user2157210
wtf
 
I don't know what your schema is
 
user2157210
learn mysql
 
9:32 PM
@BenjaminGruenbaum im not going to read a book to get someones opinion.
 
@Nexxpresso i am 14 dude
 
user2157210
@Connor not using var is stupid
 
gimme a break
 
@OctavianDamiean so, whats your version of trolling?
 
user2157210
so?
 
9:33 PM
@Connor It's not about opinion, using 'var' isn't the subject of debate
 
user2157210
with 14 i could design databases
 
user2157210
maybe not normalized
 
@BenjaminGruenbaum did i say it was?
 
@Connor it's about the basic understanding of the language and how it works. Read "The Good Parts" if you already know and understand the basic syntax
 
@BenjaminGruenbaum so the where clause part
 
9:34 PM
@Connor "im not going to read a book to get someones opinion." It's not a matter of opinion
 
is that supposed to be a table? with a column called time?
 
user2157210
wtf
 
user2157210
what do you want to do brandon?
 
@BrandonGelfand I don't know what's your Schema like, I suggest you find a MySQL tutorial, preferably the official one and learn how to create tables and add columns and rows to them.
 
@Shmiddty different approach: for(i=256;i--;)putstr(it^=93>>i%8&1)
 
9:34 PM
@BenjaminGruenbaum ill feed you some more in a bit, busy, i know your hungry
 
@Connor It is just that we've told you countless times to learn the basics of JavaScript, yet you come back with more and more basic questions ...
 
Its a standard Information Schema
 
// Obtained using this:
s = "";
for(i in k=a.split(''))
{
    s += k[i] ^ k[-~i];
}

console.log(s);

k = s.substr(0,8).split('').reverse().join('');

console.log(k, parseInt(k, 2));
 
@Connor You're :) And You're ignored
 
user2157210
9:35 PM
Wait
 
user2157210
this guy was not trolling?
 
@OctavianDamiean so your telling me, you haven't got time for my BASIC questions?
 
@Connor It's just as if you'd ignore what we're telling you on purpose.
 
interesting
 
9:36 PM
@OctavianDamiean he's trolling
 
@OctavianDamiean what are you telling me?
 
@Connor NO FFS I'M TELLING YOU TO PICK UP A FUCKING BOOK ON THE MOTHERFUCKING BASICS!
 
@OctavianDamiean Dude... he's trolling
 
Got it?
 
Unknown column \'name\' in \'where clause\'
wtf is the where clause!
 
user2157210
9:37 PM
WTF ARE YOU DOING
 
user2157210
stop posting error messages
 
@BrandonGelfand You have a WHERE clause, like "SELECT name FROM users WHERE <-- That is your where clause"
 
user2157210
but he is inserting rows in a table
 
!!>var o = '',it;for(var i=256;i--;)o+=it^=93>>i%8&1;o
 
user2157210
9:37 PM
as i understand?
 
@Shmiddty "011010011001011001101001100101100110100110010110011010011001011001101001100101‌​100110100110010110011010011001011001101001100101100110100110010110011010011001011‌​001101001100101100110100110010110011010011001011001101001100101100110100110010110‌​0110100110010110"
 
@BrandonGelfand you can't alter tables on the fly, you need to run an ALTER TABLE command
 
copy too smrt
 
I am making em for the fist time
 
9:38 PM
INSERT (id, name, email) INTO users VALUES (1, 'rlemon', 'rob.lemon@gmail.com');
 
first*
 
@OctavianDamiean i don't get it when people like you get angry because i asked for an opinion, your acting like i'm in home pissing you off, well in fact i DIDN'T ask you anything, did i?
 
user2157210
read some basic sql tutorial please
 
if ID is auto_incrementing then pass NULL for id
 
@Connor you're*
 
9:39 PM
@Shmiddty Don't feed the troll
 
@Shmiddty i marked it in stars so you would notice :D pretty BASIC really :D
 
@Shmiddty only works for the first 16 so far
 
@CherryDT 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.
 
@copy Oh. I see
 
@Shmiddty stop spam pinging please
 
9:40 PM
Unknown column \'lat\' in \'field list\' FML....
 
!!/block @Connor
 
@Shmiddty Command block does not exist. Did you mean: lick, knock
 
@Shmiddty Right click his icon, click "hide posts"
 
!!/lick @Shmiddty
 
@Connor Mmmmmmm @Shmiddty tastes just like schinkenspeck!
 
9:41 PM
Also, it's not !!/block it's !!/ban
 
@JasonP 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.
 
!!/ban Connor
Like that
 
@BenjaminGruenbaum User Connor added to mindjail.
 
m59
lol
 
@m59 Welcome to the playground :D
 
9:42 PM
@JasonP Stop with this XSS nonsense man.
 
@JasonP , your name sounds like you're trying to send data over cross domain without the cross domain headers :P
 
m59
??
 
@m59 JSONP
 
m59
the heck?
 
m59
9:43 PM
LOL not that. Connor just pinged me.
Of course I know what jsonp is. That's week 1 stuff.
Then again, I find myself having odd holes like that all the time lol
 
user2157210
you got holes?
 
m59
Didn't you just ban Connor?
 
user2157210
odd holes?
 
Not really, if you're making your own website there is really no reason to use JSONP :)
 
m59
For dealing with API's.
 
9:44 PM
@m59 I can't ban people, nor I would if I could...
@m59 Cross domain headers + don't support IE7 > JSONP
 
m59
hm. Gotcha.
 
@BenjaminGruenbaum how do i setup a where clause in MySQL?
 
m59
Yeah, I ended up with jsonp vs json because of IE.
 
@BrandonGelfand SQL is a querying language. A 'where' clause is for filtering
 
user2157210
holy where are you from brandon?
 
9:46 PM
@BrandonGelfand Let's say I try to SELECT stuff, that's done with something like "SELECT someproperty,otherproperty FROM mytable"
 
so all i need to do is make a column called time?
 
@m59 is, 'the good parts' a book by that man you sent me a video of the other day?
 
However, it would select every single record in the table
 
user2157210
@BenjaminGruenbaum i dont think he even ha a tale
 
user2157210
just try select * from tablename;
 
9:47 PM
@BrandonGelfand So you need SELECT someproperty,otherproperty FROM mytable WHERE <condition here> , condition could be something like ID = 1
 
m59
@Connor I dunno dude. I use google. You heard of it?
 
Hello everybody, it looks like there is no way to remove anonymous event listeners which somebody else added. Do you have any idea how else to prevent bing.com from automatically moving the focus to the search box as soon as a key has been pressed? I need to inject JS into some pages, and on Bing my code doesn't work because I am displaying UI in the page which contains an input box which doesn't work because Bing is stealing focus on every keypress.
 
@Nexxpresso I think he needs another field but doesn't know how to add one using ALTER TABLE
 
ok.... i think i understand......
 
@m59 join the crowd :D
 
9:48 PM
@CherryDT Hmm, that's interesting. Does your script run before the script that adds the event listeners?
@BrandonGelfand You should probably look into PhpMyAdmin or something similar, it lets you alter tables easily from a graphical interface, and shows you the command that did it so you can use it later. Just don't forget about SQL inection
 
user2157210
@BenjaminGruenbaum wtf dont
 
user2157210
let him learn it right from the start
 
@CherryDT As for the focus, you can use change the focus later yourself ("steal it back")
 
@Benjamin: No, unfortunately not. I can't have my script run before Bing's scripts run, otherwise I would just create a wrapper around addEventListener.
 
@Nexxpresso I don't know a single programmer who learned it right from the start, chances are if I had to write MySQL right now I'd get syntax error and I used it for years before switching. While I agree he needs to learn MySQL properly, learning it from an SQL book or tutorial that gives him no graphical intuition (and Branden is not CLI inclined) will probably just frustrate him
 
9:50 PM
@Benjamin: Hm, stealing it back... I'll try that - I wonder why I didn't think of such an easy solution.
 
@CherryDT You didn't want to steal it back because that's an ugly solution, however that's probably the best you can do
 
user2157210
@BenjaminGruenbaum i started with simple cli mysql for my first game server
 
user2157210
and now i got database design classes
 
@Nexxpresso Maybe you're more CLI inclined than him, if I had to design a table right now I'd probably still use a graphical tool. I'd probably just do code-first though
 
user2157210
sure its easier to use a gui
 
user2157210
9:52 PM
but first learn it by hand so you can use a gui
 
user2157210
because even in a gui you cant do every select join subselect whatever
 
user2157210
with a click
 
i made a table called parties, it said Unknown column 'time' in 'where clause' so i made a field called time and set the type to time and saved it
i dont do anything else right?
 
@CherryDT Hmm, I'm not sure it's possible in a reliable way, you can use removeEventListener but that's not really crossbrowser. Also you'd need access to the event listeners
 
or should i set the type to text?
its also set to not null
 
user2157210
9:54 PM
well there is nothing in it but set to not null
 
ok and should i leave the type as time? or text?
 
1
Q: .NET XML Serialization with a static class in Unity: InvalidOperationException

OWizI'm using Javascript with Unity to save data as XML. I'm importing parts of the .NET library to give me the XML serialization functionality I'm trying to take my static Global class and turn it into XML. I get this InvalidOperationException: The type of the argument object 'System.MonoType' is...

 
user2157210
wait are you doing a database for a website design which has a specific database designed already?
 
user2157210
and you do not know the database design?
 
9:55 PM
no
 
user2157210
and you have to pretty much reverse engineer it from the scripts in the website?
 
now u understand my problem......
 
user2157210
or do i understand you wrong
 
@BenjaminGruenbaum: Hm, unfortunately stealing it back it only works if I add a new keydown listener to the document element, as the original event is. I tried adding it to my own input box, but this didn't work (probably because of the event listener processing order). Returning false would probably prevent the other listener from running, but unfortunately also from actually adding the character to the box.
So I am afraid I need to add the steal-back-listener to document and add a check if the URL is Bing (so it won't interfere with other input boxes on other pages)... Thanks.
 
@Nexxpresso u r spot on
 
user2157210
9:56 PM
who did write the website and the queries?
 
my teacher got this thing from some where and said do it, no guide, nothin
 
user2157210
wut
 
user2157210
can you zip all files
 
user2157210
your teacher gave you?
 
welcome to my world...
yeah i have a zip
 
9:56 PM
@CherryDT I'm sorry that's the best you can do. Why is bing doing this anyway? Why would anyone use bing is beyond me, but if you are, I don't get why it's steal focus... oh well
 
user2157210
upload somewhere
 
@BrandonGelfand Your teacher seems to be a dick.
 
user2157210
No
 
k, i will put in dropbox
 
user2157210
his teacher seems to do it right
 
user2157210
9:57 PM
thats the way you learn it
 
No guidance at all is bad.
 
user2157210
when you have to reverse engineer things to understand
 
user2157210
perfect to learn
 
user2157210
well come to my SOE classes
 
@copy for(i=256;i--;)putstr(it^=1566432605>>i&1) correct for the first 64 (but 2 chars too long)
 
user2157210
9:58 PM
teacher does everything shows everything because those retards in my class do not understand anything
 
@Shmiddty what if you write that number as a hex literal?
 
@BenjaminGruenbaum maybe
 
Nope, as long
It's 5d5ddd5dx0 which is as long as 1566432605
 
@BenjaminGruenbaum: Personally, I don't use Bing. But my injected code needs to work in several pages, including Bing. I think stealing focus makes perfect sense from Bing's perspective, since they are only stealing the focus from themselves: They don't expect other stuff to be running inside their window (after all, my code is injected after the page has been loaded).
And it might have appeared to them that this is actually a nice feature because it means that the user can click somewhere (e.g. on one of the radio boxes below the input box) and start typing without clicking on the input box again.
 

« first day (908 days earlier)      last day (4047 days later) »