« first day (873 days earlier)      last day (4079 days later) » 

9:00 PM
because you whine like a little girl named Kate I know.
;) ohh burn
 
LMAO !!
 
@JigsweelJigsweel you make no sense. Can you explain your problem? Do you have a list of video and want to play the next video automatically when the previous one ended?
 
Proposal: Bot yells at people who write things like "LMAO!!!" or "XD"
 
What's "XD?" <-- just turned 38 yesterday.
 
// what is this missing, for a simple chat system
rooms
- id
- title
- desc
- created_on
- access_mode
messages
- id
- room_id
- name (username)
- posted_on
- text
 
9:01 PM
Proposal: That I finish my work.
 
@Porizm hey, you got a nice portfolio website but didn't liked color scheme

http://www.porizm.com/home.htm?202142113#
@Zirak its xD not "XD" ;)
 
Anyone?
 
Oh.
 
Proposal: Zirak give us his real (name, age, position on the globe)
 
@user1926701 Everyone ?
 
9:02 PM
Why did I get the smiley with the smaller X?
 
No, I asked "Anyone?".
 
Someone!
 
@dievardump yes, and I can solve this, but now I need to get duration and current Time, but cannot solve this
 
@MuhammadRaja too much dark you think?
 
All the xD smilies are ugly.
 
9:02 PM
^ yes!
 
Errr. Nobody's going to help me. =[
 
SO WHY DON'T YOU TELL THAT BEFORE I HAVE TO GUESS WHAT YOUR PROBLEM IS.
I do not know how to do that.
 
I tried to access element values like I do for function, but not working
 
@ThiefMaster "xD" is for girls
 
Somebody help me. I give presents.
 
9:03 PM
@user1926701 I will try to
 
@user1926701 not if you come here and begin to cry before asking a real question
 
@user1926701 don't troll and tell us what's your problem
 
Are you experienced with Apache/PHP/MySQL?
 
@user1926701 stop fucking begging for help! jesus, and I've seen you ask for help maybe 5 times and where is your problem?
 
9:03 PM
I am not trolling.
 
NARQ.
 
It does make me think of squealing Japanese schoolgirls for some reason.
 
what is your question
 
We do JavaScript
 
This isn't begging.
 
9:03 PM
WHO ARE YOU!
 
I am probably more experienced than you.
 
@user1926701 Nope, I am a carpenter
 
Probably
 
and you're not going to get help now.
 
I know jquarry
 
9:04 PM
because you're being a douche
 
It's not like I couldn't fix this myself.
 
^ it's not an insult it's an observation
 
I like getting to know others' comments.
 
jquarry.com - possible name for a jquery-troll-wobsite
 
@user1926701 is that reverse psychology? because you're really not good at that
 
9:04 PM
I've never made friends with a douche. I guess we wouldn't have many things to talk about, with his life goal being shoved into a vagina.
 
@user1926701 You sound like a fat old woman, who just wants attention, No offense, whats your question :P
 
Or javascript library that normalizes rock-mining.
 
I'm not here to be insulted, I'd rather leave.
 
@Zirak well then, him and I have that in common!
@user1926701 good call
 
@user1926701 Have a nice day.
 
9:05 PM
Strong developers don't use jquarry.com!!! or jQuery
 
alright...

$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
rlemon.push($result);
 
we don't need someone who is better than all of us anyways. how would we sleep at night
2
 
Hy, can anyone please explain me this code.
var myObject = (function( ) {
//Some attributes

//return object-literal
}( ));
I get headache of this parenthesis
 
@Srle google "IIFE"
 
@JigsweelJigsweel you shouldn't use mysql_query
 
9:05 PM
!!/google iife
 
^ best explanation you will get.
 
^ true
 
thanks :D
 
First idea: $.$: Calls $.anything if the parameters (type and count) passed to $.$ match those of $.anything
 
9:06 PM
I use jQuery. I could rewrite my own DOM normalization/cruft-reduction library but everybody has jQuery. So why not? And I actually like the way it was originally written. Starting to get a little bloatey with the constant deprecation/changes to the API though I think.
 
@JigsweelJigsweel mysql_* functions are horrible, use PDO instead
 
@Porizm too dark and you should never put "Donate" on a portfolio website :|
 
Also kind of pointless for DOM normalization once people drop IE8 support.
 
We should take possession of every jQuery cdn and replace the file, that should be our life goal
We should be the Pinky and the Brain of that goal
 
Example: $.$(function() {}): Shortcut for $.ready, $.$(3,4): Shortcut for $.add
 
9:08 PM
how would you subtract?
 
$.add?
 
@dievardump variadic, of course
 
@JanDvorak If there are multiple functions with the same type signature, the function is choosen randomly
 
People what's your favorite Fiddle on JSFiddle ?
 
$.add(1, $.timebynegativeone(4)); // shortcut for .subtract(1, 4)
 
9:09 PM
$.$(3,4): Randomly calls $.add or $.sub
 
@copy How did you know about the Java portion of our codebase?
 
@MuhammadRaja every fiddle I've ever written
 
@rlemon there is always 1 "best"
 
@MuhammadRaja if you want to 'view cool shit' look at codepen.io instead
 
9:10 PM
it's more of a showcase site.
 
@MuhammadRaja wow, you're bored.
 
9 mins ago, by rlemon
// what is this missing, for a simple chat system
rooms
- id
- title
- desc
- created_on
- access_mode
messages
- id
- room_id
- name (username)
- posted_on
- text
 
@Zirak nope, I am getting serious about learning JavaScript now ;)
 
keep in mind, no logins.
free for all chat
 
@MuhammadRaja If you say so
 
9:12 PM
btw that is my table structure.
 
@rlemon I'd recommend against using php/mysql, but it seems to encapsulate the basics; you can do away with some things.
 
just hate doing sql
@Zirak crawl before I walk. Having had 0 success with node.js I'm doing what I know first.
then move up from there
 
Changing platforms is not fun
 
it would be a re-write anyways.
first run is just to make sure I understand how a chat system should work and what issues may arise
 
And using node as a chat server has been heavily demonstrated and explained since, well, text exchange is what people think of first when they do message passing.
 
9:14 PM
getting node.js working period is my issue, not the chat.
rage-quit from last attempt still hasn't worn off.
 
When was it and what on?
 
centOS 6 and like ~2 months ago
but now I have to cleanup that server because it's got old node.js on it and some stupid npm packages and old versions of everything it seems
problem with node: it's updating too quickly!
 
Odd...if you're having problems with the distro's packages, you should consider building it yourself. I've had no problem on that front
 
I can always get it working locally on Ubuntu and with windows.
@Zirak tried a manual build, but AFTER trying the yum package.
so i'm not confident I didn't remove everything from the first bork.
because the second didn't work either.
keep in mind i am specifically talking about my GoDaddy VPS
locally I have had no issues, but I would need it installed on my VPS
 
Sorry, can't offer you help on that end
 
9:18 PM
Yeah, I'm kind of sad and glad I waited until about now to start getting into Node. Glad for that reason though.
 
hehe... Net Upgrade Size: -3.20 MiB
 
For sure, Zirak is from USA
:D
 
No, Israel
 
Your superior intellect has vanquished all my defenses
I am defeated
 
@Zirak I was reading this answer of you

http://programmers.stackexchange.com/questions/122191/what-benefits-are-there-to-native-javascript-development/132357#132357
I didn't get the car mechanic story you typed Lol
 
9:21 PM
Now I'm intrigued. What led you to the conclusion I'm American? The car metaphor, as cars do not exist outside of the USA?
 
He didn't understand it => You must be stupid => You must be American
Easy conclusion
 
Doesn't admit to being an American -> no over-patriotism -> NOT AMERICAN!
 
It's a crime that answer didn't get accepted.
You're a North American.
 
I'm especially proud about my comment there
 
@Zirak the way you explain the situation, @English
 
9:25 PM
If I had to seriously Guess, I would place him somewhere in Europe :P
 
Does being envious of Canada make me American?
 
it's a safe answer
@RyanKinal no, it' makes you a bad american.
you're supposed to look down on us (while looking up?)
 
I think I'm okay with that
 
does being Canadian make me a bad Irishman?
 
... are you from Newfoundland?
 
9:27 PM
lol
Zirak is italian, and is just a corporate entity, he is not a real person.
 
O.O
HOLY CRAP
 
Zirak Information Technology, Most of you won't know what the fuck we're talking about, but we get the job done.
 
ZIT?
Please. I'd have chosen something who's initials are not ZIT.
 
@ErikReppen ... I'm not sure the prefix "Zirak" is necessary for that description.
 
Also, if Zirak was American he probably wouldn't jump to the Formula 1 reference. Although now he's made a zit joke, which the Brits call "spots" so I'm confused.
There are of course no other English-speaking countries worth considering.
 
9:33 PM
My identity is so confused
 
and trying to google anything Zirak sucks because apparently it is a common last name in some parts of the world.
but Zirak claims to have just made it up off the top of his head
zirakertan proves less useful
however zirak ertan does not
 
I'm not sure I'd exactly trust anything Zirak claims about his identity.
 
Actually, people stole "Zirak Ertan" as well.
 
Even if it is him claiming that his identity is fake
 
and I remember us once finding out his name is like bryan or brendan or something
 
9:36 PM
He's not a man, he's a kingdom:

http://services.runescape.com/m=clan-forum/threads.ws?page=7&threadid=38fx
 
Now you see why you can never meet me?
 
Now that I think about it, I should probably use a gender-neutral pronoun when referring to Zirak
 
it's Zirak!
^ done to the "its pat" theme
 
He has a curly-bracket mustache.
 
seriously funny movie
 
9:37 PM
Ha ha, that was an outrage.
 
in the movie the actor who plays pat is a girl, but pat marries a guy leading us to believe it is really a girl, but pat looks like a man and makes jokes throughout to further confuse you. is it an ugly chick? or a gay dude? or both?
 
@rlemon I declare today your birthday
Happy birthday!
 
yay!
where is my cake bitches!
 
@rlemon I could honestly say it seemed like the hijinx(es?) would never end.
 
9:45 PM
 
you guys are failing me
 
Screw you man, I found two whole images of cakes.
 
loooooooooooool
 
I slaved over images.google.com for a good 30 seconds
 
             ,%%%%%%%%,
           ,%%/\%%%%/\%%
          ,%%%\c "" J/%%%    ,,,,,
 %.       %%%%/ 6  6 \%%%    |||||
 `%%.     %%%%    _  |%%%  @@@@@@@@@
  `%%     `%%%%(__Y__)%%'  {~*~*~*~}
  //       ;%%%%`\-/%%%' @@@@@@@@@@@@@
 ((       /  `%%%%%%%'   {~* HAPPY *~}
  \\    .'          |    {  BIRTHDAY }
   \\  /       \  | |    {~~*~~*~~*~~}
    \\/         ) | |    @@@@@@@@@@@@@
 jgs \         /_ | |__     __) (__
     (___________)))))))   /_______\
 
9:46 PM
^ this was my actual cake from last year
 
top that!
 
nice 1
 
@canon rofl
 
nananananananana BAT CAKE!
 
9:48 PM
http://2.bp.blogspot.com/-FDu5JnvZ0LM/TmpVXepVzJI/AAAAAAAABKU/DzeykDIPkcM/s1600/deathstar.jpg

Yes, cake.
 
dickerdoodles eh
 
There was one birthday of mine where my then-gf decided to make me a rubix cube cake. With black food coloring. Using my brand-new bamboo cutting board as a cake board.
 
My cutting board turned purple. As did my kitchen.
 
9:50 PM
^ going to get me this little guy in about ten minutes
 
@rlemon Oooh, purdy
 
I didn't respect fish as pets until I finally sat and actually watched them interact in an aquarium one day.
Before that, I just thought of them as food I didn't like.
 
@Zirak thats seriously cool man
 
but why are you looking at a french site?
Zirak is south african
 
9:53 PM
I could have sworn he was Norwegian.
 
who else uses cryptic names
 
Nei, det var jeg.
 
Zirak returns a buncha random shit
 
Well, my parents were.
South African would fit the F-1/Zit references according to my labor-intensive 1-google research on South African slang.
 
and they do speak french there if i'm not mistaken
 
9:54 PM
Dutch-ish. Afrikaans.
 
he pays too much for computer hardware to be from Canada :P
@Zirak how do you like us analyzing your life.
 
I'm amused
 
wait just a frikkin minute.
why does Neal show up in my image there
o_O
 
I'm mostly assuming he's a native English speaker for his mad writing skills though. And yes, definitely a double-entendre there.
My parents ARE Norwegian. Yeesh, morbid mistake.
 
Any reason why this doesnt work var z = document.getElementById('count'); // paragraphvar c = parseInt(field1)+parseInt(field2);

z.innerHTML=Math.round(c);
 
9:58 PM
What error do you get?
 
no, but innerHTML shouldn't be used here
what browsers are you having to support?
 
firefox
 
thats it?
 
School project I take it.
 
and 'z' only has a textnode in it?
 
9:59 PM
What's field1 and field2?
 
var field1 =document.getElementById('field1').value; //input value1
var field2 =document.getElementById('field2').value; // input value2
im very new to javascript so be kind =)
 
parseInt expects a radix
parseInt(number, radix);
 
@ErikReppen nope, English isn't my mother tongue. But I've spent the majority of my childhood reading.
 
for your examples I will assume dec, so 10
 
10 isn't default?
 
10:00 PM
@ErikReppen not a guarentee
you shouldn't let the engine guess your intent, tell it your intent.
 
oh, and a more important question: What do you mean by "not working"?
 
well, 5pm, fish store, beer store, home!
later gators
 
Ooh, beer store... good idea
Later
 
@rlemon Happy fake birthday
 
Thanks pop!
 
10:01 PM
well its not rounding up the numbers
 
@rlemon no he is my father! get your own!
 
o_O
 
@Zirak I'm not shocked. It was fun to speculate though.
 
backs away slowly
 
@Sebastian `parseInt` parses as an int, so any decimal values will be ignored:
!!> parseInt(2.4);
 
10:03 PM
@Zirak 2
 
Opt for the Number constructor/function or parseFloat
 
@Sebastian I don't think the latest version of FF would have the old nasty version of parseInt but you're not parsing strings that start with '0' are you?
 
@Zirak What's your mother tongue?
 
No im not
 
@AmaanCheval Kryptonese
 
10:05 PM
@AmaanCheval Based on his age I'd say Aramaic.
 
Hahaha
 
☺
 
@AmaanCheval Hebrew
 
@Zirak base64 :-P
 
10:06 PM
@BadgerGirl That's what I'd guessed based on the assumption that he's from Israel
 
@BadgerGirl never say No to me
 
It's not going to start spewing Bible quotes or run trivia games is it? Please no... the humanity! Bring on the singularity before another chat bot trivia game... (but on a serious note, impressive) — Mark Henderson yesterday
@Porizm ... get the hell out of here
 
@Porizm Curb your enthusiasm
 
Wow, RebolBot!
 
@RyanKinal oh, why?
 
10:07 PM
@Sebastian Okay, so if you don't have firebug, install it and tell us what errors get thrown in the console. Also, verify that you actually have elements with those IDs. Checking the HTML is always the first thing I do.
 
Ok wil do
 
^ In case someone is intterested
Interested*
 
@rlemon 10 is default according to spec, unless you were looking out for that octal overload business which yes, is righteously nasty.

http://www.ecma-international.org/ecma-262/5.1/#sec-15.1.2.2
Not a concern in strict mode though.
 
hrm, I should probably ask George Edison to take a look over the bot
 
Cripes, I totally forgot to ask you guys about this. So I've got a JSPF file that's in layers upon layers of other JSP includes, tiles and all kinds of other overly fragmented BS in our java codebase. But I swear to god it's actually nuking the global space somehow.
 
10:12 PM
@RyanKinal ????
 
@Porizm Really? Maybe I missed some context, but the phrase "never say no to me" is... just stupid.
So, as far as I'm concerned, you can gtfo
6
 
There's a script tag at the top of it where I can declare a global var that disappears in a script tag at the bottom. If I assign as a property of the window object, it's still there.
 
@RyanKinal yeah exactly, it's stupid, I just enter this room to take a rest time, ie talking with idiots like you
 
I'm not seeing any frames or iframes in play.
 
Speaking of talking to idiots, does the mobile interface allow you to flag things?
 
10:16 PM
Ahhhhh, that's better.
 
@Porizm Whoooooww! Easy my very weird and young fella.
 
guys, he interfered, so he started
 
!!s/fella/padawan/
 
@copy Y U NO MAEK SENSE!? Could not understand s/fello/padawan
@copy Y U NO MAEK SENSE!? Could not understand s/fella/padawan
@copy @Porizm Whoooooww! Easy my very weird and young padawan. (source)
 
3 tries :(
 
10:17 PM
He started is always an awesome argument
@Zirak What do you think about it?
 
So, global space in JS. Ways to nuke/reset it, nobody familiar? I was setting arbitrarily named stuff so it wasn't a coincidental namespace collision.
 
So did anyone figured out where zirak actually from
 
@ErikReppen Don't use it, best practice
 
Israel, most likely
 
@BenjaminGruenbaum so u disagree with me?
 
10:20 PM
@MuhammadRaja Imho if you asked Zirak where he is from and he chose not to answer, you should honor his choice and not dig into it.
 
@Porizm It's save to say that pretty much everyone in here disagrees with you.
 
@BenjaminGruenbaum You don't say. Never heard that. All my problems are solved.
 
@OctavianDamiean why, what's wrong ?
 
@BenjaminGruenbaum Who said he don't want to, I thought we were playing a guess game
 
@ErikReppen You can save a copy of the global namespace properties when you begin your execution, then delete everything that got added later on. That's like unbaking a cake though.
 
10:21 PM
@Porizm You're being a douche; that's what
 
@Porizm I don't know what's wrong with you, I'm no psychiatrist.
 
What I was suggesting (and for some reason I fail to understand) offended you is that you don't use the global namespace to being with
@Porizm How old are you?
 
27
 
I feel aggression in the air :(
 
Oh, hey! You LOST THE GAME.
 
10:23 PM
I'm looking for a word
 
@jAndy everyone in this room is fighting me, and really don't know why
 
stop
 
HAMMERTIME!
 
@BenjaminGruenbaum It's kind of a rookie thing to not know that. Also this is legacy code. Server-side devs mangling the client-side that I now have to deal with. I am able to assign properties directly to window that do persist but not a var out in the open. It's really weird.
 
10:24 PM
Maybe you're just not accustomed to internet culture
 
Despite several requests and a suspension, you continue annoying Badger Girl. We do not like that.
3
 
> ♫ Hate is in the air everywhere I look around - hate is in the air every sight and every sound ... ♪♪♪
 
@Zirak have you ever heard a word "kidding" in your entire life?
 
hey guys
can someone help me
 
@ErikReppen I always start with the most basic solutions when trying to answer a problem. I try not to assume anything. If you think it's because I'm not taking you seriously it's not. In what context are you running your JavaScript code?
 
10:25 PM
You're not the first guy to confuse "creepy" with "kidding" so knock it off.
 
@Porizm Yes...I'm sure you were. But that's irrelevant to the fact you were asked to stop that behaviour, whether you were joking or not.
 
I have a problem. See I used Bootstrap (bootswatch to build my website) and now I want to overridde some of the defualt styles
 
@Porizm You piss us off, we're not kidding (there I used the word in the right context).
 
If you want to come here and chat, feel free. However as time goes by it seems like you're intentionally antagonising everyone
 
@Porizm: I like your site ! I totally love the bells and whistels thing ! moaar bells !!
 
10:26 PM
!!/google bootstrap override default styles
 
@jAndy thanks, but what bells?
 
just common speech
 
@BenjaminGruenbaum We're talking total Java dev nightmare code. Tiles, JSP/JSPF includes intermingled with ajax-style includes branching and going as much as 9 levels deep sometimes. But IIRC, I was not seeing any JS in the middle of this thing or additional includes. Assigning to window alerted successfully at the bottom. Defining a var outright alerted undefined. Fixing the problem is of less interest to me than how tf this is even possible.
 
@Zirak :,( im wronged
 
10:29 PM
Suck it up
 
@ErikReppen That means your code is probably running in some closure context. Did you try putting a debugger; statement where it runs and see where that takes you?
 
Oh please ... don't go all victim again ...
 
@BenjaminGruenbaum Both pieces of the code are in script tags directly in the HTML, which yes, I also wouldn't typically do.
 
@ErikReppen You can't 'reset' a JavaScript object you can .freeze or .seal it (but that probably wouldn't work with window). Execution is monolithic, I'm not sure what you mean by alerting, do you mean that if you assign properties with var a = 5 then a is undefined later but a=5 (or window.a=5) works?
 
10:32 PM
Old school alert statements. It's what I do when things are really weird.
 
.freeze() works on global object like window :P
 
:8140722 Just to be clear, your scenerio (simplified) is similar to:
    <script>
        var a = 5;
        b=5;
    </script>
    <script>
        alert(a);//undefined
        alert(b);//5
    </script>
 
I wrote a library for that.. "egoism.js" which just freezes window
 
10:35 PM
this is crazy

http://codepen.io/grancalavera/pen/bCnhs
 
Wasn't familiar with freeze. But if anything the window object isn't frozen and the global space somehow is.
Also this is really old-schools stuff. Anything new in ECMA5 would be implemented by accident most likely.
 
@Zirak O_O
 
@Horse_ebooks
Horse ebooks
17.2k tweets, 160k followers, following 16.1k users
 
@ErikReppen I'm sorry, I don't think I truly understand your problem in depth, and I fear I will be unable to without further details
 
Is there a way to access global space without window? It's like there's two layers all of a sudden. IIRC assigning a var out in the open isn't 100% exactly the same as assigning as a property to window even though that happens implicitly.
 
10:39 PM
@ErikReppen well, eval works, also this when already in the global namespace refers to ti
Also, it is window
 
posted on March 07, 2013 by Victor Rodriguez

How Do You Build a Holodeck? Update on the Comet that Might Hit Mars Evil Empire Beware: Gas Giant Planets are Hard to Destroy New Evidence Found for Europa's Vast Ocean --Increases Potential for Life

 
Hmm. That's a thought. Maybe this outside of a constructor isn't exactly the same as referring to window directly somehow.
 
I was thinking maybe something about java pre-processing of templates was more messy/complex than is obvious and actually involved the client-side somehow.
 
(But, I get a point on my argument against functions acting as constructors from that question :P )
window===this //true
 
10:43 PM
Forgetting to use the new keyword is not an argument for ditching funcs as constructors when it makes sense to use them.
^ good point on the exact equality evaluation.
I wonder if assigning to Window.prototype also gives you the global access.
Well in Chrome it does.
I actually made this a stack question somewhere and people started downvoting the crap out of the Q until I started adding disclaimers but this is seriously !@#$ed behavior. One other thing they've been doing that's awful is setting X-UA compatible to IE7 on absolutely every resource on the page (not sure it matters anywhere but the resource file) but in spite of a doctype it still goes into quirks mode on that page.
Also, I can't verify outside of IE. Everything breaks in Chrome.
!@#$ing java devs.
Another thing that might be relevant is that the tools were arbitrarily setting X-UA Compatible = IE7 from the load balancer, not just on the HTML but on every single linked resource. And yet, even with a doctype, the page still goes into quirks mode.
 
I feel so sorry for you :P
 
You should. I've seen worse.
 
I'm going to buy Simon's book. If his book is just as well written as his canvas tutorial it must kick ass.
 
TBH though, I'm actually kind of thrilled to see something this hosed. There's something about JavaScript under the hood to be learned from it or I'm just missing something obvious.
 
@OctavianDamiean Please let us know :-)
 
10:58 PM
Is there a regular named Simon who authors JS books?
 

« first day (873 days earlier)      last day (4079 days later) »