« first day (1378 days earlier)      last day (3571 days later) » 

12:13 PM
!!are you alive twice?
 
@rlemon Absolutely not
 
coo coo
 
@FlorianMargaine How Chrome does shit
Well, dev tools
 
12:30 PM
Heloo
@CapricaSix
 
If anyone is less retarded than me with C# (which should be anyone), feel free to answer my question in C# chat
 
12:48 PM
I see now why JS as a first language is kind of a bad decision. It trips me up, because of how JS objects behave. They just sort of screw traditional thinking.
 
learn VB
 
Learn Python
 
or any flavour of BASIC really.
 
I tackled VB first, a long time ago, but very quickly forgot everything lol
 
@NickDugger I disagree
The way js objects behave feels more natural to me than most others.
 
12:50 PM
@rlemon No. Just no.
 
@Zirak It feels more natural to me as well, it's just not how it's done elsewhere
 
VB sounded like a better suggestion than Q-BASIC
 
So it's good to have high standards first.
 
I'll learn Assembly
 
That way you'll come to your senses and come back to js :D
 
12:51 PM
@rlemon Nobody wants to use a language with On Error Resume Next
2
 
no, but if you are picking a language to 'learn programming with' I think BASIC isn't bad
it is what I started with. so I'm biased
 
I started with VBA. I hate it.
 
Python is nice as a first language.
 
quick basic was my first language
 
@Zirak I agree
 
12:52 PM
js is too, but there's a lot of boilerplate around how to run things. Unless you install node or similar.
 
Even though I'd never actually use a language with that much significant whitespace.
 
I don't get the whitespace hate
 
You don't code golf, obviously
 
@KendallFrey yes, i have avoided using it :)
 
JS is nice because you can just open your browser and BAM - you already have your environment setup
 
12:54 PM
C# is nice because you can open up Notepad!
 
i have been Googling for more than an hour how to add two images side by side into one canvas but in vain :(
 
But then you have to finagle around with command-line compiling, which nobody really knows how to do.
 
context.drawImage(img1, 0, 0, img1Width, img1Height);
context.drawImage(img2, img1Width, 0, img2Width, img2Height);
might have width/height orders wrong
I'm sleepy
 
@rlemon let me try your code... :)
 
In today's SO world, getting an upvote on my question feels like a real accomplishment.
 
12:58 PM
@rlemon if i make the width and height of the canvas like 1000 each even though the real images are just 100px each, will it still work?
 
idk
try it out
 
@KendallFrey what do you mean
 
hell-o/
can we summon caprica to one of the SE chat rooms? (not SO)
 
@jAndy Downvotes are popular
 
@AwalGarg no
 
1:00 PM
just answer no-brainer questions which 90% of users "know" and you'll get your cookies
 
you can run your own bot on the SE sites however
 
yup, working!!!
 
@rlemon how? I tried the bookmarklet.js but its not working.
 
krb
hi all
 
you might have to finagle with it
ask @Zirak
 
1:01 PM
@AwalGarg You're going to have to do better than "not working".
 
@krb ahh, you found it!
 
What did you do to run it? See any errors? How did you try and engage it?
 
@Zirak bookmarked the bookmark and open it. then type !!live
 
Errors in console? Chrome may have a (fixable) problem
 
@rlemon your code works perfectly, jsfiddle.net/77TvE hehe thanks :)
 
1:02 PM
@Zirak ok. I will try again and post you.
 
np
 
krb
Hi...I am new to Javascript...I just want to know what are the things I need to concentrate more in Javascript for real time...can anybody tell me on this...
 
!!tell krb resources
 
^ good stuff in there
websockets are not mentioned ( I don't think )
 
1:04 PM
websockets are not for beginners
 
what is for beginners ?
 
jQuery
 
HTTP
 
FUUALP
 
XSLT
 
1:06 PM
PHP
 
ajax
 
no
 
I think a real good way of learning anything is to split your learning progess into two parts. (1) getting in from scratch, learning the basics but also (2) look at complex programs with all the magic involved
 
beginning?
 
which of course includes websockets
and eventually you will get behind because of (1)
a lot of ("ahaaaa - moments") learning that way
 
1:07 PM
@jAndy yea I also like that approach. but then again, not everyone learns the same :P
 
hello world
@Zirak Refused to execute script from 'https://raw.github.com/Zirak/SO-ChatBot/master/master.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
 
github isn't a CDN
don't treat it like one
 
gh-pages :)
 
rawgit.com also an alternative.
 
@rlemon why can't everybody just be like us ?
 
1:08 PM
what to do now?
 
@jAndy if everyone was awesome, no one would be.
 
ohh uhhh ohhh deep thoughts by the yellow one
 
@AwalGarg Replace the url in the bookmarklet with rawgit.com/Zirak/SO-ChatBot/master/master.js
 
but this was in the bookmarklet.js now what to do?
 
1:09 PM
if everyone was rich, money had no meaning
 
@Zirak ok will try again.
 
!!make fresh coffee or nuke old coffee
 
@rlemon make fresh coffee
 
!!afk coffee
 
krb
Thanks everybody for giving me such a wonderful stuff.
 
1:10 PM
how to stop the bot???
 
Think
 
@Zirak refreshed page. would it now stop?
 
HAMMERTIME!
 
@CapricaSix STFU
 
I wouldn't ask Optimus Prime how to stop him
just saying
 
1:16 PM
System Administrator Appreciation Day, also known as Sysadmin Day, SysAdminDay, SAD or SAAD, is an annual event created by system administrator Ted Kekatos. The event exists to show appreciation for the work of sysadmins and other IT workers. It is celebrated on the last Friday in July. == History == The first System Administrator Appreciation Day was celebrated on July 28, 2000. Kekatos was inspired to create the special day by a Hewlett-Packard magazine advertisement in which a system administrator is presented with flowers and fruit-baskets by grateful co-workers as thanks for installing new...
 
Programmers' Day is an international professional day recognized in many technology companies and programming firms, that is celebrated on the 256th (hexadecimal 100th, or the 28th) day of each year (September 13 during common years and on September 12 in leap years). It is officially recognized in Russia and observed in several other countries, including Argentina, Australia, Austria, Bangladesh, Belarus, Belgium, Brazil, Bulgaria, Canada, Chile, China, Croatia, Czech Republic, Denmark, Estonia, France, Germany, Guatemala, India, Ireland, Israel, Italy, Latvia, Mexico, Mongolia, New Zealan...
is better
 
^^^ is today
 
I suppose I could call myself a sysadmin
 
> Celebrations: Copious amounts of alcohol
 
but I wouldn't feel right calling myself a sysadmin
 
1:17 PM
I could call myself sysadmin, but that wouldn't make me a sysadmin.
 
why would you call yourself an ignorant moron
 
I feel like reading some BOFH.
 
why does !!s/foo/bar not work? @Zirak
 
I wear all hats -- depending on the day I'm doing jobs I have no clue what I'm doing in
 
at least.. thats my opinion about 95% of sysadm's I've ever met
 
1:18 PM
@jAndy congratulations on getting a girlfriend :)
 
@BadgerGirl thanks girl :-D
 
@AwalGarg ...dude, you've got to be more specific
@AwalGarg Why doesn't my TV work?
 
@Zirak because you threw the wiimote in it
 
@Zirak I type !!s/word/another word, it says that didn't make much sense.
 
@Zirak needs more Tropes
inb4 trailing /
 
1:19 PM
@Zirak hammer it... it will. if still not, drill it. It will sure.
 
@AwalGarg BITCHES, LEARN THE SYNTAX
s/origin/replacement/
TRAILING SLASH MATTERS
AAAAGGGHHH
 
you need to explain why it matter also...
 
optional parameters like "i" or "g"
 
I want his shirt
 
1:22 PM
I want that hat
 
I'll take the guitar then
 
Dibs on the body.
 
I want dat booty
 
0
Q: Looking for if then else pattern with async library

nkintI'm not so experienced/elegant programmer. I hope my question is understandable. I have used java/c++ for most part of my life so my mind is object oriented. Then I learned python and I enjoyed very much functional mind. Now I'm approaching js. It is challenging because it is function based (and...

 
@Zirak ok thanks. working now.
@rlemon thank you to you too :)
 
1:25 PM
Oh, lovely ads...
 
That's a different picture than the usual one
 
well. what is the secret?
 
@Zirak if I close that page where the bot is running, would it still work? I guess not but not sure.
 
@rlemon Anti-aging treatments or something.
 
Think and try.
 
1:26 PM
@Zirak if I close and it doesn't work, I will have to do all the mess again. If I don't close, I will not be able to sleep.
 
"All the mess"?
 
thats a secret ?
 
@KendallFrey a quick google just said that she breached contract because as it turned out, she didn't use their products
 
It's running a bookmarklet and (hopefully) changing the invocation pattern.
 
like half Hollywood takes HGH and stuff
 
1:27 PM
How easier could it get?
 
@Zirak so I close?
 
that is the first answer, that is what I believe now
the internet has warped me
 
you guys know those form fields where they make you put in a phone number? What are those called?
 
@AwalGarg Do whatever you want
 
1:28 PM
@Crow Input field
 
hi..
i have a small doubt..
 
@Zirak hey no.. please listen. it is running on my friend's account. he is telling me that he has to go and shut the pc. now what to do?
 
@blackbee *question
 
I get irritated when web devs don't use HTML5 field types for mobile. It makes it easier for the user, because it defines the keyboard layout.
 
@blackbee on whom?
 
1:29 PM
@AwalGarg wtf do you want from me?
 
your first born
 
When I'm bored someday, remind me to make a s/doubt/rare manfeet fetish/ userscript
 
Shoot your friend
Steal his PC
Login to his user
 
@Zirak he is not telling me the password
 
alternatively you can not shoot him and just stab him a few times.
 
1:30 PM
i know that while adding an EventListener if the callback function is predefined .. like
function cb() {}
then in the eventListner
target.addEventListener("click", cb, false);
my uestion is why cb and not cb();
 
knives are easier to come by
@blackbee cb is the function reference (name)
 
@Zirak and if I make another account, I will have to get 20 rep there.
 
cb() is how you call the function
 
@AwalGarg You've got a brain, use it. I'm not going to think for you.
 
What would be funny, you ask? 's/doubt/rare\ manfeet\ fetish/g' on #stackoverflow. That would be funny.
 
1:30 PM
ok, so if we do like functio () { cb(); } instead of cb , it still works, are the expalnations same?
 
@blackbee for a visual, run this code
function cb() {
  return 'wot';
}
console.log( cb );
console.log( cb() );
 
@Zirak hey please. wait, how to make the bookmarklet work after closing the page?
 
...
 
cb is the function - cb() calls the function and you get the return.
 
You can't
You can't run a program after your computer shuts down
 
1:31 PM
@blackbee as rlemon said, you want to pass a reference to the function to addEventListener so IT can CALL the function in case of the event happened
 
@Zirak why didn't you tell this to me all the time???????
 
you don't want to invoke that function on that line
 
@AwalGarg common sense.
 
i get it now.. :)
 
cheers
 
1:32 PM
@AwalGarg Because I don't owe you anything
THINK!
 
@Zirak but the bot is on the internet. no? it is running in the cloud, isn't it?
 
LOL
 
@Zirak I thought this ^...
 
k, I'm going to ignore you now
 
Zirak is about to lose it
 
1:32 PM
by for now .. thanks @rlemon @jAndy , yes thats right ..
 
@Zirak hey no wait. please listen. sorry... ok. so just confirm.
 
np
 
@Zirak There is no way to run it in cloud right?
 
dmi
 
floop floop
 
1:34 PM
@Zirak r u there?
@rlemon can you confirm instead of him? please....
 
4 mins ago, by Zirak
You can't
 
@rlemon oh ok. ;(
do you guys plan to make a bot which runs in the cloud?
 
> do you guys plan to make a bot which runs in the butt?
<3 this userscript
 
lol
@rlemon Where's the Caprica Node port's code hosted?
Under @Zirak like the original one?
 
sure?
 
1:38 PM
sorry. I have only heard of userscripts. I acknowledge I am a beginner, but atleast you can tell me... I know this is a userscript too. But I was asking because it seems that Caprica keeps running all the time. So how does she do it?
 
rlemons involvement with the bot: I turn her on and off.
 
@SecondRikudo The repo's pretty empty right now, nothing interesting. I've got some stuff locally.
 
@Zirak What still needs to be done?
 
Everything
 
1:39 PM
@AwalGarg she runs on FF on my pc. I don't shut down my PC or close FF
that is how
 
waaaaaaat????? you don't shut down your PC ever???
 
!!youtube even flow pearl jam
 
@AwalGarg I rarely shut down my PC too... It's not that special
 
In America, electricity bills pay us
 
1:40 PM
all inclusive.
I don't pay utilities ;)
 
that is pretty amazing man. thumbs up to you... you work pretty great for this room! cheers
 
my fish tanks would cost me > $300 a month along in hydro
 
I pay all utils, but my water is usually only pennies for some reason. I don;t complain.
 
@rlemon @FlorianMargaine hell yeah its time again!
Google knows what I want as #1 when I search friday
 
@Loktar florian already got me :/
 
1:41 PM
er I meant to ping him as well
 
he already pinged you :P
 
I know
> hell yeah its time again!
he said "Its time!"
 
I agree, you can't listen often enough
 
ohh
 
:P
 
1:42 PM
I didn't get the connection
 
o/ @jAndy
 
\o
 
user2862309
Hey guys
 
user2862309
O/
 
/o/
\o\
/o/
 
user2862309
1:42 PM
\m/,
 
^o^
 
Oo
 
user2862309
 
why does that video have so many dislikes?
 
user2862309
Haha did you guys see that?
 
1:43 PM
I used to have the biggest crush on boxxy.
 
@Mr.Meshuggah lol in like 2009
 
ahha I never noticed the count
 
@AwalGarg no idea honestly people just got on a hate wagon
 
@rlemon did you see it now? hell lot of them.
 
1:44 PM
I didn't watch the entire video... is there something wrong with it?
 
imagine her as your girlfriend
and you have to listen to her
every --- fricking --- day
 
RB is still all like : Don't care, money bitches.
 
She's my age too, which amplified said crush.
 
1.3 million downvotes - but ~70 million views.
 
@jAndy hahah yeah I found her extremely annoying
she seems way more normal now though
 
1:45 PM
yea Boxxy always just annoyed me
 
omg
 
I think she is a bot too... her voice makes me think so.
 
I would commit suicide by the end of day 3 or something
 
@jAndy I'd just damage her voicebox somehow
2
 
1:45 PM
rofling
 
"somehow"
everybody knows whats on your mind you dirty bastard
:P :P
 
@Loktar I feel dumber for watching the first minute of that...
 
haha
 
> For those keeping score at home: we just checked, and out of the 5 commenters who threatened to unsubscribe so far, 0 of them actually have. #internet
lol
dat comment tho
 
so what will happen if a user with rep 21 joins chat, sends some messages, then loses 15 rep due to downvotes... would he still be in chat? or would the page refresh kicking him out?
 
user1596138
1:53 PM
Anyone seen the OnePlus phones yet?
 
I still have an andorid 2.2 phone. fark yes
 
user1596138
Nice
 
user1596138
I kinda wanted to buy it. But this silly invitation shit has been dragging on for months.
 
Elephant.
 
@Loktar it's*
 
1:56 PM
@FlorianMargaine oh fortunately I dont care about grammar on internet chat rooms! :P
 
@Loktar hopefully it's orthograph!
 
user1596138
@rlemon lmao that would suck. Well water ftw
 
user1596138
!!your
 
I forgive you
 
1:57 PM
@Jhawins hydro !== water
 
user1596138
wtf else did you mean by it
 
energy
 
user1596138
You're weird dude
 
eg, hydro bill
It's common
 
^
I'm not the weird one here :P
 
user1596138
1:58 PM
You call your electric bill your "hydro" bill?
 
yes
!!google hydro bill
 
yup
 
Server error (status 500) occured (message probably too long)
 
user1596138
1 message moved to Trash
 
bs
 
user1596138
1:59 PM
Someone is behind me
 
user1596138
Sorry. They are asking why black people are attacking each other and I'm not coding
 
Hydroelectricity is the term referring to electricity generated by hydropower; the production of electrical power through the use of the gravitational force of falling or flowing water. It is the most widely used form of renewable energy, accounting for 16 percent of global electricity generation – 3,427 terawatt-hours of electricity production in 2010, and is expected to increase about 3.1% each year for the next 25 years. Hydropower is produced in 150 countries, with the Asia-Pacific region generating 32 percent of global hydropower in 2010. China is the largest hydroelectricity producer, with...
so we call it hydro
 
user1596138
Pfft. I don't care where it comes from haha so we just call it.. The power bill
 

« first day (1378 days earlier)      last day (3571 days later) »