« first day (1284 days earlier)      last day (3666 days later) » 

8:00 AM
Do I miss something or is this some very obsolete code ?
Where does this code come from ? Did you just paste random code found in an old internet page into your own code ? — dystroy 2 mins ago
 
@JanDvorak so, if I have a table and I add drawers to it where I can put things, does it make a table with drawers conceptually different from usual tables.
 
Hello good evening everyone, is there anybody here ever tried page down? code.google.com/p/pagedown
 
@Oleg it does, because now you can have multiple things in the table
 
netscape navigator 2.0
 
@dystroy It's called newb programmer's syntax
It often involves mixing uppercase and lowercase letters, writing code similar to the english language, and causing you to want to go to SO for every little problem you may have
 
8:06 AM
ROFL
See, the original syntax for Harmony classes (simply called classes) was considered too verbose. Hence they came up with a new syntax and called it minimal classes. Being yet dissatisfied they simplified the syntax even further, calling it maximally minimal classes. Fortunately they ran out of superlatives so I believe that this is the final syntax. Let’s cross our fingers and pray it doesn’t change.
2
 
optimally modest verbose maximally minimal classes
 
haha oh noes!
 
ClassesV4
 
optionally optimally modest etc
 
i had 10hrs sleep last night, why am i so tired?
 
8:13 AM
@DrogoNevets premature bed evacuation?
 
I think a nap makes you sleepier if you enter REM sleep before you wake up. Or something like that.
 
@Neil copyToClipboardCrossbrowser <-- told enough to me
 
@JanDvorak depends on your definition of premature, i got out of bed just in time to get to work on time....
 
so, woken up through alarm. Not good.
 
as i am every weekday near enough
 
8:14 AM
out of curiosity : which alarm do you have to wake up
 
I prescribe early bedtime and wake up naturally..
 
@DrogoNevets set the same alarm to weekend as well
 
@JanDvorak HELL NO! i like my lie ins!
 
but they throw off your schedule
 
what kind of crazy is that?! an alarm at the weekends?!
 
8:16 AM
@Schoening : well to be fair, it's to ensure that i wake up on time. Sometimes i wake up some minutes before it's ringing, so i had to turn it off
i have this
watch-o-alarm \o/
/back 2 work
 
@KarelG A four months old kid who rings exactly 40 minutes before I would like to wake up
 
@DrogoNevets otherwise you're just confusing your body
 
I feel like shit if I go to bed late and wake up late. Do it all the time though.
 
@JanDvorak i dont normally feel like this though
 
Waking up early on weekends is awesome.
 
8:20 AM
really ?
 
But need to go to sleep early and regularly.
 
The best feeling was always to think it was monday. And then realizing it was sunday.
 
wake up at 6.15 am during weekday versus 9.00 to 9.30 am during weekends is a huge difference for me :o
 
my one optimistic thought is 4 day week this week, 3 day next!
 
@AlexanderGrooff 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.
 
8:24 AM
@dystroy : commented that he should jump on a timemachine and return to 2014
 
What ? Aren't we still in 2014 ? Did I miss a year again ?
 
We had Hal. We got Caprica Six now. I propose we get Seven of Nine in the future.
 
@Schoening I can live with 7
 
Ehh, never really thought she was all that great
 
although we have yet to have Data, or any of the droids from star wars
 
8:36 AM
@Vijay.SmartPh 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.
 
@Kippie did you not look at her physical appearance?!
 
Ahh.. but you see, Data does not have boobs @DrogoNevets
 
@Schoening very true, but brent spiner does now have moobs....
 
@DrogoNevets I did. It's nothing compared to Caprica's
 
but if we must leave caprica....who do we go for?
 
8:38 AM
C3PO. And he would have to talk a bit awkward
OR
R2D2. and the welcome message would be in morse code
Or I could just watch Battlestar Galactica
 
@Kippie : new bot
 
gotta love me some fembots
 
xD
 
@Kippie cant see it, but did almost suggest fenmbots myself
I personnally think we should go for dr theopolis
 
Or, you know. We could just not change anything because CAPRICA IS FUCKING PERFECT ALREADY
 
8:46 AM
guys, going to restart pc, so don't say anything hilarious or I'll kill a less-than-a-month cat
ok?
 
syntax error at ' ok? '
 
We should all restart at the same time to avoid this issue
 
some ppl can restart faster then others
but heck, it shouldn't take 10 mins to restart, so just look up in the records to not miss something
 
We implement a delta timer into the operating system
 
based on ... ?
 
8:51 AM
The slowest computer available
I'm not really thinking this through.. Need some coffe now
Peer to peer restarting timer. We all restart at the speed of the slowest. This will create social pressure for slower users to buy faster hardware. Which in turn causes competitive pricing of modern technology. Win Win
2
 
nothing happened, right?
well, I can read hilarious stuff
 
we are sorry. we could not resist
 
ok, I'll kill half a cat :)
 
Some urges you cannot fight. Thats why we got prison.
 
@t1wc you should execute the Schroedinger's though experiment in real life.
 
8:55 AM
@Schoening : go to italy
 
Berlusconi got a little punishment for his crime
 
@JanDvorak I might aswell do that
 
a half day per week for some months public work
/what a joke
 
are you talking about the rape reference or slow internet speed ?
 
8:56 AM
it'll be my next science experiment
 
don't think I've ever seen a tv show have as many seeds as GoT
 
I got 3 kittens. One is a little crosseyed. start with that one
 
does not, running the country, count as community service though?
 
@KarelG I remember when at the beginning they said 8 years
it was party in the nation
I already was like: nope, it won't happen
and there it is
@Schoening nah, I have to make the owner suffer aswell
that's the point of it
 
That does not sound like you do it for science..
 
8:59 AM
@Schoening next time
 
the previous Israeli president is in for a total of 7 years
for dat rape
 
(҂ `з´ ).︻╦̵̵̿╤── ƪ(⁰o⁰;)ʃ
 
@Mosho : not only many seeds but seeds too
 
(ヽ д´)┌┛★)з゜)
person on the right: @Schoening 's kitten
 
Nooo
 
9:00 AM
final touch
●~*
(supposed to be a bomb)
anyway
 
My brain tells me its 11 am. But the chat tells me its 4 am
 
it shows 11 am to me
 
good cat emoticon: =^● ⋏ ●^=
 
damn, to convict that president they convened 64 times and wrote 8000 pages of protocol
 
11am here aswell
 
9:04 AM
... I am talking about the type of conversation. Fits much better in as 4am to me
 
@Schoening yeah, my life routine tells me that it's better to talk about raper presidents and of war against kitten for science at 4am aswell
what a coincidence!
 
haha :) you find soulmates in the strangest of places
 
ikr?
now, to the important part
@Schoening... will you marry me?
 
I thought you would never ask! Yes!
 
first gay mariage on SO ? :o
 
9:09 AM
@Schoening you're a male??? I thought you were an internet user!
wait... I am, so I guess it isn't gay
 
So what you are saying is that all internet users are female. You included. And thus it isnt gay?
 
no, that internet users are nor male or female
they're internet users
 
First undetermined sex marriage on SO!
This is what I will wear on our wedding night.
http://imgur.com/6E3Z8Ow
But I gotta go. I shoulndt waste more time in 4 am mode
2
 
sure my love
 
it's already cheating ya with its right hand bravery !
 
9:19 AM
with caprica?
maybe
ok, miszy apparently hated the list design
new one
 
opened PS and randomly painted your dot's around ?
 
@KarelG yep
kinda works
this is like a lorem ipsum
everything will be changed to fit the user's need
 
that reminds that i should replace my avatar icon once a day too
 
@t1wc what that the nav for?
 
I'm still designing the home page
gimme a break
but it will be a nav
have to go now
!!afk his planet needs him
 
9:33 AM
@t1wc died on the way to his home planet.
 
that reminds me of Alf
 
@KarelG That's actually a Simpsons reference
 
which ref ?
 
ah poochie
that you even remember the note
 
9:50 AM
@minas 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.
 
\o
 
helo java script engineers
 
I'm sorry but I'm not an engineer ... I'm a fucking ninja.
 
@OctavianDamiean and i am samurai
 
9:56 AM
@DrogoNevets I pee laser beams and shit Shurikens.
All ninja style though.
 
@anand 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.
 
i'm a js asshole
i love firefox's tab group feature
then i can hide this chat
 
@KarelG you want to hide us? :|
 
nah, the title "chat.stackoverflow" is visible on the tab. By hiding it to other group, nobody would see it
 
@all I need a help
 
10:05 AM
ctrl+shift+e rescues me
 
ah i pin the tab, then you only get the favicon
 
didn't knew that
DAFUQ
that's more easier ....
 
@AbhishekHingnikar what's special about it? Traceur has generators...
 
@KarelG yea it is!
 
10:09 AM
@KarelG just pin the tab instead?
 
@Mosho basically meaning with some shimming we should be able to use yield in client side codes like games !
@OctavianDamiean oh where have u been ! mr NO !
 
@AbhishekHingnikar yeah, but traceur does that too and it's been around for a while
 
hmm
time to perf :D
 
<users>
	<user>
		<name>Illayaraja</name>
	</user>
<users>
How to create and write this in a xml file using jquery or javascript
can anyone help me pls.........
 
10:13 AM
why XML ?
that's so ancient
 
@Illaya use something like goessner.net/download/prj/jsonxml
create the object as JSON and convert it, although i champion keeping it as JSON!!
 
that's what I told him an hour ago
or 3 hours, whatever
 
@DrogoNevets @Mosho yes. but am not familiar with JSON
 
I remember me saying something about google as well
 
user3071008
"Just use Google™"
 
10:16 AM
json is ... smaller, quicker, easier towards XML ....
really, after parsing, it's a nested associative array >_>
and saving objects is superduper easy
for XML, you have to write the converter itself if you have js objects D/
 
why
converters are readily available
 
Ok now I can do that, with your help. @KarelG @Mosho @MehLON @DrogoNevets
 
for custom objects @Mosho ?
you have to adapt it
 
@KarelG define custom objects
 
. (forgot shift )
 
10:21 AM
My need is, I have a registration page with only 'name' field
I need this name in a file for login purpose
Now tell me what is my first step?
 
var obj1 = function() {
    this.foo1 = ...;
    this.foo2 = ...;
}
var obj2 = function() {
    this.bar1 = ...;
    this.bar2 = ...;
}
if you want to convert that to xml, you have to adapt it
 
why would you have to adapt it
what does that even mean
if you have a JSON string with data, you can convert it to XML
using a converter
 
i am getting value from api using backbone.js .i want to set this <%=listItem.p_id %> value in my div id , van some help me
and underscore.js
after click on that div i want to read that id
 
why would you convert it first to json, then to XML ?
 
@KarelG that above code is for me?
 
10:25 AM
@Illaya : no, was an example
 
@KarelG because it's easy
 
@Mosho what is your idea?
@KarelG done it, then.
 
@Mosho
@AbhishekHingnikar i am getting value from api using backbone.js .i want to set this <%=listItem.p_id %> value in my div id , van some help me
and underscore.js
after click on that div i want to read that id
 
you keep saying "thanks, now I can do it myself!", then 2 minutes later you ask us to write for you
 
@KarelG dont mistake me, i am not familiar on this. so only asking step by step
@Mosho pls help me.
 
10:28 AM
@Illaya sorry, I won't help if you don't even try doing it by yourself
 
@Mosho Ok i'll try
 
good
 
Just give me guidance
 
I/we did
!!afk off to work
 
my trouble is, what can i do first?
 
10:32 AM
actually, i don't know what you exactly wants. But it seems that mosho already gave you some guidance
 
yes. he told me to use JSON
for this
 
user3071008
you can't write to files using javascript by the way
 
/really-really-REEEAAALLLLY ?
I just called to an other company IT support to see if they have a db scheme for their database. The response was " *which scheme* ". I replied " *it's a schematic structure to represent the tables in a database.* ". Reply : " *oh, i'm afraid that we don't have that* ".

// kills myself
 
@KarelG
My need is, I have a registration page with only 'name' field
I need this name in a file for login purpose
thats all
 
@Illaya why in a file?
 
10:37 AM
i would say "use a database"
because that's the heart, the core of many it systems
 
@KarelG thats what i was going to be getting at.....
 
@DrogoNevets @KarelG bcz this is for an installer type offline game
 
Hmm guys question, why would a defined variable + an integer return [object Object]0.
This is what I did:
var deze = $(this),
		dezeLi = deze.parent('li');
var clicks = dezeLi + 0;
 
@Illaya ok install a database too
@DavidH means dezeLi is already and object so its calling toString on both and concating
 
So I have to convert the string into an int again?
 
10:39 AM
@DavidH what is it you are after?
 
@DrogoNevets many users may install and use this. then how can i install the database too?
 
Basically I want to have the Li that I defined to have the number 0
So I can do a count
On clicks that Li has
 
what do you mean "have the number 0"
 
Well the count has to start at 0 as well as know it has to be in the li
 
user3071008
did you mean to use deze.parent('li').val()?
 
10:41 AM
where are you storing the number of counts?
 
Yea kind of
Storing as in which variable?
Should I just show you guys what I'm doing?
 
@DrogoNevets many users may install and use this. then how can i install the database too?
 
@Illaya : is your game only js ?
 
yes
only js
@KarelG
 
http://pastebin.com/Tj63US3r
This is what I'm trying
 
10:44 AM
use localStorage if it doesn't hurt then
or SQLite
but for that name only, i should use localstorage
 
@DavidH something like this? jsfiddle.net/4pcmS
@KarelG +1 @Illaya
 
Hmm
That should be what i'm looking for
But which variable should I chain into my if?
 
@DavidH don't know, you've not given a full enough example
 
What do I miss as to making clear what I want to accomplish?
As far as I know only the if, wrapper and variables were relevant
 
your example had no variables in it
 
10:50 AM
Basically the issue is that the function count is supposed to work on the li
 
@KarelG ok. good idea. if suppose it should becomes 4 fields (name,username, pwd, city), then I can use local storage? but maximum is only four fields
 
In my pastebin?
 
create something in jsfiddle, codepen or plunker for us to see and play with
 
uhm, don't forget that localStorage is browser specific. And why a city ? Does it matter ?
 
But Drogon it doesn't work
It would work if I knew how to make the function count work on the variable dezeLi
 
10:53 AM
@KarelG oh! but my game will not run in browser, it will run in a window
 
@DavidH : are you a dutch speaking person ?
 
put the lot into one of those sites, and we can help you make it work
 
I am actually.
 
best om alle variabelen in engels te schrijven. goeie oefening voor later ;)
 
Ja lijkt me wel beter denk ik
 
10:54 AM
@KarelG can you pls tell me in english?
 
@DrogoNevets I'll try.
 
@Illaya : that was not for you
 
oh ok
 
user3071008
run in 'a window'? What do you mean?
 
10:56 AM
yeah. I already told, this is an mini game and will be a setup (exe) file @MehLON
 
Hmm @KarelG ik ben erachter gekomen dat het dus wel lukt maar clicks++; werkt niet, enig idee waarom?
Ik alerte dus clicks en elke click returned het gewoon 0
@DrogoNevets I noticed that it works fine yet my clicks++; doesn't seem to work, is there a general issue for this?
 
user3071008
elke keer dat je klikt wordt er een count() functie gemaakt, maar deze wordt niet gebruikt
 
Maar het wordt in de if gebruikt?
 
user3071008
oeps
 
user3071008
ik bedoelde count
 
11:09 AM
Oh hm
Enig idee hoe ik dat dan moet doen?
Ik ging essentieel de addClass gebruiken en niet de functie zelf
Dus de functie was eigenlijk bedoelt als wrapper
 
:15990458 try `clicks = clicks + 1`
i had similar issues initially
 
I'll do that
Wait shouldn't that be incorrect @DrogoNevets
The count has to start at 0 though i'd give it 1 if I did that, also it doesn't seem to work.
So the method seems incorrect I think?
 
@DavidH again, show me a JsFiddle or something so I can see what it is exactly you are after
 
@DrogoNevets Best I can give you, again it doesn't work but I added what it outputs hence why it doesn't work. jsfiddle.net/4pcmS/6
 
user3071008
you forgot the closing parenthese
 
11:23 AM
also, clicks will always = 1
regardless
 
jsfiddle.net/4pcmS/8 Changed the missing closure, apparently was to late to edit the message sorry and this.
How so?
 
user3071008
you can't use this as an identifier, it's a reserved word
 
My bad I literally translated what I had on my own sheet.
 
line 5, everytime the thing is clicked clicks start of at 0, not previous count
this now has no errors, ive not changed the functionality
 
@TheDictator
 
11:26 AM
What do you think of this jsperf: http://jsperf.com/method-calling-test
Looks like a good argument for me to keep using constructors rather than a "closures"
 
@Nimesh yah?
 
@DrogoNevets Why does that happen, I don't really see what's wrong.
 
Because I removed the wrapped function?
 
because every time you click, you call the function, within the function you set clicks to be 0 with line 5
 
11:27 AM
do you have idea how to post grid data using JQuery. i want to post whole grid
@TheDictator
the grid is a simple html template with input boxes
 
@DrogoNevets So what I need to do is place the var clicks = 0; outside the $('#thisdiv').on ....
 
yes
 
@Nimesh no i dont know
 
@DrogoNevets Awesome thanks now it functions though not as I wanted it to
 
anybody else?
 
11:31 AM
!!afk - lunch time
 
user3071008
!!afk
 
11:47 AM
Has Zirak been online lately?
 
back o.o
 
he's been on last week, thursday or so
 
Oh thank god.
 
@SPi 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.
 
0
Q: Javascript - Cannot set property 'value' of undefined

user3560241I am creating a Javascript cycle, that can be put in the program instead of writing document.entry.(a_ to z_).value=(ax to zx); My work so far : function param() { var counter2 = "ax bx cx dx fx gx hx ix jx kx lx mx nx ox px qx rx sx tx ux vx wx xx yx zx"; var alph2=counter2.split(" "); fo...

 
11:50 AM
Hi all
Actually I am getting a problem in calling a javascript function
that function consists of an rest service call
 
@Octavian he was on yesterday. Ping him. I think he's home
 
So before the rest gets completed
 
@Zirak you there bro?
That was a premature Zirak right there ...
 
the control will go back to the line from where I called the function
 
@rlemon also BROOO!
Sup?
 
11:52 AM
Is there anyone who can help me
 
@NikhilAgrawal : handle it asynchronous
 
Means
 
@NikhilAgrawal What are you looking for ? Did you already learn how to deal with asynchronous tasks in JS ?
 
Can please elaborate little bit
I know deffered and promoise
I already applied in the service call
 
Alright, so you get the concept behind asynchronous operations?
 
11:54 AM
Ya
 
cool
 
But is there any other approach
 
other than deferred and promise
 
@NikhilAgrawal yes, good old callbacks
 
11:55 AM
Actually service call is using backbone js
fetch method
 

« first day (1284 days earlier)      last day (3666 days later) »