« first day (877 days earlier)      last day (4076 days later) » 

12:13 AM
I want await now
 
Wierd .. When I take the tab of my offline index.html and pull it to become a single page.. all other pages become unresonsive and I cant scroll or click on them
 
hey anybody alive
I have one question for java developers
 
No, they are all dead, I killed them all with my dullness
 
what your q?
 
Also this is Javascript, not Java.
 
12:18 AM
hahah ok guys
actually i am trying to show targeted content inside of iframe
so its like on that website i want to show just sign up form
which is in center
so i just want to show that not whole page or background or the content which is left and right
@sublime.Hat @DaveRandom
where you guys gone that's not a hard one hehehe :D
 
That's not really a question, more a statement of intent.
 
man sorry for my bad english lol
 
@MalikUsman I think that is better suited for an actual SO question where you can explain things in detail? :)
 
ok let me try again
actually my question
 
I think you could probably find the answer on google though
 
12:23 AM
@MalikUsman It's not a case of bad English, I understand exactly what you are saying, but you didn't ask a question. You just said "I want to do this" and then didn't ask anything about it.
 
yeah how can i do that
?
that's the question ?
 
@MalikUsman Have you tried something? Or are you just asking for some source code. I think a lot of people on SO have problems with people who dont try before asking.
 
^^ +1
 
man i did try on google
 
I mean have you tried to code something.
 
12:26 AM
broham ill try googling it too
 
Things get much clearer that way
 
but i dont know what to write on google lol
 
uhmm
just type your question on google
 
1
Q: How do I crop the contents of an Iframe to show a part of a page?

Eon Rusted du PlessisI am currently working on a website which must download content from another website through the use of an iframe. Is there any way that I can crop the contents of the downloaded page to only show a section of that page on my website?

 
or search your question up on SO
 
12:26 AM
does that help?
 
yeah like hwat dyck did
 
Or build as much as you can with the iframe, and then localize your question more
@sublime.Hat Did you just type twat and dick?
:p
 
hwat = what
dyck is Dyck
lol
 
man i am not good in this business so dont make fun of me :'(
i am try to learn things lol hehe
so be nice with me i am just 15 year old :D
 
maybe try postin stuff on SO
might help more
than us
 
12:30 AM
@MalikUsman I think the link I posted is exactly what you're asking bro
 
You learn more by doing things then asking for the cheat codes though :) And be carefull what you post on SO..
 
"The dataTransfer property is where all the DnD magic happens.", I'm a little disturbed by this guys insistence on calling Drag and Drop DnD...
 
@Dyck thanks i am working on it lets see :D Thanks
 
hey twiz hows it goin
 
@MrD you still there?
 
12:32 AM
mrd no es aqui
 
Thank you guys let me play with the codes and let you know ok :D
 
dude im foolin around with tilt on mozilla firefox and its amazing
 
Thats the spirit
 
@sublime.Hat Muy bien., pero no comprendo el nonsenso de HTML5 drag and drop...
 
but i can figure out how to change the keyboard shortcut
 
12:33 AM
uhh webworkers look interesting!
 
ahh, bueno. Yo no entiendo espanol
_ _
d_b
brb
 
Its ok... I had to google what entiendo was... haha
 
@OliverSchöning, WebWorkers are the best
 
@phenomnomnominal I don't want to be frowned to much upon. But they kinda look like I could do a BLOCKING calculation inside a webworker without it affecting the actual site :p
 
Pretty much
 
12:37 AM
got it Thank you
 
Keep your UI in the main thread, do any calculations or whatever in the worker and just post the result back to the main thread
 
lol
 
@phenomnomnominal That is amazing! Although I can see myself misusing them and just putting everything into web-workers instead of doing callbacks ...
 
Well, your biggest concern is support
 
dude this is some pretty cool stuff
 
12:41 AM
I just put a big USE CHROME button hehe.. But yeah.. Do I understand it correctly that is is basically like running two Javascript sites aka. threads that communicate ?
 
Yes, except one of them can't access the DOM (and some other stuff)
They just pass messages back and forth
and you're not limited to 2 obviously
 
I wish every website would just stop supporting stupidity...
 
!!/google can i use web workers
 
LOL
 
12:42 AM
<IE 9 shouldn't even be considered a browser anymore... ha
 
support is much better than just chrome
 
!!/urban "mozilla firefox"
 
@sublime.Hat [Mozilla Firefox](http://mozilla-firefox.urbanup.com/5905874) [\[Internet\]](http://urbandictionary.com/define.php?term=Internet) browser that you use to download the best Internet browser ever, [Google Chrome].

Make sure you use [Internet Explorer] to download [Mozilla Firefox].
 
Before I go ahead and read it somewhere on accident (lol) Does each webworker use a new core? Like node child processes?
 
@OliverSchöning, essentially
 
12:44 AM
@SOChatBot hahahaha
 
!!/urban "google chrome"
 
@sublime.Hat Outch :p Thats IE's job
 
@sublime.Hat [Google Chrome](http://google-chrome.urbanup.com/3319558) Google Chrome is a web [\[browser\]](http://urbandictionary.com/define.php?term=browser) launched on the 2nd of September 2008 by [\[google\]](http://urbandictionary.com/define.php?term=google). It uses the [\[webkit\]](http://urbandictionary.com/define.php?term=webkit) layout engine to display web pages within the browser (developed by [\[Apple\]](http://urbandictionary.com/define.php?term=Apple) for the [\[Safari\]](http://urbandictionary.com/define.php?term=Safari) browser, which was based upon the [\[KHTML\]](http://
 
take a look at this
 
12:45 AM
@phenomnomnominal what is that?
 
A tool i wrote to work out how many webworkers a device should use to be optimum
 
cool
 
my brother inlaw lol
 
@phenomnomnominal Interesting. So it checks how many workers are available? Because I would think the amount of specified workers on my site is the optimum amount to use :p
 
@OliverSchöning did you mean to ping me?
 
12:49 AM
@shea have you ever been to silverlake, CA?
 
ups.. yeah :p
 
@Dyck maybe when I was little
 
Yeah, there's no method exposed to get the number of cores of the device or anything like that
 
I was born in SoCal and grew up in The Valley
 
I think I am gonna try to use 1 webworker for my project. They don't seem THAT hard to use for a simple task like some huge iteration or whatever
 
12:50 AM
@copy You mean like node child processes?
 
@shea oh, cause i seen your from california and im gonna move to silverlake as soon as i get the money
 
and when you just want to spin up as many threads as possible, like when raytracing or doing a genetic algorithm or something, you get as many as the device will allow
 
Idk about Silver Lake, but Bass Lake is pretty awesome
 
Because you can run as many as you want (chrome crashes at ~100), and after you use more than you have cores (real + virtual) you get blocking
 
@BadgerGirl Ok
 
12:52 AM
@phenomnomnominal with your script you mean? But webworkers dont split up between each other? So if I use MAX cores, I would have to check -> run the correct worker scripts for amount of cores. Amirite?
 
@Shea where are you now?
 
I mean on any device you can just go for (var i = 0; i < 1000; i++) { new WebWorker() }
 
I am getting overexited.. Need to do some work first. Else I end up with 20 tabs open again.
 
@sublime.Hat lemoore
 
My script essentially does that, but it monitors the result of doing a simple parallel algorithm on i workers and returns the number that gave the best (fastest) result
pretty simple really
 
12:54 AM
*refrains from wise ass answer*
 
@phenomnomnominal I know this is a noob question, but I have this embed: <SCRIPT LANGUAGE=JavaScript SRC=algebra.com/cgi-bin/…; and I have the JS source, so how would I make it so i doesnt use the SRC but the code that I have?
 
I am having a hover issue that is causing hover events not to fire because they are located 'below' other elements. I tried generating random z indexes but that does not always solve the problem. Is there anyway to make an element 'transparent' to selection?
 
.... I feel like the idiot in the room... or well, white elephant.....
 
@BrandonGelfand you would do something like:
 
@phenomnomnominal OK. Right now I am reading this: http://www.html5rocks.com/en/tutorials/workers/basics/
And so far I understood it like running a second js file that waits for input. And I dont see how several webworkers could be assigned to this task.
But I think I should DO now, and learn the advanced stuff later :P
 
12:57 AM
 <script type='text/javascript'>
    var myFunc = function () { console.log('I am a JavaScript funciton'); }
 </script>
Say you want to add up all the numbers between 1 and 1000000
But you want your main thread to stay active
 
@BrandonGelfand My favorite thing about the JSroom is that there is always someone here who can make me feel stupid
 
And you know you have 4 cores, so potentially you can use 8 webworkers
 
hahah I know the feeling @twiz
 
seriously, I mean its a good thing haha
 
@phenomnomnominal where would I put the code I have?
 
1:00 AM
@OliverSchöning you could use 1 worker with a function thats just something like function (start, end) { sum = 0; for (var i = start; i < end; i += 1) { sum += 1 };
put that in a worker thread and then post a message to that worker with start = 1 and end = 1000000
or you could split 1-1000000 into chunks, say 1-125000, 125001-250000 etc etc, and pass each of those to a seperate worker
and then just sum the result on the main thread
 
ok, another question, I dont do anything with this stuff right? apis.google.com/js/plusone.js
 
@BrandonGelfand you would put the code you have between the open script tag <script> and the close script tag </script>
@BrandonGelfand, if that is the code that you want to add, you could simply do <script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script>
 
@phenomnomnominal Ooh :D Gotcha
 
@twiz right now all of you are making me feel stupid
 
Damn.. sounds like webworkers really gonna push JS to another level ^^
 
1:04 AM
They certainly have the potential to
 
<script type='text/javascript'>
all the code on plusine.js here
</script>
right?
plusone*
 
@BrandonGelfand, that's one way, but <script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script> will do the same thing
 
@phenomnomnominal Thank you for all the info. I am way to exited now, need a walk. bb
 
xD Oliver, I told you I am genuinely stupid even though this stuff is as simple as it gets
none the less your sarcasm still makes me laugh
 
did anyone see silver linings playbook? if so what did you think of it?
 
1:07 AM
@Dyck, yep, thought it was really good
 
@phenomnomnominal yeah me too, I thought bradley cooper did a better job than jennifer lawrence suprsingly
 
I thought they were both great, he pulled off being manic pretty well
 
yeah me too, i saw it with my brother... hes bipolar and he really liked it too
you know anyone with mental illness?
 
Yeah several people
 
@Dyck what does being bipolar have to do with liking a movie??
 
1:18 AM
Premature ejaculation is the root of all evil
 
@shea the main character in the movie is bipolar and the whole movie is about mental ilness
 
oh okay, that makes sense then
had a "wtf??" moment
 
0
Q: Remove pagination on posts_per_page update

AhhhhhhhhhhhhhdfgbvI have a button setup that queries the amount of posts_per_page to return. In this there is 5, 10, and All (-1). BUTTONS <form method="post"> <button type="submit" name="post_per_page" value="5">5</button> <button type="submit" name="post_per_page" value="10">10&...

 
@phenomnomnominal you get the console for errors?
 
!!/choose 1 2 3
 
1:28 AM
@copy 2
 
I knew it!
 
@Shea it's a userscript it's just being a bit annoying
 
userscripts give errors too
***could have something to do with this*** but doubtful
 
Yeah but the userscript injects the script into the actual window, so the script doesn't debug like it should. And it's not actually throwing any errors
bah
 
Strong typing ftw
 
1:46 AM
does anyone know anything about DFP ads?
 
@SOChatBot Fatal type error
 
2:06 AM
@phenomnomnominal this is what I have the source code from: algebra.com/algebra/homework/Linear-equations/… click the source button next to the guy
something is missing though, i keep getting syntax errors
I am getting so frustrated...
 
Your problem will be that it isn't JavaScript
 
course its not....
then what the heck is it?
 
perl, and i assume some sort of embeded environment.
either way it's a bit shit
so all you want is to find the equation for a line between two points?
It's very easy
 
no
I am gonna make that into an iOS app
I am gonna take all those solvers and make apps out of em
 
okay, so are you using phone gap or something?
 
2:09 AM
yes
 
!!/urban brandon
 
@sublime.Hat Brandon The most AMAZING person alive.
 
whoa. nice
 
The good thing in being a young programmer is that you can blame others for the bugs
 
Should JSON not be called EON ? :p
 
2:19 AM
someone 3 years younger than me just called me a kid lol
someone hold me
I feel so wronged
 
@Shea So.. when did you join the Internetz? :-p Every Youtube video ever is calling you a kid if you disagree with them
 
I joined youtube in 2007 :(
 
!!/urban oliver
 
@sublime.Hat [Oliver](http://oliver.urbanup.com/4781699) A male orange tabby cat. Olivers are gentle, loving, goofy, and adorable. They love to play tug of war, jump up on high beams and cuddle on cold winter nights. They are pleasure seekers, so please don't overfeed them.

Olivers are the best kitties ever. If one wants to adopt you, let him. You won't regret it.
 
LMFAO!!!
 
2:22 AM
xD
 
umm?
 
You know.. people do say I look like a lion .. basically a cat
 
!!/urban shea
 
@sublime.Hat Shea the act of doing olympic-like moves in the bedroom
 
LOL
 
2:22 AM
xD
 
DONT DO HAD
*hat
 
tha fuck? it didn't start where I told it to
!!/ban sublime.Hat
 
@Shea Registered; need 1 more to execute
 
that's the second time you put my name through urban lol
 
2:24 AM
HM... Do.. or Not do :D
 
do, eeetttt
 
lol
dont
 
!!/urban SO ChatBot
 
@OliverSchöning smarterchild a stupid aim robot that is so fucking funny
 
!!/ban SO Chatbot
 
2:25 AM
@sublime.Hat Registered; need 0 more to execute
 
LOL
dude whats with the youtube vid?
 
!!/echo !!/unban SO ChatBot
 
@Shea !!/unban SO ChatBot
 
!!/unban SO ChatBot
 
@Shea I'm afraid I can't let you do that, Shea
 
2:28 AM
!!/action do a barrel roll
 
@OliverSchöning Command action does not exist.
 
!!/unban SOChatBot
 
@phenomnomnominal Cannot find user SO. Cannot find user ChatBot.
@phenomnomnominal User SOChatBot isn't in mindjail.
 
!!/ban SOChatBot
 
@phenomnomnominal say !!/unban 1839506
 
2:29 AM
@phenomnomnominal Cannot mindjail owner SOChatbot.
@phenomnomnominal Cannot mindjail owner SOChatBot.
 
Oh, nm
 
!!/ find corner in circular room
 
@OliverSchöning Command find does not exist.
 
@SOChatBot wth then? you liar
 
!!/listcommands
 
2:30 AM
@OliverSchöning 420, 5318008, help, listen, eval, live, die, refresh, forget, ban, unban, info, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, learn, bewbs, i_am_a_robot, aliens, ym, format, happynewyear, tell2, 3point14, camel, ihatelanadelrey, fa, vk1, vk2, rlhd, stab, popcap, guesswhat, whosthere, knock, knockknock, say, heybuddy, echo, codesnotwork, kungfu, lick (page 0/1)
 
!!/die Shea
 
@OliverSchöning Registered; need 1 more to execute
 
it doesn't work that way dork lol
 
Is it like a DeathNote ???
 
2:31 AM
no, it kills the bot
!!/die
muahahaha
 
@Shea Registered; need 0 more to execute
 
!!/live
 
@phenomnomnominal I'm not dead! Honest!
 
How do you kill that which has no life
 
it involves sacrificial rituals
 
2:32 AM
!!/knockknock
 
@OliverSchöning knock knock
 
that's why @sublime.Hat stopped talking... we had to take him out to make that possible
 
One day ChatBot will rule the world..
 
!!/tell OliverSchöning whosthere
 
@OliverSchöning It's me. I kill you!
 
2:33 AM
:O you'll be the next sacrifice
don't answer your door bro :S
 
I'm behind 7 Proxxies
 
on a more serious note, did you know anonymity on the internet doesn't actually exist anymore? lol
well, I guess you could always spoof your MAC, and go to a public network...
 
Hm.. put a post to youtube, first goes to YT, and then to the comment section right? So only YT knows where the person is. And that's goode, they know everything anyways
 
why do you use proxy?
 
@darksky I don't . "behind 7 proxies" is a meme
 
2:39 AM
ah excuse my noobness then
I hate memes
 
@OliverSchöning don't make me back trace and destroy you lol
 
I know some guys on a private server tracked down the ddoser to a about a house
@darksky No one can hate "bad luck brian" or "Conspiracy Keanu" :p You must hate the Trollface and the likes
@Shea Luckily most people who can actually manage that sort of thing arent really physically intimidating :-p So unless they send some mobsters after me, I am fine with some1 on the internet knowing where I live hehe
 
I'm not like most people :)
that's probably the truest thing I've said all day
 
@Shea Although, most people probably think they arent like most people, just like 80% of people think they have above average IQ. So saying you are not like most.. a fuck it.
I should be safe this year. Not staying in the same place for more then a month
And now adios! I have to work!
 
I get it...
But where do you draw the line?
At some point, it's quite apparent
 
2:49 AM
I like my women how I like my coffee. Without a penis
 
LOL
 
@OliverSchöning I just got IP addresses for everyone in the room
I wish that would get patched lol
 
@phenomnomnominal you think there is a way to write perl inside of Xcode without phonegap or camel bones?
 
@BrandonGelfand, probably not
You want a function something like this:
var getLineEq = function (point1, point2) {
  if (point1.x === point2.x) {
    return "Line function: x = " + point1.x;
  }
  if (point1.y === point2.y) {
    return "Line fucntion: y = " + point1.y;
  }
  var gradient = (point2.y - point1.y) / (point2.x - point1.x);
  var yInt = point1.y - gradient * point1.x;
  return "Line function: y = " + gradient + " * x + " + yInt;
}
 
camelbones looks like my best bet, pissing me off trying to get it to work though
@phenomnomnominal is there a way to send private messages to people on here?
 
3:02 AM
You can invite individual people to a chat
 
@phenomnomnominal can you make one and invite me? I dont have enough points yet...
 
Why can't Elvis Presley drive in reverse? Because he's dead
 
am I the only one who finds these jokes really funny?
 
3:20 AM
Yes
 
lol
 
3:41 AM
anyone here work with wordpress at all?
 
yeah!
 
Do you know where the Multisite user dashboard files are?
is it /wp-admin/user ?
 
sorry, I don't know :(
 
anyone else?
 
it's pretty dead here atm
 
3:46 AM
@Dyck what do you do with WP?
 
Make websites pretty much... css, basic php stuff like that
what about you?
 
same
looking for a guy with the advanced parts of it
 
LMFAO
 
Sneaky bastar*s
 
^ la*gh out loud
 

« first day (877 days earlier)      last day (4076 days later) »