« first day (423 days earlier)      last day (4527 days later) » 

3:00 PM
Do you know what a button is?
 
Yes
 
Do you know how to click?
 
Can you read text written in English?
((assumes var silence = 'yes';))
 
user142019
hi
 
Haha
 
3:02 PM
Great. Now, go to the MENU (sometimes represented as a cog or wrench icon)), click the button labeled OPTIONS (or Internet Options or something similar), and inside it in a field labeled TABS there should be a BUTTON labeled SETTINGS. You now CLICK it.
If you do not know how to do what you want now, then I have no idea how you managed to learn how to use a fork.
 
@Zirak Thank u very much sorry if I was not able to get it in the first place because my menu toolbar was actually hidden but I got it now.. Thank to all of u.
 
God/god/Odin/Zeus/Flying spaghetti monster/deity bless you. You'll need it.
 
God/god?
 
Can anyone take a look at this? stackoverflow.com/questions/8476297/…
 
"God" refers to the Jewish god (also the Christian and Muslim god). "god" refers (or I, at least, use it to refer) to any monotheistic deity.
@Parek Your many variables teaches us a very important thing: You do not know javascript
$(document)[0]? SERIOUSLY?
 
3:15 PM
Not this again. Guys, I don't want to upset the Casual Chat crowd again. They were almost in tears last time.
 
@Zirak Eh? Nevermind.
 
declaring a shit ton of trash global variables is wrong in any language
well any high level language
 
lol $(document)[0].oncontextmenu. Classy JS.
 
Also, your problem shouldn't be complex. When you handle the dragging, you need to update the marker's position.
If you update the marker's position, you know where the marker is. Ergo, you can draw your circle.
 
What?
 
3:17 PM
@Amaan tl;dr "god" means "any deity who's religion says he's the only deity", "God" is a special case of "god"
@Parek What are you what-ing?
 
@AndyE why do people do this...
 
Muslims have a monotheistic deity. And you said "God" for Christians, Jews and Muslims
 
Acording to me, declaring variables is the right way to do it if i'll need those.
Instead of just peeking on me, please tell me how to fix it.
 
@Amaan Yes, because the Muslims deity is the same as the Jewish and Christian deity.
 
@rlemon because people are idiots.
 
3:19 PM
my gods better than your god.
 
@Parek (1)Objects, learn 'em. (2)I did tell you how to do it. See the two messages right above yours
 
Yeah, so it's both "God" and "god"?
@rlemon I want to star that, but I think some people may not like it
 
God is a type of god, god is not a type of God
 
> When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours.
3
 
3:21 PM
Hahaha
 
God only == god.
 
@tereško Where is that from?
 
Is there anybody knows how to close or exit a web browser using javascript,c#,vb.net or any codes applicable for that?
 
why so #religion
 
@Amaan (c) Stephen F Roberts.
 
3:22 PM
@timmack Browser? No. Your page's tab. Yes
@tereško Thanks
 
@Zirak I do really need some help with this. How long do you think you could solve my problem in?
 
This is why i'm a pastafarian...
> We can accept that some choose to teach their kids the earth is 6000 years old and that dinosaurs are a myth. But if they push for those ideas to be taught in our schools, it’s no longer a question of respecting personal belief.
 
I hate people who are all pro-religion and just won't stop trying to enforce their view
Sadly enough, my mother is one of those people. :/
(She doesn't even know I'm an atheist. And that's what's worse)
 
hey man. believe whatever makes you happy. just let me do the same.
 
Okay, enough off-topic, I guess
 
3:25 PM
who teaches that dinosaurs are a myth?
 
@Amaan pussy
 
@Loktar creationism
 
no it doesnt
 
@tereško I'd tell her if there weren't the risk of me being kicked out of the house
 
I am a christian, grew up a christian, and that was never taught once.
 
3:25 PM
Guys, can someone help me to find how to get the updated position of a driving directions waypoint when it's moved. :d
 
Its generally taught that dinosaurs lived with man in creationism.
 
@Loktar and that fossils were placed by god to test man... yes yes.
 
that means they believe that the evolution of species is a myth
 
Well that must be a fringe case Im not familiar with.
 
3:27 PM
@Loktar it's only the hard cores
 
dude.. ive read many books on the subject... I imagine they are hardcore...
sounds more like the uninformed.
 
plus many point to a few verses in genesis that ref a dinosaur.
 
MILLIONS of propaganda like or worse than this.
there is no point in arguing it.
 
yeah not trying to argue I just get irritated with incorrect generalizations
like if I were to say all mormons are polygamists.
 
3:29 PM
the point is. people push religion over science when in fact they should be hand in hand. but meh
@Loktar I meant it in the general sense. like all americans are idots.
 
Does anyone know more websites like Project Euler?
 
i'm sure some of you are american.. you are not idiots.
but a room full of you... thats a different story.
 
lol thats a generalization of Americans?
pretty crazy that the worlds only super power could be filled with idiots sheesh..
 
and all catholics are creationists.
i know it's not true.. but if i have to make a generalization i will.
all monks are peacful.
 
yeah, Ive experienced it more with protestant
catholics are more willing to accept evolution
 
3:31 PM
it's all a fine line - change a few rules, don't drink or eat this, and your something else.
 
i thought the pope recognized evolution as fact?
 
again, i was raised christian.
 
@Zirak God is a proper noun for the name of a god who's name we do not have, historically this happened because in abrahamic religions it is was immoral to speak/write the name of god, so in hebrew texts they took out the vowels. this is why you see YHWH which is the hebew transliteration of the name of the god of abraham, and can either be pronounced "Joe Hoe Vah" or "Yah Way"
 
As in other countries, Catholic schools in the United States teach evolution as part of their science curriculum. They teach the fact that evolution occurs and the modern evolutionary synthesis, which is the scientific theory that explains why evolution occurs. en.wikipedia.org/wiki/Catholic_Church_and_evolution
 
and i'm not atheist. i just think the way the spread propaganda is wrong.
@Loktar but they still teach the 'fact' that the earth is 6000 years old.
 
3:33 PM
lol @rlemon yeah but you need to get it right at least.. I mean I am not an athiest but know that athiests aren't "devil" worshippers.
the point is in order to get rid of generilzations.. stop spreading them.
 
@Loktar ohh I don't think so either.
 
all javascripters are noobs!
 
@rlemon That's nice. The amount of peace you have is surprising for a theist
 
:P
 
tell the propaganda spreaders to stop speaking on behalf of their faith and i'll stop generalizing the followers of said faith. understand now?
 
3:34 PM
everyone is a propaganda spreader, but extreme factions do not speak for the whole. Its an issue we have in the US.
not all Muslims = terrorists...
but many people disagree.
 
@Loktar Oh, it's not only in the US
 
yeah I just don't want to speak for other countries, Ive heard in Europe its pretty bad with muslim confrontations with gov etc.
lol oh well Ill stop talking about it, sry about the offtopic :?
 
dude, it's not the extremists pushing for the falsities in Christianity - it's the teachers of the faith. maybe your church and school didn't expose you too it. or you shrugged it off, point is it's happening and a lot more then you would like to believe apparently
 
Yeah.
 
lol, its always a fun topic (as long as people remain civil while discussing it)
 
3:36 PM
@rlemon the point your trying to make is under the assumption that your beliefs are the only correct ones...
and the same can be said for their side
 
@Loktar the assumption is that no one should feel like theirs is wrong and when the church tells me i'm going to hell if i don't follow them... well....
 
its an endless argument :?
well if you don't believe in hell.. or don't follow what they say, what does it matter if they think your going to hell?
the Amish think I am
 
13 mins ago, by rlemon
hey man. believe whatever makes you happy. just let me do the same.
 
but meh I don't hold it against them
 
that is my position on it all.
 
3:38 PM
its a good one :)
 
you never see the church of the flying spaghetti monster knocking on your door trying to shove pamphlets in your face? lol ragequit
:P and i'm done
 
:-P to all ^_^
0
A: jquery right click event?

NealYou can also bind to contextmenu and return false: $('selector').bind('contextmenu', function(e){ e.preventDefault(); //code return false; }); Demo: http://jsfiddle.net/maniator/WS9S2/ Or you can make a quick plugin that does the same: (function( $ ) { $.fn.rightClick = functio...

cant believe noone suggested that
 
@its_meα We have someone in the room named Matt that does the euler stuff.
 
Okay, @AndyE, you can put all of the above in the bin
 
@Neal, why did you answer 2 years old question :P
 
3:41 PM
@Incognito And me and @rlemon and @RyanKinal
 
@Neal I hurd u liek downvote
 
@Amaan Really? I didn't know there was such an interest. I've only ever glanced at the thing and said "mehh"
Is it fun? Are you enjoying it?
 
I like it
I'd come here asking if someone had an alternative solution
 
I've done a few of them. I have more productive things to do, but they're fun.
 
I remember Matt and Ryan solving them
 
3:41 PM
ooo
 
okay, so... does anyone know more websites like Project Euler for JavaScript? I loved it
 
Religion
time to beat dead horses
 
hey I do Euler too!
Ive only done the first 6 I think though
 
@its_meα Ummm. Dude. Just do Eulers in JS :-)
 
@RyanKinal I want more
:P
 
3:42 PM
@itsme I can give you challenges
like render a boat
 
@Esailija bc it was lacking.
 
RENDER A BOAT >:(
 
lol
 
@its_meα You've done all 360+ in the past one (or so) hour, have you? :P
 
lolll
 
3:43 PM
FFFFFFFFFF this asshat has empty finally blocks for no reason.
 
what about a christmas tree with a star and snow in 1k!
 
@Raynos why would u downvote that?
 
js1k.com/2010-xmas/demo/849 < is a challenge!
 
The empty catches were bad enough, this is like "Just to show you how much I don't care... here's an empty finally, just in case"
 
@its_meα solve P = NP in js?
 
3:44 PM
@Amaan I don't agree with bin channels. I would dump the whole lot in Casual Chat where it belongs, but @LalitPoptani says the room is exempt from the "moving stuff where it belongs" rule.
 
@Esailija how do you avoid globals in C?
 
@Incognito Nice!
 
I feel like I should do some of the euler problems.
 
@rlemon lol, you dont understand.
 
@Neal because preventing default on context menus is rage
 
3:45 PM
@its_meα I understand.. i'm trolling you :P
 
@AndyE It'd be kinda annoying to dump a huge chunk into another room, so well, just let it be
 
Project Euler starts off with easy questions and they get tougher. I want more basic questions.
 
my next suggestion would be to answer if integer factorization be done in polynomial time in JavaScript?
 
I want my real context menu
 
 
3:45 PM
title is retarded, but the puzzles are fun
 
@Raynos ... so comment and SAY THAT. also, that is how you would do a right click.
 
theres some js ones in it as well
 
checking...
 
@its_meα Make your own then
If you want some that are that easy
 
hmm...
 
3:47 PM
@Loktar Euler friend key, please.
 
friend key?
 
So, Project Euler is all I need to practice? Just those 362 questions?
 
ooh one sec
 
@its_meα Yeah, that's it. :P
 
3:47 PM
Na, man. They just teach you computational stuff
And there's very little chance that you'd actually finish them all
 
@Amaan yet if it's moved, it's not interrupting current conversation since each message is inserted appropriately into the chat timeline.
I may move it tomorrow, when it's not going to "disturb" anyone
 
Euler friend key > 4474626397686_547c6dcdda360bad0eda244d0021d509
 
@its_meα Well, it's a large drop in learning algos and problem solving skills, but it's still a drop.
 
@AndyE Why not just let it stay here?
 
I want more drops then
that's why I am asking for similar websites
 
3:49 PM
But you can't do the whole universe of knowledge in one shot, so it's a great place to get going
 
@RyanKinal yeah idk, I just hate when people use the term hacker for anyone less than amazing.
 
@Loktar why defend creatonist?
 
because I believe some of the ideas it presents
 
@Amaan: I may do that too, it depends on whether I feel like caring or not :-p
 
I think theres a place for science and religion
 
3:50 PM
@AndyE Just leave it here. Doesn't matter. Every now and then we're going to go off topic and it's no use arguing with other room owners about it
 
@Loktar I think a hacker is anyone who displays the characteristics of a hacker. If looks like a hacker, talks like a hacker, thinks like a hacker, and shares like a hacker, it's probably a hacker.
 
@Loktar true story :(
 
@RyanKinal good point, I just dont consider myself one, so when I get a book that says "hacker" I feel like a poser to say the least lol
 
Me too :-)
 
I think everyone in this room can agree with that
 
3:52 PM
I have my high-points, where I feel like a hacker.
And those points are becoming more frequent. But it's not constant.
 
yeah same here, but then I think wow this is childs play to someone else! lol and then I feel back to my normal self.
like when I cracked my first game omg man
 
I know, right?
 
I was like I AM AWESOME! But it was a game from 1998.. and this was like 2007
 
lol, nice
 
@Loktar I felt like that. Then I saw your game.
 
3:53 PM
oh no I mean like made a game crack
 
I know.
I'm talking about when I made my first game. (In canvas!)
 
^ was so proud lol
ah was 2009 I guess not 2007
 
Hahaha
Have a +1!
 
I think I used a "hacker" book to help out too lol
 
The term hacker goes to an attitude towards programmer
Its not a qualifier of skill
The term cracker is a qualifier of skill at cracking program
 
3:56 PM
@Raynos Oh, in India it is
 
yeah, I just worked with this one guy... who was terrible... I mean Really bad he didnt like to learn, anyway he called himself a hacker all the time
always made me cringe
 
Note to self: violence !== solution
 
for all the flash devs here he kept the time by using the movies framerate... so he had a loop and assumed 4 frames = 1 second (because he set his movie to 4 frames per sec)
 
Seriously though, I agree that shits annoying
 
3:58 PM
and couldnt figure out why the time kept trailing off......
 
at least, please tell me what the search term should be to find more sites like project euler? I tried JS problem solving, skills, challenges etc. Nothing worked.
 
@itsme there are none
 
haha @Raynos love the edited version
 
@Raynos oh. is Project Euler a good enough practice for the real world then?
 
No
Doing real projects is good enough practice
 
3:59 PM
ok
 
heh if those were real world problems id be out of a job because my mind would explode :?
 
@its_meα 10 Puzzle Websites to Sharpen Your Programming Skills via Google search for "programming puzzles"
 
@Loktar The point is, if I am able to solve all those 362 problems, does it mean that I am ready for the real world challenges?
 
no.. not for JS
you will deal with dom issues etc.
not heavy mathematical issues
 
ok
 
4:01 PM
I don't know if this is the right place to ask but: I was looking at HTML5 boilerplate and I wonder what I benefit from using this? Is it recommended to use it?
 
@RyanKinal thanks for the search term and link
 
@its_meα Try actually going out and working on User Scripts and Chrome Extensions / Apps for real world challenges
 
ok (point noted)
 
These problems are very heavy computationally. Most people don't expect you to be able to do that using JavaScript
 
@Raynos like I was mentioning the other day i'm teaching my brother js. you got any good articles on your blog that are suitable for beginners. (like tips on why not to use innerHTML and eval, i've explained it to him... but some solid articles that arn't written by his little brother might be a little more convincing)
and not just about those two functions... anything really. code separation, formatting guidelines, closures, ect..
i'm just too lazy to surf your blog - i'm sure you recall what youve written much better
 
4:05 PM
JavaScript: The Good Parts?
 
@its_meα no
@Hyperion I consider H5BP to be a "good read". See whether there are any techniques where you say "hey this looks like good practice, i should start using that". I dont recommend you use it in a project, but you can copy paste snippets
 
@Raynos okay, I get it.
 
@Raynos Hi, may I ask why I shouldn't use it projects?
 
anyone got a link to @Incognitos slides?
//wait, it was him making that 'learn javascript' slideshow right?
 
Yeah
It's on his profile, I think
 
4:11 PM
got it:P you were right
 
from separation of concerns point of view the following are equal:

var div = document.createElement("div");

div.innerHTML = "<span>Hello</span>";

var div = document.createElement("div"),
	span = document.createElement("span");

span.textContent = "hello";
 
in his profile.
div.innerHTML = "<span>Hello</span>"; // separates the men from the trolls
 
Yeah. He hasn't updated it in almost a month, but whatever's there so far is pretty cool.
 
@Hyperion because 90% of the H5BP is junk you need to rip out of your project, i'd rather build that 10% up from scratch
@Esailija why?
 
@Raynos I see
 
4:13 PM
because it's same shit in a different package?
 
@Esailija Same result*
 
@Esailija true, but innerHTML is way worse
 
haha I love @Incognito slides
"Your pointy haired friend comes back thanking you up-and-down for the awesome job you did and how awesome it works. You're a hero, this must be what it's like to be a professional programmer."
nailed it.
 
I like the cat examples :D
 
@Raynos cool but recommending one over the other because of separation of concerns is not cool because they both do the same thing... they create content in js
 
4:16 PM
but you need to create content in js
because html isnt a programming language
its just a representation of content
 
@Raynos Why is the javascript tags placed at the bottom?
 
@Raynos but you are holding content in and structure in js instead of templates
 
templates are js
 
lastly, before I send him all of this - does anyone know of a good article that explains the difference between JavaScript and the DOM api
 
no they are just text in your html
 
4:18 PM
function namedTemplate(data) {
  var div = document.createElement("div"),
        span = document.createElement("span");

  span.textContent = data.foo;

  div.appendChild(span);

  return div;
}
 
<script type="text/asd">
<div>
<span>Hello</span>
</div>
</script>
 
var node = namedTemplate(someData);
// vs
var html/nod = templateEngine(templateId).render(someData);
@Esailija I personally think templates as blocks in html is an anti pattern but thats opinionated
 
but you are holding the structure in js instead of plain text
 
@Esailija js is plain text
<script type="text/magicTemplate" id="scriptId">
  var div = document.createElement("div"),
        span = document.createElement("span");

  span.textContent = data.foo;

  div.appendChild(span);

  return div;
</script>
 
yes if you want to get technical
 
4:20 PM
templateEngine(scriptId).render(someData);
 
but the whole point of template is that it's just html text whatever... not code to run
 
function templateEngine(id) {
  var code = document.getElementById(id).textContent;
  return {
    render: new Function("data", code);
  };
}
@Esailija yeah I'm cool with that, but thats not a "template" most templates are DSL languages on top of HTML, like mustache
if a DSL on top of HTML is valid then a DSL on top of JS is valid too
 
my point is that now you have separate template files that contain template text, like you have separate css files that contain style text and so on
 
True
 
hello people
 
4:23 PM
but js goes in seperate files
html in js never does
I recommend you use the DOM because it can be in seperate files
 
but a bunch of DOM manipulating js code is harder to maintain as a template than simple html text
 
true
I agree they should be split
 
13
Q: How can I ignore libraries like jQuery when profiling JavaScript?

GijsOf course, Firebug, Chrome's Web Inspector, Opera's Dragonfly and dynaTrace's AJAX tools for IE have profiling capabilities. However, I haven't found a tool that lets me 'ignore' a library. To give an example, suppose I have the following pure JS/DOM code: function foo(node) { for (var i = ...

 
I have a templating engine that does just that
 
tempting .. oh , so tempting
 
4:27 PM
@tereško do it, ill upboat
 
maybe we could have this heavy argument some other day though, I have fever now and it hurts like hell to use my brain just a little bit :P :(
 
@tereško beat you to it o/
@Esailija :( its not really an argument I just said "I agree with you"
 
well see.. I didn't even get that :D
 
yesterday I couldn't remember my phone number instantly
 
4:29 PM
I cant remember my postcode :D
RAYNOS Y U NO KNOW WHERE I LIVE
 
@Esailija I've had worse. I randomly forgot the password to my iPod Touch. A password I enter on a daily basis!
Lmao
 
I have forgotten my bank account PIN number once
had to buy a train ticket
 
Lmao
 
and it's supposed to be in my muscle memory
 
@Amaan hello mate
 
4:33 PM
Anyone a jqgrid expert?
Or even moderately skilled? :)
 
@Abhishek I gtg now. Be back later
 
:O
okay bbye
 
@Sean recommend you avoid it
@Amaan why is android so popular in india?
 
If people (@Raynos, @IvoWetzel, @jAndy, etc.) have suggestions for what should be on dev.opera.com/articles/view/efficient-javascript drop me an email (gsneddon@opera).
 
cause it doesn't require $hundreds worth of tools and hardware to make stuff for it?
 
4:47 PM
@Raynos dunno .. probably AS its hell cheap
 
unlike iphone, which you have to have a mac in order to develop for
 
@jAndy your easy to summon :D
 
@cHao . iPhone is way powerful though :|
 
that was a coincidence :p
 
so?
 
4:49 PM
where are Node and HTMLxxx attached to ? :p
like, if you want to modify a prototype of HTMLCanvasElement within an iframe
 
i can't afford a mac, so i won't bother with iphones. and even if i had a mac, a number of the terms of the developer agreement are against my religion
 
lol
 
where is the element? contentDocument ?
 
@gsnedders neat cssText trick
@jAndy what do you mean?
window.HTMLCanvasElement
 
@Raynos What?
 
4:50 PM
@Raynos Why not? It's pretty neat.
 
@Amaan I mean why are all the android developers indians
 
@Raynos Oh, eh. Everything in that is ancient.
 
That may come from the fact that most mobile developers start out trying to develop for their own phone so they can test it or whatever, and most of them own Android phones
I don't know why all android devs are Indian, though
 
@Amaan => the reason is cheapness
 
Yeah
 
4:53 PM
@gsnedders There's some good stuff in there though
@Amaan it's a broad generalization
 
I know, but I've noticed it too
At least here on SO
Most of the people in the Android Dev chat room are Indians
 
Guys ..
 
Yeah?
 
can some test this
is buggering my ffox
 
@Amaan @Abhishek Hello
 
4:57 PM
looks nice @Abhishek
that the preloading?
 
@Abhishek Nice
 
oh there we go, seems to work well
 
yeap
 
@Amaan Hello
 
@redoc01 Hello. What?
 
4:57 PM
@Loktar thats the preloading :)
 
@gsnedders, I don't see much difference in string values and string objects when doing .substr for example jsperf.com/object-vs-value Doesn't seem like it's worth replacing all my strings with string objects :P
 
You may want to add a CSS3 transitions. They make everything cooler. :P
Oh, and change the cursor to pointer
 

« first day (423 days earlier)      last day (4527 days later) »