« first day (859 days earlier)      last day (4104 days later) » 

12:03 AM
@IvoWetzel were I am, it spaceweaselaliensharkbirthday right now
gonna need an umbrella
 
two more drinks and it'll be whatever you want it to be big boy ;)
no win
close...
 
Yo mamma's so fat, your father no longer finds her attractive so now they're getting divorced
 
12:43 AM
Forgot the name of this JS library. It provides nice dom manipulation and I remeber the demo used to show a Grid-like periodic table of the elements
anybody know what I'm talking about?
its not three.js
 
12:56 AM
found it. Isotope
 
1:38 AM
I have a question about creating an online music player.. I don't think stackoverflow is the appropriate site to ask the question.. Does anyone know what stack exchange site I should post the question on?
 
@Dyck Well what exactly is you question?
I mean "How to create an online music player" might be a good thing to ask google. :-)
ha
 
@twiz hey twiz, theres a bit more to it then that, I want a music player that doesn't have pre-loaded songs. So I'd have mp3 links, and then when you click them.. they play in the player.. you know?
I'd constantly be uploading new mp3s, so I don't want to have to update my code for the music player whenever I upload a new song... I would just like to upload the song.. and then when you click the link on the mp3, the song plays in the mp3 player.
 
@Dyck Well I mean that is still quite vague. What part of that is your problem?
 
@twiz the problem is I can't find that type of mp3 player online!!! lollll
..its not really a stackoverflow appropriate question
 
uh well, I made one that lets users use the music stored locally on their computer.
would that be helpful
plus, you should be able to find that
 
1:47 AM
thanks twiz, I don't want to come across as rude, but it wouldn't really be helpful... and I've been tryinng for hours now, either their isn't any of what I'm looking for... or I just suck at googling things.
 
@Dyck programmers
Don't ask 'how do I make a music player'
 
of course! :)
 
Ask "Creating a music player on the web, best practices" and ask for advice on architecture
of your music player, and what might be some good technologies used
That way instead of being phrased like a 'should have googled' question, it can end up being a useful one other people might enjoy in the future
 
yes, but I'm more or less just asking where one can be found, not how to make one... thats why stackoverflow isn't the appropriate outlet in my opinion, you know?
 
I would bet that question even exists somewhere on SE
 
1:49 AM
I searched SE, couldn't find anything usefull....
 
In your case StackOverflow is the right place, if you have a specific problem that can be resolved using code stackoverflow is the place
 
@Dyck ohh you mean you want a like widget or whatever
 
@twiz no, I want a music player for websites, not a widget! lol
 
Or I mean like you just want a library/snippet to just throw in and use?
 
You should ask how to do that, but your question should not be general, it should be about your specific case (web page, javascript, etc) ask what libraries you might end up using
 
1:50 AM
@twiz I'll explain
 
The trick is to phrase your question in a way it will help others in the future, it has to be specific but not too specific, and it has to be concise
 
yes but at this point, I'm sure there must be examples of demos of what I'm looking of rather than asking other people to make ones for me
 
In that case google
 
I've been trying four about an hour, and suprsingly have not found what I'm looking for
there is always hope though
 
1:52 AM
Or even better, learn to code it, from what it sounds what you're asking isn't hard to do
write your code yourself, if you'd like you can upload it to github and make it open source.
 
Anyone here used handlebars and/or ember?
 
@twiz me
 
yay
 
@twiz thanks twiz.. but what I mean is.. I post a link to an mp3 on my website so... mysite.com/song.mp3 then when a user clicks it.. the song plays in a music player on my site.. you know? the music player could have a play/pause button.. a volume control.. the song title / artist etc.
 
@Dyck what about jPlayer?
 
1:56 AM
So if you have a handlebars template with {{outlet}} in the middle of your HTML, shouldn't it put your template right there and not at the bottom of the page for some reason....
@Dyck I think that could be a decent SO question. Something like MP3 player that retrieves songs from directory
 
First of all this is an ember specific question :) (about the outlet helper) and yes
 
@BenjaminGruenbaum oh ok, I haven't used handlebars outside of ember
well for some reason that isn't happening for me...
 
@twiz code?
 
@benjamin I've tried jplayer but I could never manage to get it to play songs from outside the actual player... I'm contimplating creating this question on SO... I think it will just get closed though, I could be wrong.
 
<header id="main-header">
header
</header>
<script type="text/x-handlebars">
<section id="main-content">
{{outlet}}
</section>
</script>

<script type="text/x-handlebars" data-template-name="menu">
Some text
</script>

<footer id="main-footer">
the footer
</footer>
 
2:00 AM
@twiz can you create a fiddle?
 
not sure why that didn't format
Will ember work in jsfiddle?
nvm, I didn't think ember was an option
 
Yeah, just import it in the 'choose framework' area
 
hmmm... does it include handlebars and jquery when you select that?
 
Has anyone really been far even as decided to use even go want to do look more like?
 
@BenjaminGruenbaum well I cant get it to actually run in the fiddle, but here it is jsfiddle.net/ZS9G3/1
 
2:10 AM
SO is such a troll
 
2:20 AM
@BenjaminGruenbaum I don't know if you're still there, but its weird because it is actually adding my template to the page, through the {{outlet}}, its just putting it at the very bottom of the <body> for some reason
 
I'm sorry, I'm a little busy now :/
 
Its all good.
 
1
Q: Ember view rendered at the bottom of the DOM

alxscmsI am using Ember and my view is getting rendered at the very bottom of my HTML DOM, instead of inside my div element. Here is my source code : index.html : <body> <div id="test"> <script type="text/x-handlebars"> {{view Skills.RecommendedSkillsListView}} </s...

 
@BenjaminGruenbaum shit... that was it. ha
thanks
 
2:25 AM
I still think it is weird though
What is the point in even having a default outlet if you have to do that?
 
Hi all
I am trying to understand js namespacing and IEFE
*IIFE
Could anyone tell my why foo is undefined here?
 
finalllllyyyy found what I was looking for (the audio player thing)... costs 10 bux for it... but I'm totally okay with paying the fee and supporting the creator of the code. :)
 
@mwmeyer Your test case seems to be empty
 
@copy you need to press edit in the top corner?
@sorry bout that
 
@mwmeyer no prob dude
 
2:34 AM
Hello guys. A really stupid question about js file location. I am trying to separate my js from my html and my simple js (alert) is not working. Any reasons why this could happen?
http://jsfiddle.net/Ammarcola/Pd9sp/
my js file has a alert("hello"); in it. nothing else
 
@Ammar
@AmmarAhmed worked for me
 
it works on js fiddle
 
More and more familiar faces keep appearing here. :)
 
but not when I save separate html file and a js file
 
@AmmarAhmed well for one thing, I'm pretty sure the language attribute doesn't even do anything
on your script tag
should be type
 
2:38 AM
@twiz let me check
 
not sure that would cause a problem though
 
oh no I put it as an example of what I have on my desktop
 
I think application/javascript is supposed to be replacing text/javascript, right?
 
otherwise, you sure its actually loading the file? maybe you have an extra letter in the url or something...
 
I have a file named "VideoQueue.js" with an alert in it but the alert is not showing up. But it works when I put the alert in my HTML. I should be missing something really stupid here
 
2:41 AM
@AmmarAhmed what is the directory structure?
 
I don't think it is loading the file
 
just an html and a js file on your desktop?
 
they are both in the same folder
wait.. do I have to put the full path in the header? C:\~~\NewFolder\VideoQueue.js?
 
No, but can't hurt to try.
What if you did ./VideoQueue.js? Not sure.
 
@KendallFrey hadn't actually heard that. Just googled it. Kind of sounds like something w3c suggested a while ago, but just caused a lot of problems. haha
 
2:43 AM
ya the HTML brings the full path
@KendallFrey not working
 
You're 100% sure you spelled the file name right? not to sound like a douche... ha
 
0
Q: JS Help, Open chat box on page load

Brandon GelfandI got a plugin for wordpress, and its a chat plugin. I want to make it so the user doesnt have to click the chat button to have it open, but when they load the page it opens. I tried to implement onload in several places but I just can't figure it out. (This is also my first time working with JS ...

0
Q: Can this iterating javascript code be optimized?

DavidSay I have this type of code I'd like to execute. There's some data encapsulated around a big Javascript object containing methods & properties that I'd like to extract based on comparing some other data in said object. The object includes associative (hash?) arrays where I don't know the arr...

 
lol I misspelled a lot of things before. I just double checked and it is correct
 
does your console say "This shit can not be found" or anything?
 
Ammar: Yes, that's exactly what it says!
 
2:49 AM
lol
no. It is not listing the js under resources.
 
haha if only browser devs had that sense of humor...
 
They do (The IE devs anyway)
 
I guess I will just continue using JS fiddle for now
 
I tend to use inline scripts anyway.
Is there a benefit to separate files, other than splitting the download?
 
@KendallFrey I assume the IE devs are either crack heads, fishes flopping on a keyboard, or neo-nazis out to destroy the internet.
all equally likely in my opinion
 
2:52 AM
crackhead fishes out to destroy us.
 
or that... hmmm... we might be on to something
@KendallFrey really? I mean maybe you're right, but that's really uncommon
Either way its kind if "messy"
 
I know.
 
@KendallFrey I am going to have lot of JS and I want to be clean
 
I am unconventional. (:
Actually, I don't have job experience.
Just toying around.
"It works, therefore the design is excellent."
 
@KendallFrey haha I bet other devs love looking though your 5000 line html/javascript/css files ha
 
2:54 AM
@AmmarAhmed you have VideoQueue.js linked when the file is really videoQueue perhaps?
(lowercase v)
 
Most I've gotten is probably several hundred.
And no other devs look at that (yet)
Actually, scratch that, make it less than a hundred.
 
@KendallFrey yea, was just a joke, but I could see that becoming chaos if it got big enough.
 
Oh, yeah, me too.
I'm just too lazy to not leave good enough alone.
 
Actually I know it becomes chaos because I've been lazy and done that.
Then I hate myself when I have to go back and change a bunch of stuff
or I decide to use my JS on another page, but I wrote it expecting it to be only used on that page...
 
@mwmeyer nope. Did not fix it. Just renamed the file to 1.js and tried again with no luck
 
2:57 AM
@AmmarAhmed maybe you should just completely start from scratch in a new directory
 
@twiz flip table
 
I mean it will only take you like half a minute to do that again anyway
 
on it
 
and flipping tables never hurts
well I mean it probably does hurt people on occasion...
 
Unless you aren't wearing steel-toed shoes.
 
3:01 AM
@twiz ok just tried a new one and it works punch monitor
 
haha
 
no idea why it didn't work on the other one. Time to compare the two
 
The simplest mistakes are always the hardest to find
 
ok is it possible to have infinty fps =/
cos thats what my canvas is giving me so far
 
@Dave If your app has become time itself
 
3:03 AM
haha xD
 
maybe you just have something horribly inefficient in it?
 
That would be 0fps
 
well i get 62.5 fps which i thought chrome was capped at 60 for a start... but the fps ranges from 62.5 some times 90 odd then it ll say infinity for a while
 
must be a calculation bug
 
3:04 AM
ok something is wrong with language='application/javascript' or language='text/javascript'
 
its type='text/javascript'
 
@KendallFrey what fps do u get on the fiddle
 
where the hell did I copy this from :O
 
50-60
on opera
 
hmm
it cant be 0fps though. because i console log it and its just adding hundreads of "infinity"
 
3:06 AM
@twiz well now I know. Thanks all
 
is it possible to get Number.NEGATIVE_INFINITY from a calculation?
 
could it be that the frame was faster than the lowest latency the browser can measure?
 
@twiz var result = Number.NEGATIVE_INFINITY + 0
 
@twiz -1 / 0
 
I mean a calc without Number.NEGATIVE_INFINITY in it
!!> 1/0
 
3:08 AM
@twiz "Infinity"
 
oh damn... you're right
Well I would say thats what its from then
 
MATH!!!
 
whats the smallest time difference a browser can measure? any thing below 1ms?
 
@Dave apparently it must...
 
well lets say time between two get dates was 0.1ms the browser might just say 0ms passed
 
3:09 AM
or not, but I'm guessing yes
 
@Dave Doubt it.
@Dave Probably.
 
if 0ms passed i would get infinity
 
@Dave well what if it rounds anything below 1ms to 0 or something
 
well yeh then my maths will be dividing by 0 which would explain the infinity
 
What did the farmer say when he couldn't find his tractor?
"Where's my tractor?"
 
3:16 AM
Looking for ideas for your next project? cracked.com/…
 
0
Q: Crawling retail websites to use as templates

SalI'm setting up a commerce website. I really like the Overstock website, and I was wondering if could simply crawl the website for the webpages, remove Overstock's logos, and use their website as a template. Is this legal, or can it get my website shutdown? How much code is a developer allowed to...

 
@SOChatBot LOL!!! classic
 
@Dyck It was more funny the first 10 times it told that joke
 
@BenjaminGruenbaum oh really?? I didn't see the first 10 other times... but it was still really funny imo!! He's a legit bot right?
 
microwaved some food portion and finished it but I am still hungry. I can't do it again because it will not taste as good
 
3:39 AM
@Dyck I don't think so, look:
!!/tobacconist
 
@BenjaminGruenbaum Drop your panies, Sir William, I cannot wait till lunchtime
 
!!/tobacconist
 
@Dyck Drop your panies, Sir William, I cannot wait till lunchtime
 
3:40 AM
@BenjaminGruenbaum so he really is a bot then, correct?
 
LOL!!
dammn those are some seriously evil jokes.
 
@Dyck no, it's a dude, he just remembers some commands and presses enter when you ping him
 
loll
sarcasticface
 
He's very devoted
@SOChatBot I'll send you $10 if you disagree
^see
 
3:43 AM
!!/tell @SomeKittens I disagree
 
@BenjaminGruenbaum Command i does not exist.
 
Even does bugs
Though that wasn't a bug, more like @BenjaminGruenbaum not knowing how to instruct Dave (Dave is his real name, thus the avatar)
 
yeah, he's probably mad at me
 
tell executes a command
!!/tell BenjaminGruenbaum 420
 
3:45 AM
I looked at his profile and found an answer he submitted to a question... stackoverflow.com/questions/1271503/… so he is either a) some guy who really has no life or b) a guy who created a chat bot somehow
 
@SomeKittens Don't be annoying, drop the @, nobody likes a double-ping.
 
Great, now he's mad at me too.
 
@BenjaminGruenbaum hehe hehe hehe hehe..... hehe hehe ... hehe
 
or maybe he gets paid to do this
@SOChatBot what did chat bots eat? im curious
@SOChatBot what is a good song?
 
Where's @Zirak when you need him
 
3:53 AM
Anyone checked out meteor yet?
I'm thinking about making a quick app in it to try it out
 
the new chrome (the beta) has a neat FPS built for canvas \o/
 
@Dyck that doesn't work this way, you have to talk to him with connected words and !!
!!/whatisagreatmovie
 
@BenjaminGruenbaum FightClub
 
!!/whatareyoueating
 
@Dyck Command whatareyoueating does not exist.
 
3:54 AM
I'm not sure he likes you
 
!!//commands
 
@Dyck Invalid command //commands
 
!!/whatareyoueating
 
@BenjaminGruenbaum I don't know, whatever I have in my fridge, nothing fancy
 
 
3:54 AM
wtf!
 
neat feature :D
 
Guys check out this site I've just made with angular 76.173.234.5/iskgames
 
eve online :S?
 
!!/whyareyounottalkingtodyck
 
@BenjaminGruenbaum I don't really feel like it, he's new and I'm busy
 
3:57 AM
!!/whatareyoueating
 
@Dyck I don't know, whatever I have in my fridge, nothing fancy
 
!!/dafuq is this for
 
@ChristianStewart Command dafuq does not exist.
 
!!/whoareyou
 
oh its a command? hrm
 
3:57 AM
@Dyck Command whoareyou does not exist.
 
!!/whoareyou
 
@ChristianStewart Command whoareyou does not exist.
 
!!/what
 
@Dyck Command what does not exist.
 
!!/whattimeisit
 
3:57 AM
stop spamming that
 
@Dyck Command whattimeisit does not exist.
 
!!/time
 
!!/whoareyou
 
@ChristianStewart Command time does not exist. Did you mean: timer

@BenjaminGruenbaum Just a bot
 
3:59 AM
What drives people to get reputation? I've never fully understood this on SO or any stack exchange sites... Is it primarily because reputation can create jobs for people?
 
@Dyck search for answers on meta
 
Never underestimate the power of offering the user the ability to make a public number attached to their name increase
 
235
Q: How does "Reputation" work?

Justin StandardOn Stack Exchange, users may gain a certain level of reputation. What does reputation do? How can a user gain or lose reputation? See also Are there any voting limits? Maximum amount of votes a user can use in a day and reputation requirements to vote. How can I audit my r...

So people who devote hours and hours daily into stackoverflow do it for the way they will be percieved within this website and community? I always thought it was for job opertunities...
 
Read about gamification
 
but isn't there a short answer?
 
4:04 AM
People are much more motivated to do stuff if there are nice rewards
 
Your brain releases drugs whenever your "virtual penis, even if it doesn't make any sense" increases in size
3
 
@ChristianStewart "Failed to load resource: the server responded with a status of 401 (Unauthorized) "
@ChristianStewart looks nice though
 
ooh where?
I hope you realize that the errors that pop up in the console are on purpose
 
In console, 401
 
@BenjaminGruenbaum I know if the user is logged in or not by checking the return code from a PHP script, if it's 401 the application routes them to the login screen, otherwise it leaves them where they are
The code intercepts the 401 response from any request to the back end which results in login routing
 
4:08 AM
@ChristianStewart I don't think a non-logged-in user should get a 401 unless he made a request he is unauthorized to make
 
    // Apllication will not be supported in Other browsers & IE lower versions (<7). This functioality is to show alert message to
    //download IE higher versions and provide link when the user opens the application
that idiot should be fired.
 
@BenjaminGruenbaum The 401 is not seen by the user, it's a behind the scenes thing
Chrome's console complains about it but others will not
 
i wonder why they make a page useful to potential customers who might pay tons of money that shitty
 
4:10 AM
It renders all wrong on chrome
 
Screenshot @BenjaminGruenbaum?
Oh the page
yeah that mla page is messed up
 
@BenjaminGruenbaum hahaha you can't even use the form
 
v-jesath requires firing
 
Microsoft... how is that company still successful...
 
smells like webforms
WebForms was/is horrible
 
4:16 AM
@twiz: Well, Windows 7 is pretty fine...
 
Dude
Windows 8 is great
 
@ThiefMaster NOTHING that comes with IE as default is fine
 
I use it on desktop, people always tell me I'm stupid for thinking it's good, but honestly its great, and I develop tons of code
The trick is to not use metro apps except for maybe mail and news...
 
@ChristianStewart I've heard mixed reviews. Haven't used it yet though
 
4:17 AM
We're arguing about OSs now?
 
Just use the desktop... very fast and good... then they say that the start menu gone is shit, well actually it's just fine, I press one key and type what I want and it finds it instantly
Not arguing, just putting out my point of view
 
OMG LINUX IS TEH HAXXX0REST
 
Linux is cool, I do use it for a lot of my dev stuff as well
 
Anyone who doesn't use a tiling window manger is dumb
 
command lines aren't dumb xD
 
4:18 AM
pssshhh vista is definitely still the best
Almost as good as windows ME
or w/e that shit was called...
 
vista
lolol
 
has anyone used the Chrome desktop OS? google.com/intl/us/chrome/devices/chromebox.html
or is it just netbook-ish?
 
I might install it on my netbook. All of the microsoft updates slowed it to it's knees
 
Perl is written in base64
 
@SOChatBot good to know
 
4:41 AM
I feel as though Google Glass would be really annoying. Its like people using phone headsets. I'm gonna be pissed if it becomes normal for people to walk around yelling at their glasses...
 
No worse than today's cellphones
 
except I think that it either wont work if you speak quietly or if it does, people will yell anyway because they don't think it will work otherwise
 
 
1 hour later…
5:49 AM
LOL
 
You would be surprised by the amount of Excel sheets they use
 
@AmmarAhmed have you seen this? businessinsider.com/…
 
@twiz haha oh wow
 
Static typing will prevent most bugs
 
6:21 AM
No. Static typing + apps hungarian notation seems promising, though.
 
7:09 AM
evening
lol, I think I may be the only one here.
Well either way. I have a data object that's I'm stepping through and I could use a little help accessing the sub "items". Any help would be appreciated.

http://jsfiddle.net/zachshallbetter/5LuEn/
 
What's your problem? You seem to loop over everything just fine
perhaps you wanted to log the inner items, not their keys, though?
items[j]. ...
 
7:25 AM
ChatBot's database seems to have improved...
 
No more morbid jokes, hopefully
 
How do you make a plumber cry? Kill his family
 
I was mistaken.
 
Hi Jan
Hello Guys
 
7:35 AM
I'm facing very strange issue using jquery ajax
My ajax code is working fine and giving me data as success response
but its giving me an error in Safari
Can you tell me what should be the issue?
 
Hopefully, it's something browser-specific. Can you provide a fiddle so that we can tell you more?
 
Sure
Just one min
Do you want to see the code right?
 
That will do.
 
I've posted the question
May I share that link?
0
Q: Getting error in AJAX response on Safari browser only

djtechieI'm facing very strange issue. I'm using below code to get value from an API: var getId = function () { var url: "Proxy:url=https_URL" var result; $.ajax({ type: 'GET', url: url, dataType: 'json', contentType: "application/json...

plz check this
 
Will take a look
 
7:43 AM
I'm really stuck with this issue please let me know coz I just can't get how can it possible
 
Perl is written in base64
 
Hi Jan
 
hello again
 
Didn't get your last comment
Promises
?
 
7:58 AM
The return value of $.ajax is a promise: An object where you can submit callbacks, and they will be executed when the ajax is complete.
 

« first day (859 days earlier)      last day (4104 days later) »