« first day (1096 days earlier)      last day (3842 days later) » 

8:06 PM
@RUJordan don't you love nice round numbers?
 
@SomeKittens Hehe
 
@GNi33 in an hour ish I will be home
I will teach you all you need to know
 
Is there anyone here who wants Terraria but doesn't have it?
 
friken
hell
 
8:10 PM
@SomeKittens I think Octavian is going to buy it for me this weekend.
 
@SomeKittens 256 is a great number.
And what's Terraria?
 
@OctavianDamiean Is that so?
I got the four pack
and have a spare
 
..Or do I even want to know that?
 
It's like Minecraft, but....
 
Stan how do you tame a horse in MineCraft?
JADEN SMITH WOULD LET HIS PARENTS WATCH MURDERPORN!
 
8:12 PM
@KendallFrey Is... is that really just a very long way to say "sanitize your inputs"?
 
@SomeKittens well, if you've got a spare and really want to give it away to someone, yea @KendallFrey would have gotten Terraria from me, but in the end if he just has it and can play with us, I don't care where he's got it from. :)
 
@RUJordan while (!horse.isTame) { rightClick(horse); while (player.riding(horse)); }
@RyanKinal It's a better way to explain it to a noob than just saying "little bobby tables"
 
@KendallFrey Well, sure, but I thought it would be something more... well... interesting.
 
XD
 
The most annoying thing about computers is that sometimes they don't work.
 
8:18 PM
No, the most annoying thing about computers is that they always work.
 
"It's doing exactly what I'm telling it to do. I just don't know what I'm telling it!"
 
So basically, if anybody ever says "Stupid computer", they're simply saying "Stupid instructions I gave you!"
 
PEBKAC, pretty much every time.
 
@RUJordan Or, perhaps, "stupid instructions someone else gave you"
 
Don't make me bring up the question of how to define a computer programmer.
 
8:28 PM
... too late?
 
@KendallFrey You can't.
 
Exactly.
 
!!afk buying beer
 
@RyanKinal Why are you leaving me!?
 
FOR BEER
 
8:30 PM
@RyanKinal Where were you!?
 
... nowhere
 
@user2415992 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.
 
Okay, seriously...
!!afk buying beer
 
@RyanKinal Hurry back, ok?
@dev_darin 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.
 
8:36 PM
@OctavianDamiean Since afk watches input events, it had to filter out any input events that were also afk invocations. But the current version didn't check for the optional slash
 
@Shmiddty Oh ok.
 
hey guys
i need some help with this question stackoverflow.com/questions/19391995/…
can anyone assist plz
 
Here's a tip : write proper English. This is not an SMS, you have a keyboard. When you write "plz" you're making it sound like you have a mental problem.
Also, your question is pretty horrible, long, unclear and inconcise.
 
I am following everything here to replicate android style dialogs and its still not working
 
You're asking "why my code doesn't work"
 
8:40 PM
I don't know whats worse.. fixing a poorly written project, or starting from scratch.
 
Try reading "how to ask" and "what have you tried" and editing your question to make more sense in the Stack Overflow format.
@RUJordan Seen Joel Spolsky's post on the subject?
 
@BenjaminGruenbaum plz teach me good typings.
 
I always start from scratch
 
No, I'm afraid I don't know who that is
 
because my poorly written project is better than someone elses
;)
 
8:41 PM
@RUJordan Joel, one of the two guys who built this site..
 
@rlemon lol cocky..
 
no, realistic
 
@RUJordan It's called Things You Should Never Do , read it.
 
Thanks guys for the comments i will try to restructure my question
 
your crap will always be more acceptable to you than someone elses.
 
8:42 PM
@BenjaminGruenbaum lol sorry man, but I don't do a lot of research about sites. I usually never have enough time. But thanks for the link, I'll check it out now.
 
@dev_darin good luck :) Feel free to post when you revised your question.
@RUJordan He has one of the most famous (well, not it's pretty dead) coding blogs.
 
@SomeKittens you know what sucks?
 
thanks guys
 
you can only guy 4 packs once.... :(
 
@rlemon A quality vacuum?
 
8:43 PM
I wanted to get the entire JS room on it
so far I've purchased 2 single copies and a 4 pack.
 
@SomeKittens @rlemon you know what sucks in a metaphorical sense?
 
although this sale I might pick up a few more just incase
 
@BenjaminGruenbaum A quality metaphorical vacuum?
 
@BenjaminGruenbaum two chickens in a spherical vacuum .
 
@SomeKittens you ruined it.
 
8:44 PM
dammit
spherical chickens in a vacuum
 
> You know what sucks?
> Vaccums.
> You know what sucks in a metaphorical sense?
> Black holes.
> You know what just isn't cool?
> Lava
 
I ruined it
 
@Zirak would have gotten it.
 
is this a IT crowd quote?
seems like it might be
 
@BenjaminGruenbaum Where's that from? I've heard it before
just can't place it
 
8:45 PM
bash.org
Anyway
 
I miss Zirak :(
 
!!afk bus
 
@BenjaminGruenbaum Hurry back, ok?
 
@Zirak's going to have so many pings
 
Ok, that was a good read. However, it doesn't really have a scaled answer. For a browser, sure, starting from scratch is a nightmare waiting to happen. But what if the project is a fraction of the size.. maybe a 1-2 thousand line website. Wouldn't it be worth it to spend the time, plan a solid foundation that won't need fixing?
(assuming you have the manpower of course)
(or woman power..)
(whichever)
 
8:46 PM
It depends
There have been large rewrites that were great successes
 
@SomeKittens we should have wager of how many pings he will have
 
Well of course, I'd be stupid to say all rewrites are doomed. lol
 
@eazimmerman waaaaaaay too easy to game the system
 
good point
 
hey guys i updated my question and placed some code in there that is readable
 
8:49 PM
TMC;DR
2
 
@dev_darin Under 10 sentences and under 20 lines of code ease.
 
@BenjaminGruenbaum I thought you'd never come back!
 
Make it happen
 
@Zirak MORE PINGS!
 
Is it weird that my boss can school me in CSS, server code and plugin implementation.. yet he is js/jquery illiterate (admittedly)? I like it, because any little ajax or jquery improvment I do impresses the crap out of him
 
8:51 PM
@dev_darin try putting console.log()'s in there to see when the code stops working
 
Is JavaScript really THAT different from PHP or ColdFusion to the point where it's just like reading a language you don't speak?
 
@eazimmerman the code works i am looking at adding an additional feature to it
 
@RUJordan ...yes. It's very different
 
which is to extend the poly line when the marker reaches the end of the polyline
 
@Vik2015 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.
 
8:52 PM
so are you asking us how to do it? or is your code not working properly?
 
so the animation can continue
 
PHP is the world's most "advanced" HTML templating language.
 
@eazimmerman i am asking how can it be done
 
> Some men just want to watch the world burn.
 
@SomeKittens well I know that, but I would have figured at the minimum the logic is understandable (ifs, whiles, elses, etc)
 
8:53 PM
JS (client side, discounting frameworks and the like) is all about after-the-fact DOM manipulation.
 
HTML Templating is passe.
All I need the server for is communicating securely with the database.
(and serving files)
 
mmm, CRUD
 
Off topic, if you create a jquery validator method that doesn't already exist, is there a chance it'll be adopted into the next version?
 
I'm trying everything
 
@ThiefMaster took me a good two minutes to work out what TMC stands for
now I feel stupid
 
8:56 PM
so what does it stand for? :P
 
too much content (or crap, if you are not nice :P)
 
!!s/content/code/
 
@SomeKittens too much code (source)
 
or code
 
code
 
8:56 PM
but code is [part of the question] content
so there is always that
 
@rlemon The Majestic Crab
 
ok so it looks like I may not have a job soon.. so Im on the hunt quick question
should I lose the water? Is it over the top too much?
 
@Loktar MOVE TO MI
@Loktar yes.
 
@rlemon thats a possibility
@rlemon ok ty I'll get rid of it
 
it isn't too much, but you can't see it behind the content blocks
 
8:58 PM
Either make it across fully, add borders where it isn't, or lose it.
also move to SF
 
and it looks strange on mobile.
 
@Loktar It's not horrible, but rather yes
 
alright, it shall be gone! :P thanks for your guys opinions
I don't want someone to see it and be like EWWW
bleh i need to work on my portfolio as well now
I've let that linger for years
 
@Loktar matt@bitmatica.com
tell him Randall sent you
 
is that in SF?
 
9:02 PM
yes, but they're totally fine with remote
so long as you get work done
 
cool ty
 
user image
8
 
wow, XFire
Haven't seen that in ages
 
2K+ hours on Hello Kitty
Octavian has some splainin to do
 
@rlemon He just loves cats. :)
 
9:05 PM
@rlemon yous teh dick!
 
l8tr g8trs
 
Alright, here's how and why. That isn't actually HelloKitty.
 
question, when do you use a while loop over do/while loop ?
 
I've renamed a game exe file to match the Hello Kitty exe file name and tricked Xfire into believing it is Hello Kitty even though it wasn't.
 
is there uniform way of converting dates from local to UTC and vice versa?
 
9:07 PM
@OctavianDamiean But what game would be more embarrassing to admit to play than Hello Kitty?
 
@BadgerGirl the sequel
 
@SomeKittens Are you the new @Zirak?
 
@BadgerGirl It's not about embarrassment, that was an insider joke in the mod dev team I've been in.
 
@SomeGuy Some say he was working on another bot, one much more powerful than @CapricaSix.
Others say he couldn't put on pants unless they were covered in jam.
 
@Loktar You know what I think would be awesome? If the waves just bounced when I scrolled.
 
9:09 PM
oh that might be cool actually
 
@Dave do/while if you need to ensure that the loop runs at least once as the exit condition is evaluated after the first iteration.
 
Yeah, it being interactive would make it feel cooler, I think
 
well it is currently, you just have to click outside of the content for it to work (left or right)
so yeah its not intuitive at all
 
so you mean do/while will do one extra iteration when the value is true
 
@Dave The simple while is just the other way around, it first evaluates the condition, then iterates.
@Dave No, it will do one iteration no matter what.
 
9:12 PM
@MingChan 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.
 
how can I convert a utc date to local in js?
 
@hunterc Step 0, don't spam the room. Step one, google your question
 
32
Q: Convert UTC date time to local date time using JavaScript

Amr ElGarhyFrom the server I get a datetime variable in this format: 6/29/2011 4:52:48 PM and it is in UTC time. I want to convert it to the current user's browser time using JavaScript. How this can be done using JavaScript or jQuery?

 
@SomeKittens 0) not spamming 1)already did multiple times, no solutions that work in multiple browsers
@dev_darin thanks but doesn't work in multiple browsers
 
@hunterc state what doesn't in which browser.
 
9:17 PM
tacking UTC to end of date string doesn't work in firefox/ie
 
@hunterc Create a fiddle, show us. Did you try moment.js?
 
@hunterc just use '+'
@hunterc date+'UTC' how hard is that
 
@OctavianDamiean ok it seems i need the normal while loop then. thanks :)
 
@dev_darin open this in firefox jsfiddle.net/7gr2D
 
That's so cool ^
Python decorators in js
Using a hack by overriding Function.prototype.valueOf
 
9:22 PM
The idea is cool, but the concept is pretty silly given how easy functions are.
There is little to no syntactic overhead in JS in doing:
 var funcName = memoize(function(){
 
Can't you do the same in python too?
 
In Python, you can't do that without defining that function (without the memoization) outside
Python doesn't let you do anonymous functions, just expressions.
 
Ah right
I still think the decorators syntax is nice
 
it is
 
Yeah, it is. It's really nice in Python. It's just not as needed in JavaScript.
 
9:26 PM
You're biased
 
The valueOf trick is clever.
 
He has to attach functions to the global object though for his trick to work
Not sure why, I'm on mobile in my bed, too lazy to think
And good night.
 
It's not really needed, just simplifies it.
gnight.
 
damn it the while loop is too fast for my animation :(
 
I'm off too.
 
9:28 PM
@BenjaminGruenbaum learn lisp
 
@FlorianMargaine 2.9
 
@hunterc because that's the wrong date format for JS?
 
odd question, but is it possible to open a new issue from a commit?
 
don't think so
 
@mikedidthis I think you can only reference a commit in an issue.
 
9:30 PM
You can reference the commit in the new issue you open
 
thought so. You can reference the commit and close. Creating would be a little backwards.
 
@hunterc you're missing a T there in the date.
2013-10-16T15:00:04
Plus appending "UTC" isn't going to be of any help when you use that format.
 
@OctavianDamiean i love u
:-> , 13.10 rocks !
 
I know, right?
 
@mikedidthis in github? If on personal server, hooks allow you to do anything.
 
9:36 PM
It's so much faster now.
 
no driver issues the machine is smooth like hell ! /* The older laptop */
 
I was quite surprised.
 
The g55 is spitting acid out of performance :D
 
It still has some little bugs because the development cycle isn't fully complete yet but it's damn solid already.
 
I don't think I'm going to see any change since I'm already using awesome...
@OctavianDamiean it's supposed to be complete in a few hours
 
9:38 PM
I know, the last bug fixed have probably landed by now.
 
I will happily upgrade tommorrow morning :)
 
Oh yea, the upgrade process was solid as well.
No issues there, unlike in the past.
 
So end of fedora for me :-)
Linux + Vagrant :D
 
I prefer lxc to vagrant
 
9:40 PM
Way lighter
 
thats a legit point
 
So easy to change
 
but with a machine like we usually have.. ?
it shouldn't matter much right ?
 
You have access to the filesystem like any other folder
 
Oh, damn! How did I miss out on vagrant!?
 
9:41 PM
I usually run 2 to 5 machines... so it matters
 
@FlorianMargaine you can share folders in vagrant
and :-| woot i never needed 2-5 (XD)
 
Folders share is not the same
At work each project has its lxc
 
@Shmiddty Zirak added you as a contributor to the repository, so you can actually push your changes right away. :)
 
enligthen me some day i havent loked in lxc that much
 
So since I usually go from x to y prpject there and there, I just never shut any down
 
9:43 PM
@OctavianDamiean I'm not sure how to merge with github.
 
It's just chroot + locked down processes
 
@Shmiddty basically, you just pull from Zirak's master to your local master, do your stuff, and push it to Zirak's repo instead of yours.
 
So that each lxc has its own processes
 
That is you setup a second remote for your repository.
git remote add upstream URL-FROM-GITHUB-PAGE
 
@Shmiddty git push zirak master
No, not upstream. Zirak.
 
9:44 PM
You may also call it zirak, not upstream, it's up to you.
@FlorianMargaine for me it's upstream, just because I'm used to that.
 
So am I
But this project is special
 
I know, I should just rename my remote.
 
Doitnao.
 
I'm on Windows right now, can't. :(
 
Could you guys go through some peer review process? It'd allow to keep some high quality code in the repo
 
9:47 PM
how would I over-write my copy of the file with his?
 
@FlorianMargaine I've been thinking about that right now, maybe having them in PRs isn't bad.
 
If the code isn't reviewed in 24h then just merge it
But at least it lets you reflect on your own code
@Shmiddty you don't know how to use git?
 
not really
 
Oh btw I started using git svn at work. It totally rocks.
 
and I'm limited to the git website at work
 
9:49 PM
@Shmiddty Ok, so here is the idea. You have your local clone of Zirak's repository.
 
Looks like he doesn't
 
git is awesome, but I figure that depending on the git-client, your fun with it might shrink from time to time
 
@Shmiddty you can clone through https, shouldn't be blocked at work
 
Due to GitHub's workflow/setup, you actually have the local clone of your fork of Zirak's repo.
 
quick question; is there a way to explicitly make an object NOT a sibling in javascript/HTML/CSS?
 
9:51 PM
@jAndy the git client?
 
like.. working with eclipse/aptana, there are some darn annoying clients
 
@jAndy use git from console, like a man.
 
the build-in git-client in aptana for instance is no fun
 
@OctavianDamiean looks like he's working straight on the github web interface, so no local repo
 
@FlorianMargaine Oh damn.
 
9:52 PM
yea I might need to man up
 
@jAndy I only use the git from console, sorry
 
Yea, ok, that's different then.
 
but I'm lazy and its just more simple to rightclick -> commit or push
or stash or whatnot
<3 stash
 
@OctavianDamiean showing him how to create a PR might be simpler
<3 stash
 
@jAndy yea but that way you'll never become a git ninja ... like me. A ninja who manages to throw his Shurikens at himself.
 
9:53 PM
Git svn gives me stash back
 
@FlorianMargaine Oh, hw knows how to PR.
He already did.
So that's fine.
 
@OctavianDamiean That's a bit redundant
 
Then he just does a pr
 
I'm working with the console on my private things with github tho
 
So here's the situation.
I did a pull request, Zirak changed a bunch of stuff
 
9:54 PM
And then he can click the merge button himself
 
@SomeKittens what do you mean?
 
so my version is different
 
@Shmiddty I see, you did a PR based on an outdated version.
 
yes.
so I closed that pull request
 
An outdated version of that file?
 
9:55 PM
Delete your fork and recreate it
 
Whew.. re-styling 7 different forms is a pain inthe ass..
 
ok
 
@OctavianDamiean Anyone who knows more the basics of git is bound to hit themselves with shurikens.
 
Seriously, is there no way to keep your fork up-to-date from the GH website?
@SomeKittens heh, true that.
 
Thankfully I'm done.. now I just have to validate all 7 forms, and offer inline editting at the end. yaaaaay
 
9:55 PM
Git is quite simple. It only has an index table.
 
@FlorianMargaine In principle, but the deeper you dive and the more confident you get the easier you'll get bitten.
True story.
Happened today.
 
If you limit yourself to got add/add -i/commit/push/rebase -i/bisect, you shouldn't have issues
And checkoit ofc.
@OctavianDamiean ha.
 
You can mess up real good even with push. :D
 
@FlorianMargaine anything more than add and commit is too much
 
If you don't read what it says, yeaj
 
9:57 PM
oh boys.. I recommend a steamer to everybody. My lazyness is unmatched so, its sooo easy to have a great meal, steamed. Just throw anything you like into the thing, turn it on, wait 20 minutes, done
 
@FlorianMargaine ssshhhhh
 
healthy, fresh, delicious
 
things can go pants-on-head bonkers with rebase
 
Oh yea, that too.
 
@SomeKittens you can play with just add and commit. The other stuff is more for power users
 
9:58 PM
pants-on-head bonkers hah, gotta remember that one. :D
 
Never had issues with rebase... dunno I just use it for simple squashing of non pushed code
Nothing fancy.
 

« first day (1096 days earlier)      last day (3842 days later) »