« first day (1139 days earlier)      last day (4033 days later) » 

00:03
@BenjaminGruenbaum ok turns out it's not worth it... it cannot be done with boolean flag at all
just use normal map it's like 1 extra lines...
what is incredibly complicating is when something is a promise for an array
Promise.map(promiseForAnArray, function(){}).map()...
basically I need far more data structures than just 1 bit
user1125394
00:09
there is a non-free chrome version for that
0
Q: javascript jquery requirejs variable scope

Santiago RebellaIm writing a simple agenda. from html i call require that goes to init.js requirejs.config({ enforceDefine: true, baseUrl: 'js', urlArgs: "bust=" + (new Date()).getTime(), paths: { jquery: 'lib/jquery-1.10.2.min', agenda: 'app/agenda' } }); define([...

user1125394
ahh chromium
01:02
!+-+-+!+-+-+!+-+-+!+-+-+!+-+-+!+-+-+!+-+-+!+-+-+!
function( ...
I hate you...
user1125394
normally history is more recent entries on top
@rlemon never tested it on ubuntu
@rlemon by the way, I managed to find the mistake in my "top top" script :D
01:33
!!define copacetic
@Shea You've got some balls, coming back here after what you did.
@Shea copacetic (US) Fine, excellent, OK.
@Shea I really hate it when people overuse that word. It's like someone told them it would sound smart, but it really just makes them sound like they're trying to sound smart
People don't use it that much where I'm from, but people aren't too worried about sounding smart here.
In fact, sounding dumb, and talking in broken English, seems to be a trend here
'murica
!!afk should I get xBox One or PS4?
01:41
@AGirlSaidMySmileIsCute BROOOOOOOOOOOO.
Suppose ya wanted to preventDefault, run a function, then fire the event. What's the opposite call of preventDefault?
@AGirlSaidMySmileIsCute ps4
Just call the function and don't run preventDefault
@AGirlSaidMySmileIsCute PC
Thing with PC is I don't like to play keyboard and mouse.
Sometimes, sure but I can't play every single game on a keyboard.
Maybe because I am not used to it.
01:44
@copy Suppose it's a link that'll trigger a page change
Well I always prefered xbox, but I really do think PS4 is a better deal, with free online play
Idk if it's still the case or not though
I always preferred the PS, but the PS3 had such a limited list of titles
@monners Yes
"You get what you pay for"
Glad they've moved back to a more conventional chipset architecture
@copy This isn't actually I problem I'm trying to solve in the real world, was just wondering if there is indeed a way of delaying the default action
Kinda like firing the link action in response to a promise
01:47
@monners Well, think about it, what does a link do?
Oh. I believe it's not, at least for most events
It changes the page's location. Sooo... location.href = anchor.href, if I understand you correctly
@Shea Oh, I know this one! It... links?
i need help
can anyone plz help?
01:48
@KickButtowski Will there be cake?
if there is , how can i give it to you?
!!tell KickButtowski welcome
@KickButtowski 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.
Came across 4 Non Blondes - What's Up, so I had to do this....
sorry my lab top froze
I'm talking from iphone
01:58
The newest Iphone?
no 4s
I try to do post on a URL with java but I keep getting error
could u go to my page and see what's going on ?
go to my question section plz
:)
Sorry, we can only help people who own an Iphone 5s
Have a nice day
lol k thank y
have a good 2 u 2
Sweet!
02:13
thanks
@rlemon Nice
I keep trying to break them all, but I... I just can't
now to make them fade back into place instead of snap
this was one of those inadvertently awesome things
(imo)
02:30
anyone here that uses heroku? I have a git question for ya
I use git...
02:58
"Loki is my brother"
"He killed 80 people in 2 days"
"He is adopted" lol
04:20
Oh hay
Hey-hey, hey
04:40
hi
m59
m59
Can anyone guess why I might have just received 1 rep and it's not in my history?
!!stat
@m59 m59 has 2901 reputation, earned 37 rep today, asked 9 questions, gave 169 answers. avg. rep/post: 16.29. Badges: 0g 4s 13b
m59
m59
lol
Damn, the dog has some powerful gas tonight..
05:00
@m59 check "show removed posts"
@m59 most likely an answer you have downvoted has been deleted
m59
m59
Because I downvoted on it?
Cool.
hi folks... i have a huge problem...
using I created a side panel that is static and when items on the panel is selected, another page loads in a div in that same page without refreshing.. the thing is that when that page is loaded i have forms in that secondary. when that from is submitted, the whole page refreshes... how do i stop that...? hope my question is clear
@Isuru submit via AJAX?
@JanDvorak i'm not an expert in ajax... so don't know how..
(hint: yes)
!!tell isuru jquery load
@JanDvorak may I borrow you for some design consultation?
m59
m59
Is it reasonable that a function could return an object that tells the caller what kind of stuff went on? Like, you might do:
@RUJordan speak out
m59
m59
var x = foo();

if (x === true) { //etc
could there be multiple things you want to check about foo() and thus return an object instead of just true or something to that effect?
Or is that a definite code smell?
@m59 you could always return an object
05:08
K. I have an object (engine) that holds objects (player, elements, shop). The shop object is new, and holds objects (items) as well. What would be the best way to set this up? (am I on the right path?) Pause for current code:
function _shop() {
	"Heal" : {
		effect : engine.player.revive(true),
		price : 100
	}
}

_shop.prototype = {
	buyItem : function(item) {
		if (engine.shop[item])
	}
}
m59
m59
@JanDvorak how common is that?
@m59 {moreDataNeeded:true, dataNeeded:[...]}
@m59 this is what a typical AJAX response looks like
Guys is it possible to retrieve javascript sessionStorage.setItem("sessionval");stored session values in c#
m59
m59
right, that's what gave me the idea. I've just never seen it in the context I'm referring to.
So basically here, I have one item in the shop, a "Heal". When I buy it, it will either go into the player objects inventory, or be instantly used (effect in this case, would trigger another function, say "useItem()". Is this a good path in a design aspect?
05:09
{moreDataNeeded:false, result:{...}} (or splice the result into the root)
@MAD4RA that is a different storage
@RUJordan why not do direct uses through inventory?
@JanDvorak in this particular case, the effect is immediate
m59
m59
I suppose my controller in this case is kind of its own little program and its one public method needs to return data, but there are other potential things it could want to let the caller know about.
i got that from dev.mozilla site, is it possible to get that particular session value directly in the code behind file ?
Not to mention I have to setup the inventory <.<
m59
m59
My tendency used to be to make the controller responsible for things it really shouldn't care about.
05:12
@m59 smells of the God Object antipattern
m59
m59
My new approach?
basically, do god objects with the intention to refactor later. Say, if you know you can't build a good architecture because you don't know the specs will stay
@m59 but you can still treat your god object like you would treat a remote machine. In theory, at least. In practice, I predict design breakdown
m59
m59
Yeah, that was the old way.
05:16
@monners that's so cool
Their promo video's pretty rad too
Apparently they surpassed their funding target in the first 24 hours
@monners come to think of it, I'd still prefer a breadboard
Maybe they should add a printer cartridge to the set. That would be great
or at least revive plotters
hello
I would like to pass this exam:
http://www.microsoft.com/learning/en-us/exam-70-480.aspx
Could anybody recommend me resources for preparing?
Or share your experience please :)
05:46
Hi all
I want to play audio and video in all browsers including ie7 and 8
Is there any solution??
@GaneshKumar in IE8? Flash
or Java or ActiveX
You could use WMP in IE8, since WMP will always be available where IE8 is
@Shea I think a Java applet might be a bit easier to make.
I believe you can also use embed for wav files in HTML4
@JanDvorak I wouldn't know, I've never dabbled with Java. /confessionbear.jpg
Hello Guys
05:57
@Abhi hello
OMG it's Dwayne Johnson!
http://stackoverflow.com/questions/20258102/slide-in-a-hidden-element-on-hover/20258648#20258648
So I give a concrete answer, and the guy that gives no answer is getting upvotes? Whaa?
I take it back. My answer got acceped
Go back to bed kids. All is well with the universal.
@monners :D , @JanDvorak Hello dude
hello all
good morning
@MuneemHabib hello
i have 1 question i am using File Reader property to read files
one of my file size is 51mb
filereader stores content of file in a string
so how i should store 51 mb of data in string
?
@JanDvorak
06:08
@MuneemHabib That's a cool question
@MuneemHabib why ask me?
@EnglishMaster is there any cool answer :)
I'd probably try using ByteArray (similar kind in JS) first and see what happens, if your browser doesn't crash then it's working
@MuneemHabib but it sounds like there should be a File Writer that you can use
@JanDvorak you are an expert in this field thats why
@EnglishMaster and what if it crashes?
@MuneemHabib who told you I was?
@JanDvorak my 6th sense :)
Do you need the entire 51 mb content at once?
Or is it ok for you to stream?
@MuneemHabib Then you should recalibrate that :-) "knows more than I do" != "knows everything Javascript"
Javascript sucks hardcore at achieving your goal I think
06:13
@JanDvorak there is no File Writer method
@MuneemHabib hmm...
0
Q: Do ArrayBuffers have a maximum length?

cavilaI little confused here. Do ArrayBuffer allocate a new memory region for it? If so, what would be the safe maximum Blob size to put on it?

I think storing 51 MB might just work
What do waiters say when they put food on your table?
Bon Appetite?
Waiter: "Eat fast"
I don't get it. Was it a joke, or just a shitty waiter you had?
06:25
Waiter: "Surprise! Anthrax."
Yeah, I think I had a shitty waiter I think. He even said
"Do you want bill now or finish chewing that first?"
!!s/Anthrax/Chloroform/
@Shea Waiter: "Surprise! Chloroform." (source)
"Do you want your tip now or after you've had a chance to recover from this first impression?"
@EnglishMaster I would have told him, "fuck you, get your manager."
06:27
Waiter: "Tip generously, otherwise you are a poor kid"
Waiter: "They beat me when you're not looking"
"Here's a tip. *punch to the face*"
!!s/face/balls/
@monners That didn't make much sense. Use the !!/help command to learn more.
@monners "Here's a tip. punch to the balls" (source)
That's interesting that it striped the backtick
06:30
Me: "Execuseme, can I get a spare spoon and fork?"
Waiter: "Gosh, leave me alone!"
@EnglishMaster This is going nowhere fast
06:50
Me: "Call me a manager please, I have a complain to make"
Waiter: "What did you just say?"
Me: "I said call me a manager"
Waiter: "She's not just a manager, she's a phucking RESTAURANT MANAGER!"
Errr, what?
He's gotta be trying to get fired
!!wine or beer
@monners beer
!!beer or rum
06:54
@monners rum
!!rum or wine
!!eval 1 < 2 < 4
@Shea true
Also, ccc-combo breaker
Damnit!
!!rum or wine
07:06
@monners wine
Finally, the answer I wanted
!!red or white
@monners white
Ewwww
!! mass_push_ups or mass_sit_ups
@EnglishMaster mass_sit_ups
07:07
you mad?
!!s/mad/mad bro/
@monners you mad bro? (source)
!!right or left
@EnglishMaster left
he's mad
he keeps choosing right side one
07:09
!!s/he/she/
@monners she keeps choosing right side one (source)
@EnglishMaster I_am_mad
!!you_are_mad or I_am_mad
see?
son of a...
!!right or left
@monners right
07:11
@monners you confused bot... lol..
I have that effect on androids
!!Do you even lift bro?
@Shea no
!!You don't even lift, do you?
@EnglishMaster I know.
07:17
!!Do you hahahahahahalolol?
@EnglishMaster no
!!You
@CJRamki I know.
!!Do
@CJRamki no
07:25
!!left or right
@CJRamki right
!!tell CJRamki sandbox
@monners That didn't make much sense. Use the !!/help command to learn more.
@CJRamki You know, there was this funny idea once upon a time that people were supposed to test out commands and "play" in the sandbox
@CJRamki Information on interacting with me can be found at this page
!!help
-1 for appeal to urgency. Voting to close because you didn't show any effort. — Jan Dvorak 31 secs ago
07:35
Anyone know a way to disable browser server redirection for Chrome?
Disable javascript?
Or a way to inject a cookie into a specific url, that redirects to another one, when it doesn't have the cookie?
@monners Won't work for Location header
I'm logged into Netflix on one computer, dillweed won't give me Netflix password to login to it on this computer, so I stole movies.netflix.com cookies on that computer lol
It's same browser, and same IP, so I'm hoping it'll be as easy as that
Why don't you stop going to that website
Why don't you.... No
Netflix seems to be on top of their shit
I might just need to manually insert all 35 cookies one by one
you can quickly hit "X" button before the site takes you to the other site
07:44
Oh nm, it's only 9. I'll just do it the hard way
Why did they choose to write hexadecimal numbers in your code like 0x1234 instead of 1234h (h stands for hexadecimal)?
@EnglishMaster Because it's a standard in other languages as well?
08:01
Don't you think it will be easier to write numbers in different number systems by using notations at the end? Hexadecimal = 1234h, Binary = 1010B. But the problem is B is 11 in hexadecimal
Lulz it worked
@EnglishMaster What are you talking about?
I mean, who are you talking about?
no one, sorry
My localhost server was open for like 5 min to the public
And seeing how I was the only one here when you asked that...
08:07
How many chinese hackers did you get?
You shouldn't allow any Russian hackers in, they will do anything to your computer for a cup of vodka
It feels good to know more about computers than the average person
@Kippie Hold on, I'll check my access log
None
What exactly were you trying to do anyways?
Copy Netflix login credentials from one computer to another
Ah, why not just... log in?
08:12
Who needs to steal passwords when you have cookies?
34 mins ago, by Shea
I'm logged into Netflix on one computer, dillweed won't give me Netflix password to login to it on this computer, so I stole movies.netflix.com cookies on that computer lol
Oh, nice
I just hope it doesn't blow up, when he goes to watch Netflix on this other computer lol
Netflix should support 3 clients at the same time, no? Don't think a "duplicate" cookie would matter much
I think it's only 2 nowadays
Maybe this little hack will allow 3 now? As long as I just dupe the cookies, instead of logging in?
Actually no, I'll probably get "can only watch one movie at a time, per device"
No, think they just limit the amount of streams
Not devices logged in
08:17
Well, I know it won't let me watch two movies in separate tabs...
hi there!
What a beautiful morning.
Fak the SilverLight app has login credentials too, it works up until I try playing a movie
It was a nice try though, I'll have to try again tomorrow, because I already settled in bed
Good luck
These Netflix developers are no fools
Sweeeeeeet
Got it fixed
08:40
Hi @Shea but Netflix is a channel tv of you country because I can not see
eheh ok it 's normal....
Yeah, that has to do a lot of legal bs about streaming/renting copyright material
I can stream South Park in Korea tho, which country do you live in (It wasn't possible in Australia)?
I imagine it has a lot to do with why we have NTSC and PAL
08:43
also In Italy (I live in Italy) not see
Netflix hates Czech Republic, too
@JanDvorak Netflix hates Poland, too
Oh you reminded me there's a new episode I need to watch
I am the only person that does not like South Park?
Like, only person in the whole world?
08:55
@AreWojciechowski definitely not
I don't like south part either
Gosh, creators of South Park are geniuses. Haven't you seen Team America?
I go through my phases.
and there are at least 7 million people of whom I think they don't like South Park either
@JanDvorak They are all dead? Or something?
08:57
Oh wtf? They didn't do a new one tonight :/
This is the funnies part I think
@AreWojciechowski nope. They are more alive than anyone else
Kim: "Stand rittle to your left. Rittle more, rittle more"
I'm pretty sure there's entire groups of religious people that don't like South Park
*cough* Scientologists *cough*
@Shea I'm not religious, and still I don't like it :c
09:05
haha... that reminds me of fudge packing Tom Cruise
@AreWojciechowski If I say dogs like peanut butter, does that mean you have to be a dog to like peanut butter?
@Shea No, of course not!
@Shea I didn't suggested that! :P
But it's bed time, turkey day is coming
Good night peeps
To those celebrating Thanks Giving, enjoy!
@mikedidthis Always :D
09:20
Enjoy your turkey genocide, you monsters!
9
09:45
@Kippie and, one month later, carps and chicken (and trees)
Try this in your Ruby console: t=Thread.current;Thread.new{t.join}.join
#<#<Class:0x56900d1>: execution expired>
@Kippie wait, when did it give up?
like 30s in?

« first day (1139 days earlier)      last day (4033 days later) »