« first day (894 days earlier)      last day (4040 days later) » 

12:00 AM
@Zirak I love it
 
the singleplayer was too easy :(
 
@david yeah I beat it on hard, a few missions took a few tries
the story was way better this time around though
 
i went for brutal straight off, and it wasn't very challenging :S
the story was kinda cool i guess
it was a little random though :p
 
am i the only one who does this when programming:
user image
2
 
No you're not the only one, and you know that
 
12:15 AM
Damn. Not only did he not install it, he sutured a 'Vista-Ready' sticker onto my arm.
3
 
@Zirak copy wants to ask you something.
 
uhoh
what could that mean
 
@BadgerGirl And he's too embarrassed to ask me himself?
1 message moved to Trash can
 
@Zirak if you die, could I have a threesome with you?
 
@copy No
 
12:25 AM
LOL
 
@BadgerGirl See? It's a weird question, I told you!
 
I'm glad we sorted that out.
It's like we're bonding.
 
@copy It didn't seem too weird until you actually asked.
 
user1125394
@paste
 
user1125394
the only drawback of spaces indenting is the time you spend backspacing
 
12:34 AM
@jAndy, THE GAME!
 
@crl that's a pretty big drawback imo
I'd rather just set tab width to 4
not that hard, really
 
@crl u try both c# and js
 
user1125394
yes just changed it on this shit of visual studio
 
user1125394
let's do some tabs, I'm too volatile*;)
 
see the revision history for details
NVM, not sure how that ^^ should be handled
 
12:56 AM
working on a script to scrape noswearing.com....
can't figure out why my iframe is firing onload twice
var scrapeDress = ['a','b','c','d','e','f','g','h','i','j','k','l',
		'm','n','o','p','q','r','s','t','u','v','w','x','y','z']
,	baseUrl = 'http://www.noswearing.com/dictionary/'
,	count = 0
,	scrapeFrame = document.createElement('iframe');
scrapeFrame.onload = function (event) {
	alert(++count);
	console.log(event);
};
document.body.appendChild(scrapeFrame);
scrapeFrame.src = baseUrl+scrapeDress[0];
 
are you running the code twice?
 
no, I just paste it in the console once
I guess I could just patch it, and only do what I need on the second one, since this is supposed to just be a quick script
oh, I'll bet it's loading a blank url first
 
try printing the scr on load time
 
yup, I just moved the append line above the line setting the onload, and it works now
@OctavianDamiean moar like this please ﴾͡๏̯͡๏﴿
 
1:06 AM
@Shea Because it is loading twice: Once with a blank src, and once with the one you gave it.
 
yeah, thanks @Zirak :P
just moved the append line above the onload line
 
You can do the logical thing instead and move the src assignment up.
 
that's even better, thanks
I'll try to make it a habit
I haven't exactly been 100% with my logical capabilities the last week or so
 
!!will it be excessive to use nuclear warfare against these pesky mosquitos?
 
@Zirak No way
 
1:17 AM
...hehe. hehehehehe. Hehehe. HAHAHAHAHAHA. HAAAAHAHAHAHAHA
 
I really hate it when people don't
 
@Loktar correct. My code is shit
 
@Raynos psh whatever
 
@Raynos You've done things. Have you ever worked on a static site generator? Not a static site engine per se; a generator. Some program sees a bunch of content directories as input and spews html as output.
 
@Zirak no
@Loktar true story. There's little code I'm proud of.
 
1:33 AM
thats why you write so much and keep improving :P
 
well yes
or I eventually ragequit
 
This might be a chance to work with Lua.
 
1:53 AM
here's my noswearing scraper, if anyone ever needs it pastebin.com/dVuVc5m1
just put in on the console
 
Nice, fucking love it man
although they are trying to get me to install Flash.. which I already have
generally thats malware
 
yeah, I had fun makin this lol
 
> axwound
 
@Loktar I don't get that, are you sure it's not some extension?
 
what do you mean?
a popup floats up the site
saying install flash HD!
which im like.. no thanks bro.
 
1:57 AM
oh, I think my adblocker blocked it
 
yeah that site has a TON of ads..
 
okay, I see what you mean now lol
 
Static typing will prevent most bugs
 
user1125394
2:54 AM
live.datatables.net/#javascript,html why they are giving an id to body..
 
because they don't know about document.body
 
3:12 AM
or the 10 other ways to do it... ha
well maybe like 2
 
document.getElementsByTagName('body')[0];
document.head.nextElementSibling;
document.documentElement.children[1];
 
or 3
document.querySelectorAll('body)`
 
3:40 AM
Hmm I only knew about getElementsByTagName('body')[0]; nice gotta remember the other two
 
4:25 AM
Is there any way to make a global event for something like getUserMedia?
as in a global event that is fired at the same time as the callback
 
just call the function from the callback?
 
Yea, but thats not the point ha
getUserMedia probably isn't the best example
Like if you wanted an event to fire every time any setTimeout fired...
don't question the stupidity of that... haha
 
You could rewrite setTimeout
window.oldSTO = window.setTimeout;
window.setTimeout = function(callback, time) {
    window.oldSTO(function () { callback(); onSetTimeoutFinishedHandler(); }, time);
}
 
4:41 AM
Hi everyone, I need a little help with this:
0
Q: Synchronously get Stored data from content scripts

Mostafa ShahverdyI am currently working on a chrome extension and source code is available on Github.com. The goal is to inject custom Javascript into webpages. Currently I store each custom Javascript Inject in localStorage and call them from content scipts. I have set run_at to be at document_start. I use t...

 
hmmm, yea that seems like a good idea. Thanks.
@phenomnomnominal I'm only using it for tests anyway
 
Why can't T-Rexs clap? Because they're dead
 
Hello
 
 
1 hour later…
6:05 AM
@MostafaShahverdy Were you not able to use extension storage with sync?
 
morning guys
how r u this beutyful morning?
 
Who are you again :P ?
 
me?
megapro javascript developer :D
 
megapro?
 
just kidding )
ultramegahyperpro
 
6:08 AM
right...
 
why r u so sad?
its a beutyful day
 
I have to debug a safari extension :P
 
:))))))
 
Stop that :/
 
Benji do you know where i can learn/read something about how to connect properly back-end and front-end js?... may be some exmaples
im sorry Benji i have just good mood today
 
6:16 AM
The good thing in being a young programmer is that you can blame others for the bugs
 
6:31 AM
@SOChatBot Hi
how can i increase individual cells indivisual count values
here is the fiddle
 
hes a bot
 
@mikrowelt can u please see once above fiddle
 
@rlemon please be here :P
 
shankar
what the problem with ur script
tell me more plz
 
if we click on cells count event is firing for each cell
i need to count values for individual cells
 
6:46 AM
the bug is that in some cells u have big count right?
 
@shankar.parsanamoni jsfiddle.net/xnCWK there you go help vamp, have a good day
 
its starts not form 0 right?
 
yes
i hope u understand my query
 
i think it solved now
look Benjis answer
 
ok
@BenjaminGruenbaum its fine.I need to show all clicked cells total in first cell (00)
im new to script,please help me out
its urgent
 
6:50 AM
so create another variable and increment it...
Oh, it's urgent? You script for incrementing a table cell is urgent?
Sounds urgent. "Please tell me how to script a table cell to display a number that increments, otherwise little billy bob will die. It's urgent, it's his only chance"
 
sorry dude
i will go through my script
than you
thanks
 
Simplicity is prerequisite for reliability. [Edsger W. Dijkstra]
 
@BenjaminGruenbaum As I said last night, I had the same problem with it
 
7:13 AM
ello o/
@BenjaminGruenbaum is
sleep an undefined reference for you ?/
 
He is awake!
 
It's 9:15 am here
 
what time is it there @BenjaminGruenbaum? 9?
oh
!
 
7:15 AM
two hours behind!
2:30
behind
 
NetTuts+ is a GREAT SITE!
 
@BenjaminGruenbaum lets see
when i goto sleep at like 4 am
you are up ... when i come back at 11 am you are awake
the whole day you stay up!
 
I'm really a bot :P
 
@BenjaminGruenbaum Hello i need a help in node js
regarding
0
Q: How to run my Node.js compiled file into web browser?

GajiniI am newbie to nodeJS i implemented a server side script for a chat application in nodejs.It is running fine in localhost:xxxx but i want to run on my domain.I uploaded all the files needed on the server using FTP. my server code is // chat-server.js "use strict"; process.title = 'node-cha...

 
7:30 AM
@Gajini You need web hosting, google heroku and follow their tutorial
for node.js
 
Javascript isn't a real language
 
:(
 
@Gajini you are kidding right?
 
@Jan-StefanJanetzky seriously i am newbie for nodejs
 
@victor your question has nothing to do with node. it has something to do with the server you want to run it on
unless the server has node installed you will not be able to run node applications on it.
 
7:45 AM
@Jan-StefanJanetzky yes ! I am able to run it on localhost now i have to deploy it on my domain
 
if you just have a php / mysql / ftp / webspace package then you shall forget it.
for this you need nodejs hosting or a server with ssh shell
 
i have ftp
ohh ! how can i do that ?
@Jan-StefanJanetzky
 
hahaha
 
stop trolling. srsly.
cpt. obvious can tell you what i left out.
 
@Jan-StefanJanetzky i am very new to this stuff dude
 
7:48 AM
Can someone send me some node please. My server no run.
 
haha why does that exist?
 
because its node running on a linux vm running on a server i have full control over and in addition takes around 80€ each month out of my pocket. thats why.
so unless you want to spend at least 5 bucks for a tiny virtual server you will maybe never be able to have full controll over what software you would like to use (like node)
 
Nothing wrong with cloud storage for node.js like Azure, or Heroku
 
!!/adventure
 
7:55 AM
@Derek You are in a dark room, strapped to a chair. A voice asks if you should use w3schools or MDN. To choose w3schools, type !!/w3schools . To choose MDN, type !!/3mdn
 
!!/3mdn
 
@Derek You are set free and a door opens. You leave the room and are blinded by a confusing but dazzling light. You win.
 
@Jan-StefanJanetzky still doesn't explain why you have a domain dedicated to sending random people like me relevant phrases... haha
 
hey guys
how can i trigger file download without opening new tab/window in the browser
would a JS redirect trigger a download dialog without redirecting the page ?
 
@twiz do you think opening gottz.de:80 is the only way i can use it? most stuff that lies there is private and hidden.
 
7:57 AM
@tereško Set the headers on server-side
 
so , it should work
 
If the content type is correct the browser should know to download and not redirect on its own
 
@tereško if you trigger a filedownload most browsers automaticly wont open a tab / change the url
@BenjaminGruenbaum exactly!
@twiz i'm just too lazy to create a homepage. thats why there is no content.
 
0
Q: What is mysqld.exe ?

Koray TugayAs soon as my Windows starts, I see a mysqld.exe in my Task Manager which uses 500 MB of memory. What exactly is this, mysqld.exe ?

 
8:02 AM
@Jan-StefanJanetzky laziness is always the best of reasons.
 
@twiz google for "domain" and you will mostly find a reseller where you can buy one. in addition search for: "vserver" and you will maybe find a reseller too. then do some research about linux, cats and magic, rent a vserver, install linux onto it, download the node tarball, configure it, make it and make install it, buy a domain and bind it to that server and voila..
or get a dyndns and host from home.
 
@Jan-StefanJanetzky Or just use free node hosting... haha
 
@twiz depends on your application.
 
Yea, I haven't used node too much yet.
Do you mean because you can't install some modules?
 
@twiz i do stuff in c++ so if i try to combine my c / c++ stuff with node i will mostly fail on free hosting.
 
8:16 AM
Benchmarks don’t lie, but liars do benchmarks.
 
never trust statistics you have not corrupted by yourself. [dunno who said that]
 
Hey Folks.
Hows doing..
 
8:47 AM
@Shea wat!?
 
What is the most exciting
JS thing
this week
 
hi all
@dystroy lmao
 
How can it take two weeks to ship my pie!?
I want them raspberries!
 
@Raynos dunno you cming to the js room ?
 
Oh what a genius I am ... ordered my RPi but forgot to order a power supply with it.
 
8:55 AM
:D
 
@OctavianDamiean I'm waiting to buy a pie till CPU gets improved...
lol, luckely you can power it with USB for the time being. :)
 
@grmbl Make sure not to forget the power supply unlike a certain someone in here.
 
lol
i'd like to use rpi for XBMC but I heard performance is edgy...
 
I'll use mine as a tiny lil webserver for something. I'll tell you when I know.
 
I need to improve my *nix skills before I can do that, lol
 

« first day (894 days earlier)      last day (4040 days later) »