« first day (1014 days earlier)      last day (3937 days later) » 

5:09 AM
 
^ which movie is it?
 
Ace Ventura
I'm pretty sure anyways
 
Jim Carrey movie
 
ya the hair cut is in just ace ventura
lolzz
 
5:14 AM
Why won't final fantasy release already :(
I'm literally starring at my monitor boxing things on my desktop so bored
 
What is Incognito mode equivalent on firefox?
firefox and internet explorer* sorry
 
private?
 
how do you active it on both browsers I have mentioned?
 
Who the fuck would buy Nascar Racing 2013, do you just turn left the whole time?
 
hehe
 
5:29 AM
!!> +!+[]
 
@O0oO0oOO0ooO 1
 
^ what is that called as?
 
5:47 AM
!!choose "grammatically incorrect wording" "awkward but grammatically correct wording"
 
@JanDvorak awkward but grammatically correct wording
 
6:00 AM
Started my first workout.. friends a personal trainer, I hate him, my stomach is on fire
 
!!choose "mom" "dad"
 
@O0oO0oOO0ooO dad
 
!!choose "Live" "Die"
 
@monners Die
 
Rough...
 
6:10 AM
!!choose "Chicken" "Beef"
 
@O0oO0oOO0ooO Chicken
 
!!choose "Liberty" "Death"
 
@monners Death
 
!!choose "The washer and dryer" "The box!"
 
@monners The washer and dryer
 
6:12 AM
!!choose "monners is idiot" "monners is not idiot"
 
@O0oO0oOO0ooO monners is idiot
 
:(
 
!!choose "Oo0o is not idiot" "he is idiot"
 
@O0oO0oOO0ooO Both!
 
That's confusing...
 
6:21 AM
Someone tell me what is this pattern known as ? +!+[]
 
No idea. What's it do?
 
@O0oO0oOO0ooO knows
 
Seriously, what is it used for?
It increments a number by one, it concatenates a string with 'true', but what's its purpose?
 
I don't know
58 mins ago, by O0oO0oOO0ooO
!!> +!+[]
 
!!> + ! + []
 
6:28 AM
@monners 1
 
Why!
 
!!> +!+[2]
 
@Mr_Green 0
 
!!> 1 + []
 
@monners "1"
 
6:31 AM
What???
 
it is giving output as string
 
So an empty array defaults to a string?
 
if you don't add prefix as +
or -
 
!!>+1+[]
 
@monners "1"
 
6:32 AM
WTH is the room locked ?
And what is that subject ?
 
we had a crazy in here earlier
@Mr_Green Then why is that being returned as a string?
 
!!> +"1"
 
@Mr_Green 1
 
!!> -"1"
 
@Mr_Green -1
 
6:33 AM
just now realized
 
@Mr_Green so what happens is that
 
what it is called as?
 
[] returns "" empty String and +"" turns this empty string into 0
 
I mean the pattern
ohh
ok thanks
 
6:39 AM
then when you go !+[] it literally means !0 and it returns true
 
!!> +true
 
@Mr_Green 1
 
got it
 
yeah
 
6:52 AM
omg this @Connor is pretty ininteresting
 
@dievardump As a psychiatric case study, sure
@Mr_Green Type Coercion ?
 
simple english please
 
That's the name of what's going on. Type Coercion
 
7:14 AM
nothing much working on a project related to sencha touch now
 
@DarkHorse 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.
 
fine
 
room mode changed to Public: anyone may enter and talk
room topic changed to JavaScript: Everything JavaScript | New User? Read rules.javascriptroom.com [2.9] [aliens] [consistency-of-suckiness] [javascript] [the-truth]
 
aliens?
 
7:36 AM
omg Wordpress plugins..
You create custom fields, you associate them to a page, you edit your pages, then you see there is a typo in one of the custom fields key, you modify it => it does not update the field in the database, it creates a new field, delete the old one, and you lose the content you already created
People should really learn how to do things... that's just insane.
Sometimes, I think Apple are right checking all the apps submissions. Then they are sure it follows some rules.
 
hover over image, and make popup box appear
 
No that's not my problem. My problem is developers.
Oh, that maybe was a question?
Maybe you should have add a "?" at the end of your sentence. And a questioning style at the beginning like "How to" or "Gimme teh codze to"
But if you enter the room and just say "hover over image, and make popup box appear" people will think you're doing a kind of answer.
@FlorianMargaine ? :(
 
8:26 AM
0
Q: Improve performance Javascript function

user27726I'm doing a BattleShip game in javascript with iio engine. I'm trying to play against a computer so I have to put a random position for the ships (I hope you know the game :) ). I have 5 ships that have to be placed in a grid (10x10). The problem is that the function is pretty slow, and sometim...

 
This one is hard to answer
0
Q: JavaScript: in operator for new, alias: discover all possible new object types

JohnThe in operator can be used to display all the child objects/functions of an object... for (var a in window) {alert('window.'+a);} I'm trying to discover all the new objects. In example new XMLHttpRequest() that do not seem accessible via window. or document. (which is an alias for window.d...

 
@dystroy +1 for sarcasm
 
It's friday.
:D
 
it's always friday in Iceland
 
8:41 AM
@JanDvorak OP seems disgruntled...
 
> I code DOM based JavaScript; no document.write, no innerHTML, no frameworks and no script elements in the body EVER!
how do you do client-side JS without script elements?
 
he writes them in the head, most likely
 
> so if you see something unintuitive/stupid in any of my content please keep in mind that intelligence is second to reputation here.
hahaha
 
ok, so, either he doesn't bind his events before all the images are loaded or he's running his own event delegation.
 
his website sucks
constant alerts
had to block them to leave his site
 
8:44 AM
Damn... he's 32... I thought he was a kid by reading the profile :\
 
Quick question, i can do this right? obj[fn()];
 
provided that the fn returning a str.
 
Homepage of John A. Bilicki III, the world's first Web 3.0 Professional Web Designer...
 
@JohanBouveng if you trust fn() to provide a reasonable key, yes
 
8:46 AM
fanx!
 
9:00 AM
Heylo
 
user1125394
hard thing when you come from other language, JS doesn't like when you name function and variables with same names
 
@OctavianDamiean sup!
 
@cx nor does C, nor does Ruby
 
@mikedidthis Not much, not much. How's things in 'ol England?
 
@OctavianDamiean bloody hot, we have le heat wave.
 
9:02 AM
the same in Czechia..
36C here
 
Yea, we'll have up to 40°C in some parts of Austria on Sunday. :(
 
@cx nor do many other languages...
 
feeling bored here
 
but yeah, it's quite a common struggle in languages where functions are first-class.
 
user1125394
yes..
 
9:06 AM
hey once you guys had shared a link in which there were jokes on call center.. anyone have that link still?
 
hehe not this one.. it was some website
 
Harry: Do the needful and search the chat history if you have one doubt.
I love those Indianisms.
Anyway, I'm out for a bit.
 
user1125394
 
user1125394
object keys become string like that..
 
user1125394
9:17 AM
o well sorry that's how json is done unfortunately, will have to parseInt..
 
JS, not JSON
 
hey can you please keep caprica six also in "Sencha" room?

Sencha

Ask doubts regarding sencha products here.
 
user1125394
son's of js
 
is it possible?
 
9:20 AM
JSON, "serial" killer
 
@Mr_Green SO shouldn't keep a room called Sencha (or Ruby) up.
 
didn't get you..
 
trolllll
Well have you ever look at some Sencha product code ?
Without throwing out your last diner?
 
nope
 
!!summon 23760
 
9:23 AM
@FlorianMargaine That didn't make much sense. Maybe you meant: summon
 
Well, they made some efforts in the latest versions, but some times ago it was shameful
 
I know Sencha extjs and sencha touch
 
OMG so much code for that
 
@Mr_Green Caprica is in your room now
 
thank you very much :)
 
9:24 AM
@dievardump you mean so little?
 
much
look at the code, so crazy
 
did you drag and drop?
there's not even 200 lines
 
I did not say anything :o
 
and honestly, canvas code tends to get big quite fast, just because you usually have to set many properties
 
@dievardump That's pretty. Is that the page you think has too much code ? Then I don't know what you'd think about SpaceBullet and I thought my code was short...
 
9:29 AM
@JeremeCausing 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.
 
@dystroy I did not see the drag drop before saying that
 
lol...
 
@NikolaGeneshki 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.
@PatsyIssa 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.
 
@dievardump lol'd so hard
 
@OctavianDamiean :D
But seems that the poor girl lost her job
 
9:40 AM
@dievardump wat! It was clearly a mistake ...
 
yes but...
Americans.
 
9:59 AM
0
Q: Which AST generator and walker to use for javascript

everconfusedGuyI have been using node-falafel (https://github.com/substack/node-falafel) as a walker till now but am considering moving to burrito(https://github.com/substack/node-burrito). The reason is my transformation requires to update the AST multiple times in a single walk and due to the funny way in whi...

 
What is that falafel thing ?
Who would need that ?
 
10:17 AM
@noushad 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 am using google virtual keyboard on multiple textboxex. I want to show / hide the virutal keyboard of each textboxes only when checked respective checkboxes.
 
i want to change live powered by link in footer for this website radioprovati.dewdropzone.asia/rjchat/chat.php ... anyone can help me please
 
@noushad display:none driven by change of each :checkbox?
@CoolBoy what kind of change? Perhaps you should do it server-side?
 
@JanDvorak yes but i don't find it.. which file i delete for this Powered by LiveZilla Live Help Software...
 
@JanDvorak I want the textbox is still there for typing and only the virtual keyboard want to toogle. I used setVisible method of google virutal keyboard. But it hide all the keyboard instances.
 
10:26 AM
@CoolBoy I don't know LiveZilla, sorry
@noushad how did you use setVisible?
 
@JanDvorak  for example var kbd; var kbd1;                                               function onLoad(){     kbd=new new google.elements.keyboard.Keyboard(
                [google.elements.keyboard.LayoutCode.MALAYALAM_PHONETIC],
                ['textbox1']; kbd1=new google.elements.keyboard.Keyboard(
                [google.elements.keyboard.LayoutCode.MALAYALAM_PHONETIC],
                ['textbox2'];} function Checkbox1(){ if(kbd.isVisible){kbd.setVisible(false);}else{kbd.setVisible(true)}
 
!!tell noushad format
 
@noushad Format your code - hit Ctrl+K before sending and see the faq
@ZiaQammar 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.
 
@noushad indent your code as well, please :-)
 
@Zirak Yeah probably :)
 
10:37 AM
hello
 
OH GOD
-1
A: substring remove just from word with php

Rápli AndrásThe explode() function may help you. $a=explode('_','Notebooks_Tablets'); $a is an array of 'Notebooks' and 'Tablets'. So you must use str_replace to remove the $a[1] string which is Tablets.

 
10:53 AM
0
Q: Memcopies in JavaScript?

K..A fellow C-Developer, who works with embedded-PHP told me about how PHP constantly makes memcopies in the background and was like "That's crazy, but most scripting languages do this if you aren't careful while programming" Since I'm doing much stuff in JavaScript lately, I wondered if this is a ...

0
Q: Determining the end location for AI movement in groups in a 2D RTS

IcemonsterI have written an RTS game (a demo for a game engine of sorts, actually) in which the user's basic interaction with the game is to select a bunch of soldiers and then right-click on the map to move them to the specified location. This is in JavaScript and you can play with it here (code). Ignori...

 
Somebody with rep (@FlorianMargaine ?) should vote to close that question that @BenjaminGruenbaum commented. Reason : "OP doesn't understand the first word of his own question".
 
Not many of us have lots of programmers rep, I spend mine on bounties
Well, not really, I'm just not very active :P
11 answers, 4 questions
 

« first day (1014 days earlier)      last day (3937 days later) »