« first day (1674 days earlier)      last day (3267 days later) » 

9:05 PM
DAILYMOTION SUCKS REALLY BAD
urgh :-/
 
Why isn't this working? :/

var button = document.getElementById("menuButton");
button.addEventListener("click", showMenu);


function showMenu() {
document.getElementById("menu").className = "openMenu";
};
it works like this

window.addEventListener("click", showMenu);


function showMenu() {
document.getElementById("menu").className = "openMenu";
};
any tiips? :O
 
@Abhishrek why ?
btw, i know this site from buddies that passes video's with nude content to tease me at work ...
 
@KarelG a video is overlayed by an add
and u can't pause BOTH
or SKIP
U HEAR BOTH TOGETHER
 
ah that
 
this happens only when your browser has other tab opened
 
9:14 PM
yes, annoying. And when you set the timer on the scale is on 0, it starts to play an another ( or same ) ad >.>
 
i fixed it -_-
those jack-asses
works on windows only
can work on a mac too
 
@sunto that should work ...
 
I keep trying, and thinking it should my self.. I will try it on a server later..
Should not be a problem that the click is on one item, and the change on another div item?
 
it shouldn't
 
wow, have you seen this? next gen 3d printer
 
9:20 PM
man, the current 3D printers are still expensive
 
ah thanks, yeah my code works good in the fiddle :)
 
*well
 
9:35 PM
hello ppl
How to add hours to current date and from it get date in format mm/dd/yyyy ?
I want to add 6 hours to current date
 
!! tell @macroscripts mdn Date
 
@KarelG Invalid /tell arguments. Use /help for usage info
@KarelG Don't be annoying, drop the @, nobody likes a double-ping.
 
you're evil QQ
 
@towc I made my first canvas app :D
 
cool! Link?
 
9:39 PM
just a sec
 
@macroscripts developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/… + the formatter can be a simple function
 
@towc jsbin.com/bekoluweru/1/edit?html,js,output click and draw :P my 5 minute experiment :D
 
@KarelG Ive tried this code. jsfiddle.net/oLzhtkL6
it doesnt alert so I assumed it has an error
 
@AwalGarg error :P
 
@macroscripts use F12 to open the dev console
 
9:41 PM
I just stumbled upon an upcoming indie HTML5/JS game; CrossCode (store.steampowered.com/app/368340 and demo at cross-code.com/en/home). This is a ridiculous fun demo game and a demonstration of what a HTML game could be. Truly a must see for JS game fanatics :P
4
 
oh wait..
 
@towc hmm? details?
 
nvm
 
:P
 
still... doesn't work
 
9:42 PM
yup
so it's a simple code
 
@towc click, and release. then move your mouse around. when done, click again.
 
need it so I can get some sleep
 
@macroscripts The console has told the problem. Please learn to be common with F12. jsfiddle.net/oLzhtkL6/1
and prevent the use of "alert"... it's annoying. console.log() is a nice debugger
 
@AwalGarg nope. did you forget to save or something?
you're never doing 'lineTo' nor stroking
 
@towc ahh right. damn jsbin, just a sec
 
9:44 PM
oh XD
 
yup, works! Cool
 
lol canvas is kiddish :P
 
@AwalGarg shut up and try to recreate some of my pens
while I finish with your mother
 
9:48 PM
@towc but.. but.. I am 17!! I have got more elderly stuff to mess with, like React, Python, PHP, nginx etc.
XD
 
hmpffff
 
@AwalGarg : nice, but does people not get used with a click and drag to draw lines ?
 
:D
 
sure
 
@KarelG doesnt work what I sent u
:\
 
9:49 PM
it does work, don't worry. but people gets used to hold the mouse button to draw something because all paint softwares works by this way
 
@towc lol I was kidding :P canvas is cool, and your pens are awesome :)
 
yeah, dun worry ;)
your mom is awesome aswell tho
 
@KarelG all paint softwares, including "people" are free to go to hell :)
 
:p
 
I don't like clicking and dragging at all
dragging your mouse and drawing is stupid
 
9:51 PM
it's for fine drawings and for pen users
!! afk eating fruit
 
!!afk back to real coding
 
My first JavaScript is a browser-based version of the board game Pente with halfway decent AI: alesh.com/projects/gobang
 
@AleshHoudek 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.
 
10:10 PM
@AleshHoudek Not bad
> Gamer over: You win. (white)
 
@AleshHoudek a tip :
<label for="Easy">Easy</label>
<input type="radio" value="Easy" id="Easy" name="difficulty">
by this, people can interact with radio buttons by clicking on a label
 
trying it right now!
 
@AleshHoudek very nice
also, every time I win, it says "gamer over" instead of "game over", just a small typo :P
 
Umm, why does black win?
(Also, nice work!)
 
they captured 10 whites
 
10:20 PM
(sorry, my first time in chat, how do i reply?) yeah, you win by stealing 5 pairs
 
Oooooo! Sorry, I didn't read the second part of the instructions. My bad
 
@AleshHoudek hover the message, on the right end you see a reply button, click it
 
I'ma blame that on account of it being Monday
 
@KarelG I tried adding label for Easy and Medium, but if i'm supposed to be able to click the text instead of just the radio now, it's not working for me
 
10:23 PM
// todo: remove jQuery dependency
:P
 
is there a lightweight text editor that everyone hosts out there?
 
@php_purest Eh?
 
like tinymce, but with just the text stuff
 
@php_purest you mean something like codemirror?
 
You mean a markdown editor?
 
10:24 PM
or textarea?
 
@AleshHoudek did you have used the label tag correctly ? example
 
yep
 
!!s/ have//
 
@monners @AleshHoudek did you used the label tag correctly ? example (source)
 
Wait, no...
Damnit
 
10:25 PM
!!s/sd/se/
 
@monners what do you reccommend
 
@AwalGarg @monners @AleshHoudek did you usd the label tag correctly ? example (source) (source)
@AwalGarg when is Tueseay ? (source)
 
:(
 
@php_purest Depends what you're using it for. Is it just user content entry?
 
@monners comments, profile, and all other text area "stuff"
 
10:26 PM
monners :o
 
ˆoˆ
@php_purest Standard content - use a markdown editor; for everything else, you'll have to decide what the most limiting option that still gets the job done is and use that.
 
@KarelG That did it! tanks!
 
@monners you have a box, you want to html the stuff inside it
 
Don't fall into the trap of writing a whole bunch of html in a WYSIWYG area
 
np. Your board game is neat though. But i need to check the rules ... i don't understand it :p
 
10:29 PM
@php_purest HTML isn't a verb
 
@KarelG basically tic-tac-toe but on a big board and you make 5 not 3 and you can also win by stealing 5 pairs.
 
you don't want to make it easy for someone to javascript/image the text area
 
@php_purest see how canop does it in miaou, then copy it
 
@AleshHoudek ah. but there was a moment when my stones disappeared, removed from the board.
 
10:30 PM
i was having the same face as Fry : "are you serious"
 
not markitup?
 
@KarelG yah, when you surround a pair of your opponent's pieces with two of yours they are removed from the board pente.net/instructions.html
 
@MadaraUchiha challenge accepted
 
aah, it had to be at least two pieces
enclosed one piece and it didn't disappear ... so was confused.
 
@AwalGarg so you don't recommend using a prebuilt one?
!!blocking
 
10:39 PM
@MadaraUchiha jsfiddle.net/Luxelin/srmmfe23 there you go. a carousel made entirely from html/css. I was lazy (and it's time for dinner), but you can easily make them wrap around/add some nice transitions
 
Hey! Has anyone worked with github oauth authentication? Is there a way to dynamically set the redirect_uri?
 
so do I win?
 
@php_purest don't you want the world to be FREE-FROM-CMS?
 
@royhowie I would say that's pretty nifty.
 
10:59 PM
genetic algorithms are fun
really really fun.
-- reading the book
 
@Abhishrek which one ?
 
@AwalGarg I do want to rid the world of CMSes, but I don't want to rid the world of preused code like prebuilt scripts
 
@php_purest What's wrong with CMSes?
 
they're why people have forgotten how to program
 
what's wrong with that? more work for you.
content is more important anyways.
 
11:12 PM
people should know how to program if in the web dev field
anyone good with wysihtml5?
 
@royhowie i'm impressed
 
what about people who aren't in the web dev field?
 
^---
 
they have to pay somebody to handwrite a site for their content?
that sir is silly talk!
 
@KarelG @royhowie isn't on
 
11:14 PM
@php_purest : i know, no need to ping me. you don't have to do that.
 
@php_purest the same harm is caused by prebuilt stuff.
 
they need someone to hand write how the things interact
 
these CMS allows people to have their own websites, like an owner of a small flower shop. Why would he bother with a paid content if he can do it himself with CMS
 
@AwalGarg not really, unless someone wrote a "click this to turn this feature on"
 
11:15 PM
@php_purest yourself included?
@AleshHoudek thanks
 
@php_purest yeah. Your markdown editor is basically "include this script tag and it will work". You didn't write any code at (that script tag is most likely to be copy pasted from the docs).
 
telefloral does a lot of todays flower shops but i should go
maybe i should just use tinymce
 
@KarelG plus, he has no need to learn how to program. CMS are great, for those of us who don't know how to program/have no need to ever learn
 
exactly.
 
@php_purest no, look for a markdown parser.
Then write your own editor and use that parser instead.
 
11:19 PM
hmmm, he still has to learn some bits, like how you have to interact with the CMS, and if problems occurs, that he can resolve that at his own.
but that's common with all software applications for end users
 
pretty soon even those things will be abstracted away, at the rate things are going now
I mean squarespace would have blown people away even five years ago
 
It's not good though... IMO.
 
agreed, I don't like it
but it's still come a long way
then you have stuff like thegrid.io
 
> CMS: Hey just copy paste this stuff in your folder and boom! Your site's live!
> User: Wow this is like magic! Great!
> CMS: Hey, we have detected a security vulnerability and you have to edit a few files on your system. Do this [...].
> User: WTF?? Where do I paste all this?
 
lol
everything's disappearing into the cloud though, pretty soon it'll be just a few sysadmins running everything from one building
 
11:26 PM
Meh, for every most of the customization that the end user wants, he will have to waste time on countless forums. It is not really an optimal solution for most of the use-cases. If you have a really specific use-case like an old granny trying to upload a few pics on the interwebz, you may use the CMS and call it a day, but then, why not just use a social networking platform?
If a (good) programmer wants to use a CMS and can handle all the troubleshooting and stuff, well why not.
 
@AwalGarg How are you awake this late?
 
@SomeGuy just like you :P
 
I've woken up early to study :P
 
where are you guys?
 
Have an exam today
@ElliotBonneville India
 
11:27 PM
lol, I see you are studying fairly @SomeGuy
 
:P
 
@SomeGuy tell Awal he's wrong about CMSes
I don't know why or how
 
@SomeGuy my exams are over so I told mom that I'll go nocturnal now :P she didn't agree but meh..
 
but he just is.
 
11:29 PM
@AwalGarg You're wrong about CMSes
 
(I have no idea what you guys were talking about :P)
 
lol I actually went the opposite when my exams finished, I've started going to bed early and getting up early
 
@AwalGarg Hahaha makes sense!
Anyway, I should study. See y'all later!
 
peace o/
 
11:29 PM
@SomeGuy noooo don't!!!!1111
studying is like... weird and bad. You may get sick :P
 
Hahaha
 
it's a contraction of "student" and "dying"
2
doesn't that tell you enough?
 
@ElliotBonneville brilliant. meaningless but brilliant. I'll remember that as a snark.
 
that user can simply delete the folder and redownload the whole folder
 
thank you, I got it off the internetz.
 
11:31 PM
= all customization lost
 
@AwalGarg write a module that downloads the whole folder, then reconfigure it ?
 
who will write it?
wait... you don't expect a non-programmer to write a module that does that thing, right?
 
the CMS devs ofc ...
 
can't figure out this bug, I'm reduced to writing a hacky patch for it and sweeping it under the rug :(
feels bad, man
 
hey guys
 
11:45 PM
heya taco
 
@MadaraUchiha jsfiddle.net/Luxelin/srmmfe23/1 it now fully cycles
 

« first day (1674 days earlier)      last day (3267 days later) »