« first day (1288 days earlier)      last day (3661 days later) » 

8:02 PM
@user3522121 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.
 
ohk
 
Xsi
How to compile to asm.js?
 
what shld be the code using javascript in which we have a calender and on click of each date in the calender we can check if that date is free or not in our database and put a cross on it if its free.
7
 
Man... I get Karma to 1of 1 SUCESS. Then I do nothing, save again, and FAILED. WTF??
 
8:19 PM
LOL who is here pinning?
@dievardump also Ill be around most of the day besides dinner so ask away :)
 
@Loktar totally not me.
 
:P
 
8:32 PM
Thanks. I am wondering about game development. About how is the best to make characters move on a definite grid but with a real mouvement.
Not x -> x+1 when pressing the right key, but with an animation between x -> x+1
 
you could do velocity based movement but with a start and end point
will the player ever stop in the middle?
 
yeah I mean you could even just use tweening
since you have a defined start point and end point
 
I have trouble to see. I was thinking of setting a variable at t = currenttime. and applying velocity and stoping it when time = t + delay
 
yeah that would work thats what I meant by my first comment
or just take (endpoint-startpoint)/speed
and apply that until it hits the end point? idk my math might be retarded
 
8:36 PM
Well I think if the game is laggy there will be a problem
 
you'd use delta timing if you're worried about that
 
I remember you telling me that already :p
 
yeah then youd multiply the speed by the delta
 
Yeah that's what I thought. I shoul try that, ok
 
I dont have any links handy for delta timing.. but you could find some good resources if you search for delta timing in a game loop
 
8:37 PM
Oh I have some you gave me I think
(somewhere in my gmail drafts)
I'll try to apply that to one of the samples on your article, and then come back ;)
 
alright cool, hopefully it works!
 
Thank you.
 
np
 
I get Karma to work once, and the next time I save a file, it says "Removed file ..." and stops triggering tests.
 
8:53 PM
Hmm. Fixed that by only following the folder/*. Apparently Visual Studio temporarily deletes a file when it saves.
So now Karma exits after running twice.
idk why.
 
@Connor Firefox already implemented it.
@adeneo whole idea was to not use reverse.
 
ah guys, why background-color doesnt work?
 
Solution: Change something. It breaks worse. Change it back. Everything fixed.
 
Probably because you didn't ask nicely
 
@casusbelli 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.
 
9:02 PM
sorry
 
.member:nth-child(2n+1) {
    background-color: rgba(255,255,255,0.4);
}

.member:nth-child(2n) {
    background-color: rgba(255, 255, 255, 0);
}

.member:hover {
    background-color: #fff;
}

.member_selected {
    border-left: 5px solid #aaa;
}
so I have got this css
and if I modify a div's class to member_selected border changes
but background color doesnt
in this example there is no any modification for the color I know :D
but I had it but didnt do anything :(
opacity works fine too, but background color doesnt
 
jsfiddle.net , also, you're giving nth-child(2n) 0 opacity.
 
yeah, but shouldnt this override it?:
.member_selected {
    background-color: rgba(255,255,255, 1);
    border-left: 5px solid #aaa;
}
 
@theprojectabot 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.
 
9:10 PM
Read the CSS specificity algorithm.
 
no js, css and html only, second div is selected
 
9:23 PM
Does twitter bootstrap has a real documentation of all its classes what they do, what styles each class apply, what classes are appropriate for each element, other than just these examples?
 
why are you using BS2?
 
15 mins ago, by Benjamin Gruenbaum
Read the CSS specificity algorithm.
@laggingreflex you should probably just learn CSS.
 
@laggingreflex It's commonly known as "the css files", I believe.
 
2
A: Firefox invalidate dns cache

Geek Num 88find the option in firefox for "Clear Recent History" and then select everything and check all the boxes under details. Warning this will delete any cookies or logins you have stored. Uncheck those boxes if you don't want to clear them.

ugh, what a crappy accepted answer..
 
9:34 PM
ipconfig /flushdns is too hard
 
@Zirak: Firefox has its own DNS cache
 
@ThiefMaster downvote it and make a better one?
 
wat? ...why?
 
I guess because they can. Anyway, suggesting to clear ALL history etc. if a simply restart of the browser helps.. WTF
 
10:12 PM
@m59 I dream of a day when my people are not mistreated and can rise up against such injustices!
 
10:50 PM
hello
 
howdy ho
(now, who read that in a Mr. Hankey voice?)
 
@Busata 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.
 
Hi, when using a github deployment flow, is it commit the build files (which you created locally by using grunt/gulp) to the repository as well, or should this process be mimicked on the production site? What's the "accepted" approach for this?
 
I'm not sure what you're asking, but don't commit generated files to source control.
 
@KendallFrey We do, but that's only because I don't trust Wheatly to not screw up the system on the servers.
GitHub_Streak++
 
11:03 PM
I'm just wondering if grunt/gulp is something that is commonly used on production sites too in a deployment flow, or if people build it on their local machines & commit/upload it seperately
 
there is usually another deployment server to generate production packages
 
well, only have one server :)
to deploy it on
 
everybody does it his way, just automate it
 
!!s/everybody/everyone with a competent dev team/
 
@SomeKittensUx2666 everyone with a competent dev team does it his way, just automate it (source)
 
11:15 PM
@SomeKittensUx2666 If I had to guess, only 1 out of 5 teams does CI
 
@dystroy *Proceeds to squeeze flexbox so hard it can't breath*
 
@BenjaminGruenbaum Therefore, the next team I'm on will do CI
because that's how statistics work
 
@SomeKittensUx2666 :D
 
@ShashankSabniveesu 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.
 
With a decent dash of luck, the next team will be founded by me crosses fingers
 
11:20 PM
FWIW, with lots of smaller prototypes and alphas we do don't do CI, I still do tests most of the time because that's just inherent to how I code now, but with prototypes. I just find it less important for really small teams.
 
Yeah, dayjob's product is still in a lot of flux so time maintaining lots of tests is wasted
We have a few, but they're mostly sanity checks (still useful)
 
anyone finds this interesting? github.com/Ralt/soaj
@BenjaminGruenbaum I was mostly talking about automating the deployment process, not if you have a CI process or not
 
@FlorianMargaine you need an interation server anyway if you automate deployment. Or you just mean automating the deploy to the production server? We don't automate that at all.
 
@BenjaminGruenbaum yeah, the deploy to the production server. I don't mean to automate with a cron, but to automate the steps required to correctly deploy a new version of your application
 
@FlorianMargaine with Azure, that's hardly anything
It should (read - has to ) probably go through the ci server, which runs the tests, makes the build and then deploys it itself.
That way, you can do neat things, for example - not letting developers publish to production without QA signing off on it.
 
11:36 PM
yup, that's the best way
 
extract testing.js from http://localhost/scripts/testing.js?v=1398554611896?tried regex but can't find an expression..
URL is from window.onerror's parameters. I wanted to extract just the file name, like ff console does
 
!!> new URL("http://localhost/scripts/testing.js?v=1398554611896").pathname.split("/").p‌​op()
 
@BenjaminGruenbaum "ReferenceError: URL is not defined"
 
@Zirak fix the bot
('s whitelist)
!!> function URL(a){ var b = document.createElement("a"); b.href = a; return b;} URL("http://localhost/scripts/testing.js?v=1398554611896").pathname.split("/").p‌​op()
 
@BenjaminGruenbaum "ReferenceError: document is not defined"
 
11:44 PM
oh lol, bot is in a sandbox, anyway, do that @laggingreflex
 
'p‌​op' < there's a hidden character in there. Otherwise it works! thaks
 

« first day (1288 days earlier)      last day (3661 days later) »