« first day (1021 days earlier)      last day (3943 days later) » 

12:05 AM
To me it sounds like a strange mix of Pixies, disco, Beck, and bad 90s rap. Just sounding odd does seem to sell records however.
 
lol @ pixies
 
user1596138
@SomeKittens haha what?
 
What did you miss?
 
@robjb Well that was with a capital 'P'; but maybe pixies too.
 
I'm not sure if this guy's acting as a recruiter (bad) or wants to hire you (good). I asked and he hasn't responded.
 
12:08 AM
Ohh that one flew over my head
 
user1596138
Sounds weird... How do you know him? I'm only mobile right now.
 
@Datsik I was just thinking about this the other day. Good idea, if it works
 
user1596138
12:24 AM
I doubt I'm getting hired anywhere in the next month or 2.
 
why's that?
 
user1596138
Don't have hardly anything to show for myself online.
 
user1596138
Been working as a web developer for a year now, but I'm 18.
 
user1596138
I just need to do a few more projects on my Git. I don't have much up at all.
 
Pretty good reason, that's likely the same reason I had so much trouble
I don't really use my github, I keep private repos on bitbucket
 
user1596138
12:36 AM
I didn't realize the problem till recently though. Kind of wonder why I never really thought about it.
 
I realized it was holding me back when I had a job application ask for my github account URL
You should create a personal portfolio site (even if you don't have many projects to show off) and possibly start committing to some open source projects you like
 
Doing the same thing myself. Cleaning up all those side projects and pushing em to git for employers. Ugh, I wrote some real ugly crap in my early days
 
user1596138
My thoughts exactly. Working on it now.
 
user1596138
I wrote some nasty shit...
 
@monners I know what you mean. Even though most of the code I wrote at school wasn't too bad ... I still feel the need to polish everything up before I submit it for public review
 
12:49 AM
1
Q: Closure compiler not renaming properties and methods (advanced compilation)

PetahWhy doesn't Closure Compiler rename my path, start, etc properties, but it does rename my limit property when using advanced compilation? I want it to rename every property and method in my code, except the exported constructor window.RFM. Here is the constructor snippet: var RFM = function(n...

 
hahahaha the second top comment
 
 
1 hour later…
1:54 AM
Le room is dead...
 
What exactly is the memory interface and how does it differ from the bus interface?
 
Science
 
uh huh
@monners are you drunk?
 
Nope
Goin' to lunch though, so who knows...
 
2:17 AM
@Jhawinsss I wrote "PHP dev looking for job, can start immediately" on a whiteboard at a startup coworking space.
 
2:44 AM
twitch.tv/no63datsik @mike @shmid Playing some competitive Counter-Strike if you wanna watch :D
 
@Prabhakaran 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.
 
3:16 AM
@Datsik Sure, you might become a mega-star, make great music, earn buckets of cash, do all sortsa drugs and groupies, but you won't be an American Idol...
 
I feel like the sort of people who go on American Idol aren't the sort of people who'll be starting the next Nirvana.
 
@name 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.
 
I am trying to have a multi step signup form using this jsfiddle.net/A5WzZ
But will this give unique urls for each step
?
 
3:43 AM
hi!
 
!!mustache name
 
is there a way I can get coffeescript to spit out simple for loops?
 
write simple for loops?
 
like I just want coffee to help me expand on eg class creation and other structural stuff.. but not spit out a complicated reverse loop, or optimized loops
so the code is still noob readable
 
3:50 AM
@AugustBloom there are a few ways
 
@user2582299 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.
 
You probably want something like...
 
i mean the generated javascript.... having trouble selling coffee at work
but hooked to it
 
something(a) for a in [0...10] by 1
Which gives:
var a, _i;

for (a = _i = 0; _i < 10; a = _i += 1) {
  something(a);
}
 
MySQL is so annoying.
 
3:59 AM
@SomeKittens You made a sequel? To what???
 
user1596138
Interesting plan. Hahaha
 
!!rimshot
 
@SomeKittens *buh
 
@monners Got a huge data dump I needed for a project, but it's in SQL
@Jhawinsss Yep, figured it was worth a shot
 
4:19 AM
sorry for the lag
@phenomnom yes sort of... these days having to deal with a lot of JS.... Im finding my self useing js2coffee.org quite a bit... pasting old js code in js2coffee and then taking the coffee and pasting it in coffee2js ... (I cant commit coffee files in our repository) in this process and the loops coming out optimized... I quite like how just writing class X gives me 10 lines of js conforming to standard JS patterns... I just wanna retain those bits
 
js2coffee doesn't make very nice coffeescript
 
Have you tried....learning JavaScript?
 
@SomeKittens Tried, yes. Succeeded?...
 
i was just wondering if there are any forks to coffee that does the main stuff and leaves out loops....
 
4:28 AM
copy/paste only the body?
PS: I don't want to see your code full of duplicate helper declarations :-)
 
0
Q: Play audio in javascript with a good performance

JoãoI'm developing a browser game where the player can shoot. Everytime he shoots it play a sound. Currently i'm using this code to play sounds in JavaScript: var audio = document.createElement("audio"); audio.src = "my_sound.mp3"; audio.play(); I'm worried about performance here. Wil...

 
Just realized what I'm working on could just be three things jammed together with minimal glue.
 
I'm having trouble with audio in a browser game as well. Anyone know how to allow overlapping in sounds?
 
4:43 AM
I guess you need two separate <audio> elements
 
fuck the audio element
Web Audio API ftw
 
ok... time for me to update my knowledge...
 
Web audio API not supported in this browser
 
what browser?
 
firefox
 
4:47 AM
does style.top & style.left allow floats?
or will it round to nearest Int
 
@Dave I think it's browser-dependent
 
ok well it dont allow it in chrome annoyingly unless i use canvas
but thats a problem in itself
 
YES IT WORKS!
 
@Dave or rather, it will round to nearest (device?) pixels, but some browsers will layout using the unrounded valuee
 
/me gives celebratory hat to @SomeKittens
 
4:53 AM
Hacker News Markov generator. First result: "nasa rover finds old streambed on october 1 from the way they do"
 
which is IMO a good thing
 
yeh chrome is snapping it to the nearest pixel integer :(
so diagonal movement is zig-zaggery
 
@Dave better than blurry borders
 
well its only 5 by 5 pixels
i wanted the div to move diagonally but looks glitchy
im guna have to use canvas
 
 
4:55 AM
*cries
 
5:12 AM
@user1276423 trust me, W3Schools have nothing to do with W3C. I'm not afraid to claim I'm more skilled (or at least more responsible) than the w3schools guys ;-) MDN is a much better resource. — Jan Dvorak 17 secs ago
 
W3Schools is terrible site
 
@Dave I'll have to disagree. Please give reasons why you think it's terrible. Also, don't reference w3fools
 
its not even kept up to date it also skims over alot of info and some of the info is wrong if i remember correctly.
i remember highlighting something that was wrong on there a few months back
mdn is alot more detailed it also educates you much more.
 
@Dave Links for where it's wrong please. It's not up to date because it's not wiki'd, it's maintained by a group of people.
 
I want to blow up mozilla
It sucks I just hate it
Its screwing my site up and I don't know how to fix it and why its doing it
 
5:19 AM
but mdn is up to date
 
It isn't displaying .booking_button {
background-image: url(../images/sprite.png);
}
And I don't know why, its in the CSS is that why?
 
and it was months ago i cba to for looking. either way if you use w3schools to learn js you're going to miss alot of slicker methods to do similiar things.
 
I just am so mad, all the other browsers but this one work
 
@BrandonGelfand does your div have a height and width ?
they will be 0px 0px if nothing is in the div
 
@BrandonGelfand use the dev tools to find out. Display the CSS properties of the element that sholud show the button
 
5:20 AM
unless you specific its dimensions
 
@JanDvorak I can still click where the button is and it will work its so wierd
 
@BrandonGelfand check the element CSS
 
('../images/sprite.png'); maybe need quotes
 
yeah, that could help
 
also check the ../ is the correct location
some people get confused
 
5:22 AM
@JanDvorak where is that in mozilla? the element css, i do all my work in chrome and safari
@Dave it is working fine in Chrome and Safari
only Mozilla is jacked up
 
some browsers are not fussy with the quotes
 
@BrandonGelfand CTLL+SHIFT+K, I think
select the element in the DOM tree and open the CSS panel
 
if you see the div but not the image im going to guess your pointing to the wrong location on your server
give us the dir of file and image
also clear your cache.
you could be a victim of cache
many times with js im like "why didnt that work" only to realise i have to untick cache in dev tools xD
 
:-)
 
it auto ticks each chrome update for me. so frustrating
 
5:26 AM
one solution would be to include version information in the URL
 
do you mean like ?ver=1.1 etc
 
rather like /css/main.css/201308020727/
I think some browsers don't cache anything with a query part
 
oh ok
 
(URL rewriting magic would strip out the date part)
(and PHP would add it)
 
I have a serious problem,
0
Q: Search facebook pages using javascript

Anshad.MusafirI have an HTML application to search Facebook pages using pure JavaScript, no other libraries and no back-end.Most of the APIs that deal with searching and reading "pages" do not require user authorization, and they support JSONP (through the "callback" parameter). My HTML code, index.html <!do...

 
5:29 AM
wow sounds deadly
 
@Anshad.Musafir no experience using FBAPI, sorry
 
look at in mozilla and another browser
 
@JanDvorak thanks
 
fb has a support forum @Anshad.Musafir
 
5:30 AM
the arrows work on chrome and safari but not mozilla
Why won't it load! :?
 
@Dave url ?
 
then go to support
 
@Dave thanks, I will check it.
 
@BrandonGelfand did you try all our suggestions
 
5:32 AM
altho @BrandonGelfand finish your site then worry about cross browser stuff
its usually minor tweaks
 
This is the main finishing touch for front end
 
gimi the link
ill take a look at the issue on FF
 
I did it all but this and the colors on the days
 
the black arrows next to the month name?
 
yes
white arrows though
 
5:33 AM
ok works fine in chrome trying FF now
 
wait yes black sorry
 
this is what i see in FF
 
make it like responsive view
 
@BrandonGelfand works for me. Refresh your cache
 
responsive view?
 
5:34 AM
like if u were on a iphone
 
click the image though is that the correct image for the arrows?
 
@BrandonGelfand works for me even if I resize to tiny
 
i cant see why resize would change the image anyway or the device choice
my guess is cache issue
 
the resize is using a media query to start @dave
 
so it changes the css if it picks up a different user agent?
 
5:36 AM
@BrandonGelfand the weekday header don't reorganize properly when the display changes to mobile width
 
screenshot?
 
how do you change user agent on ff tools @JanDvorak ?
 
How do u empty cache in FF??
 
@BrandonGelfand try CTRL+F5
 
tools > options > privacy
anyway im off to bed night !
 
5:39 AM
Cya Dave
 
@JanDvorak IK about it
IDK JS so I can't add the day to each box
Octavian is gonna help me I hope to fix it
I removed the display:none so he could take a look at it
@JanDvorak do you think you might be able to help me with it?
 
@BrandonGelfand you could add the headers to each cell as well as above the table, then turn off one or the other from CSS
 
5:55 AM
@all Good morning/afternoon/evening/night
 
6:05 AM
@Mr_Green Good day
 
hey there
 
hay their
 
Good morning
 
Goo'd mourning
 
6:31 AM
@Chandruvelan 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 all Good morning
 
@monners I was saying specifically. :D
 
i've been seraching for a solution stackoverflow.com/questions/17996975/… i belive that i could an answer from here or atleast a tip from you guys
 
@Chandruvelan what is the version of jquery you are using?
is it old or latest?
 
I don't know smartwizard, sorry
 
6:37 AM
jquery 1.9.1
@JanDvorak its ok thanks
 
@Chandruvelan use on then as suggested by Jan
 
if you prepare us a fiddle and point us to the documentation, we can dig in the documentation for gou
 
yeah sure
@Mr_Green i'll tried with .on /.off event allready i've stated in the comment but no luck
Sorry i tried already with .on/ .off
 
@Chandruvelan on/off are equivalent to bind/unbind. Keep them even though they don't solve your immediate problem.
 
Could somebody help me out? my audio is being delayed for some reason. I'm using snd.play(); where var snd = new Audio("filename.mp3");
at time of a collision, but its playing the sound about a whole second after the collision
 
6:46 AM
@user2582299 even after the second collision?
 
@JanDvorak after the first collision it's still off by maybe a fouth - half a second.
 
@user2582299 CPU specs, CPU load?
 
@JanDvorak any clue to overcome this ?
 
@Chandruvelan are you using jquery ajax?
 
@Chandruvelan still waiting for the fiddle
 
6:51 AM
@Mr_Green ajax used load the content at once rest just hide /show div with the plugin
@JanDvorak Preparing for fiddle i cannot post the code right away.
 
@Chandruvelan may be not related, but I would like to know is the ajax request synchronous or asynchronous?
 
@Mr_Green its a synchronus ajax call only
 
make it asynchronous and check once
 
@Chandruvelan EEEK
 
Is there a way to multiply a class in CSS?
like show it 5 times the same thing?
but spaced out
 
6:54 AM
@BrandonGelfand you mean, clone each element with the class?
 
yes, I supposed
I want to make the Mon - Sun show up 5 times
then space them out
 
$.each, $.clone, $.after
 
@Mr_Green there was no ajax call during this event just jquery Animation effect to hide/show corresponding div
 
I do that with CSS?
 
yeah, spacing with CSS
 
6:56 AM
where do i put the $.clone
 
@Chandruvelan please once try what I said.
 
well, what do you want to clone?
 
The days of the week
in the appointment thing we were working on
 
@Mr_Green ok
 
the days at the top
 
6:57 AM
the problem is, if you clone them at once, you won't be able to specify where to append the clones
so, clone each one separately
 
ok so hw do I do it?
I only really know CSS and HTML
 
so, clone them inside $.each
@BrandonGelfand read the jQuery documentation for the methods specifiecd
err, $().xxx
 
Its a work in progress the responsive
Ignore the days at the top
 
@Mr_Green i tried no luck for your information i didn't use the plug-in ajax call to load the content , what i did i'm creating the contents as plugin requested in document ready once the contents ready as per the plugin i'm calling the plugin method to convert the loaded content as wizard control
 
I am working on it still
 
7:01 AM
ok
 
Any suggestions for it @mikedidthis ?
 
@Mr_Green i hope you got what i'm trying to say
 
I am following what you said last time about the responsive
 
Carry down the same path.
Look at making the week the pagination, so there is only 7 days on screens at one time
 
@mikedidthis I can't do JS
I only know CSS
 
7:02 AM
@Chandruvelan ya. I don't know what could be that issue though.
 
and HTML
 
Then do what you can
 
did you see how it looked in responsive?
are the colorings nice ?
 
Honestly, no.
 
what should I change?
Rlemon said to grey it out days that aren't available
so I did.. but I didn't like it
 
7:04 AM
I think you should change what you do with advice. Its merely that, advice, if you dontt agree, don't do it.
My advice, google 'responsive calendar' and then look at what makes them work both in terms of function and style.
 
Ok, well u know design so what should I do to make it look nicer?
Color wise
Did you see the arrows at the top?
and the bar and how it shrinks the stufF?
 
@BrandonGelfand the design looks fine to me
 
This is the same conversation as yesterday.
 
@BrandonGelfand It looks aweful! There aren't any flashing banners, obnoxious call-to-actions, or debilitating pop-ups! Design fail...
It's not like design's subjective or anything.
 
Anyone know how to allow overlapping of audio sounds?... on any browser?
 
7:17 AM
Uh oh.. Fatal error :/ Just what I need
 
7:48 AM
@Daniel 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.
 
Seriously, Python is the best thing since sliced bread and mustaches.
 
@OctavianDamiean Hey!!!
Look at it
looks nice eh?
Removed all the media queries too
fixed FF
 
Uhm, what's different?
 
Cache
Clean ur Cache
 
Right, better but the arrows should be far left and far right in that header.
 

« first day (1021 days earlier)      last day (3943 days later) »