<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with Javascript</title>
      <link>http://ask.metafilter.com/tags/Javascript</link>
      <description>Questions tagged with 'Javascript' at Ask MetaFilter.</description>
	  <pubDate>Wed, 12 Jun 2013 12:12:07 -0800</pubDate> <lastBuildDate>Wed, 12 Jun 2013 12:12:07 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>=== JavaScript is actually not that ugly. ===</title>
	<link>http://ask.metafilter.com/242766/JavaScript%2Dis%2Dactually%2Dnot%2Dthat%2Dugly</link>	
	<description>I&apos;d like to learn basic CoffeeScript for a one-off project, but most of the books I&apos;ve seen come from the perspective of the JS developer making the leap to CS. JS is ubiquitous and will no doubt come in handy in many more situations. What is a good pocket library of 3-4 books for someone new to JS and front-end web dev stuff, but not new to programming concepts? (For example, my C pocket library is K&amp;amp;R, Deep C secrets, and C: A Reference Manual. I know that the front-end web world is a lot richer than C-world, but do what you can to help me.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.242766</guid>
	<pubDate>Wed, 12 Jun 2013 12:12:07 -0800</pubDate>
	<category>coffeescript</category>
	<category>frontend</category>
	<category>javascript</category>
	<category>programming</category>
	<category>selfstudy</category>
	<category>webdevelopment</category>
	<dc:creator>Nomyte</dc:creator>
	</item>
	<item>
	<title>What are the best sites for hiring front-end developers in the US?</title>
	<link>http://ask.metafilter.com/241608/What%2Dare%2Dthe%2Dbest%2Dsites%2Dfor%2Dhiring%2Dfrontend%2Ddevelopers%2Din%2Dthe%2DUS</link>	
	<description>Stackoverflow has been great for back-end developers, but not so much for the front-end people -
I mean javascript frameworks + html5 + css.

What are the best job sites for hiring front-end developers in the US?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.241608</guid>
	<pubDate>Fri, 24 May 2013 11:00:37 -0800</pubDate>
	<category>hiring</category>
	<category>javascript</category>
	<category>jobs</category>
	<dc:creator>grubby</dc:creator>
	</item>
	<item>
	<title>Help me create a secondary dev environment, either Windows 7 or Ubuntu</title>
	<link>http://ask.metafilter.com/240644/Help%2Dme%2Dcreate%2Da%2Dsecondary%2Ddev%2Denvironment%2Deither%2DWindows%2D7%2Dor%2DUbuntu</link>	
	<description>I&apos;m a Mac-based webmonkey, and I need to sett up a secondary dev environment on an old Thinkpad X200.  It currently runs... or rather slow-jogs Windows 7. I don&apos;t need the setup to be perfect, just something on which I can run an Apache / LAMP stack and occasional Sinatra / Rails apps without supreme annoyance. My goal is to put no more money into the software than I did the hardware ($175). This machine is for occasional light use, except for the month I&apos;m taking it with me to Russia. So, umm, security tips would be helpful too! Thanks!&lt;br&gt;
&lt;br&gt;
My current standards in OS X land:&lt;br&gt;
Espresso&lt;br&gt;
Git&lt;br&gt;
MAMP&lt;br&gt;
Sequel Pro&lt;br&gt;
Chrome&lt;br&gt;
Mou&lt;br&gt;
Mountee&lt;br&gt;
Cyberduck&lt;br&gt;
Terminal&lt;br&gt;
Textexpander&lt;br&gt;
Propane&lt;br&gt;
Sparrow&lt;br&gt;
Jumpcut&lt;br&gt;
Adobe CS5&lt;br&gt;
Spotify&lt;br&gt;
1Password&lt;br&gt;
Adium&lt;br&gt;
Harvest&lt;br&gt;
Writeroom&lt;br&gt;
&lt;br&gt;
I&apos;ve checked alternativeto.net, but am curious about the opinions of Mefites.&lt;br&gt;
&lt;br&gt;
ps I&apos;ve seen &lt;a href=&quot;http://ask.metafilter.com/85911/How-can-I-become-a-really-effective-web-developer-using-Windows&quot;&gt;this question&lt;/a&gt; but I assume that there will be updates in the last 5 years.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.240644</guid>
	<pubDate>Thu, 09 May 2013 01:57:45 -0800</pubDate>
	<category>craptop</category>
	<category>css</category>
	<category>javascript</category>
	<category>mactowindows</category>
	<category>webdesign</category>
	<category>webdev</category>
	<category>windows</category>
	<category>windowsmigration</category>
	<dc:creator>n&#xed;mwunnan</dc:creator>
	</item>
	<item>
	<title>Show me the quick and dirty road to jquery/javascript proficiency</title>
	<link>http://ask.metafilter.com/240565/Show%2Dme%2Dthe%2Dquick%2Dand%2Ddirty%2Droad%2Dto%2Djqueryjavascript%2Dproficiency</link>	
	<description>I am hoping to become a fairly nimble noob with jQuery (and understand the javascript logic that goes with it) in about 3 weeks. What is the smartest way forward? I have been through a fair number of web tutorials (code school, codecademy, lynda, safari books) and I pretty must have the basics down. Can write functions, handle events, understand objects, etc..&lt;br&gt;
&lt;br&gt;
But now that I&apos;ve done that I don&apos;t know what the smartest next move is. There is a ton of documentation out there and I don&apos;t want to waste time getting in over my head. I am looking for more structured exercises or tutorials that take you all the way through building mock apps but don&apos;t know where to find them.&lt;br&gt;
&lt;br&gt;
If I had unlimited time I would just start working on small projects and building them for fun for myself and/or on github--but I need to work smart and be as efficient as I can with my time.&lt;br&gt;
&lt;br&gt;
Obviously I can&apos;t learn it all or become a pro but I hoping up to be able to make the leap to backbone and be able to contribute to a few small-scale web apps.  As a noob, but at least a competent one!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.240565</guid>
	<pubDate>Tue, 07 May 2013 17:06:38 -0800</pubDate>
	<category>autodidact</category>
	<category>javascript</category>
	<category>jQuery</category>
	<category>resolved</category>
	<dc:creator>OlivesAndTurkishCoffee</dc:creator>
	</item>
	<item>
	<title>I can FizzBuzz! Where do I go from here? </title>
	<link>http://ask.metafilter.com/240447/I%2Dcan%2DFizzBuzz%2DWhere%2Ddo%2DI%2Dgo%2Dfrom%2Dhere</link>	
	<description>I am teaching myself how to program. But there seems to be a big gap between intro courses/resources (CodeCademy, O&apos;Reilly books, Learn X the Hard Way) and Actually Doing Things. Help me figure out a road plan? I know HTML and CSS pretty well. I know a teeny bit of PHP and JS and MySQL, and even less of AJAX/JSON, but enough to mess around with existing CMSes and hack together simple custom solutions from StackOverflow and Google. I&apos;m starting to learn Python (I&apos;ve gone through Zed Shaw&apos;s &lt;a href=&quot;http://learnpythonthehardway.org/&quot;&gt;Learn Python the Hard Way&lt;/a&gt;). I&apos;ve also done the Javascript track on &lt;a href=&quot;http://www.codecademy.com/tracks/javascript&quot;&gt;CodeCademy&lt;/a&gt;, and I&apos;m starting on the &quot;build a search engine&quot; &lt;a href=&quot;https://www.udacity.com/course/cs101&quot;&gt;CS 101&lt;/a&gt; course on Udacity. &lt;br&gt;
&lt;br&gt;
I&apos;m finding that a lot of the recommended intro resources for these things kind of start off at the same place - basic logic, loops, conditionals, etc. - and then say &quot;Okay, go do stuff&quot;. But the stuff I want to do tends to be several orders of magnitude beyond what the intro books have taught. Shaw&apos;s book is a good example of this: I can build a CYOA game in terminal! Great. How does this translate to...actually writing a program with a GUI and how do I integrate this with some form of data storage and oh god there&apos;s this thing called garbage collection that everyone talks about and ahh. &lt;br&gt;
&lt;br&gt;
A lot of advice you see out there is &quot;just start programming!&quot; but I honestly don&apos;t even know where to begin. I see cool projects on Github and I can&apos;t begin to understand the source code. I also know enough to know that it&apos;s really easy to screw things up, and I feel like I don&apos;t know nearly enough (or anything at all) about best practices for writing secure code, minimizing run time. &lt;br&gt;
&lt;br&gt;
&lt;strong&gt;What I&apos;m looking for:&lt;/strong&gt; &lt;br&gt;
I do really well with structured/project-based learning, which is why the Udacity course seems promising. Just straight-up reading the documentation of the various languages tends to make my brain spin. Can you recommend a guide / a road plan for how to incrementally step up from FizzBuzz to something resembling Actual Skill? Maybe something like &lt;a href=&quot;http://projecteuler.net/&quot;&gt;Project Euler&lt;/a&gt; that isn&apos;t quite as math based.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;[Extraneous info, possibly useful]&lt;/strong&gt;&lt;br&gt;
What I&apos;m already doing: &lt;br&gt;
&lt;ol&gt;&lt;li&gt;Trying to work on personal projects that are just a little bit beyond what I feel comfortable with. This is fun, but I also can&apos;t help but think I&apos;ll have a lot of gaps in my knowledge if I only work on things that I can envision, and I can only envision things that are based on the skills I already know. &lt;/li&gt;&lt;br&gt;
&lt;li&gt;Reading StackOverflow to see other people&apos;s code, posting stuff on CodeReview when relevant.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Slowly (slowly) working my way through the &lt;a href=&quot;http://www.pythonchallenge.com/&quot;&gt;Python Challenges&lt;/a&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;br&gt;
&lt;br&gt;
What I would like to do with this skill: &lt;br&gt;
&lt;ol&gt;&lt;li&gt;Professionally: be a kick-ass web developer. I work as a front-end dev now, but most of what I do is CMS customization (WP, Drupal) and while that is its own niche, it also seems very limited in terms of professional advancement.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Personally: be one of those people encounters a problem / has an idea and can write a script to fix it. This might include stuff like &quot;I need to find a way to integrate RSS content from disparate sources into a uniform-looking output&quot; or &quot;I want to interact with the Twitter API and do cool textual analysis with it&quot; or anything else.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Blue-sky thinking: get to a place where I could build a web-app/service that is actually helpful (or entertaining) for other people. Not because start-up VC blah, but because helping people is awesome. For example, a thing that I&apos;m building for myself right now is a habit-tracker with lots of built-in data-wankery with respects to streaks, averages, trends, etc. It&apos;s just PHP and MySQL right now (I haven&apos;t gotten to the &quot;graph this data&quot; stage yet) but I could see this being something that people might want.&lt;/li&gt;&lt;/ol&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.240447</guid>
	<pubDate>Mon, 06 May 2013 08:26:41 -0800</pubDate>
	<category>autodidact</category>
	<category>javascript</category>
	<category>learning</category>
	<category>mysql</category>
	<category>oop</category>
	<category>php</category>
	<category>programming</category>
	<category>python</category>
	<category>selfteaching</category>
	<dc:creator>Phire</dc:creator>
	</item>
	<item>
	<title>Happy little (binary) trees. Is there a Bob Ross of coding?</title>
	<link>http://ask.metafilter.com/239161/Happy%2Dlittle%2Dbinary%2Dtrees%2DIs%2Dthere%2Da%2DBob%2DRoss%2Dof%2Dcoding</link>	
	<description>Is there a Bob Ross of coding? I&apos;m looking for a particular style of educational video which shows developers working through problems. It should include a voice over describing what they are trying to accomplish. It should also show the types of decisions they are making as they work through the problem. I&apos;m specifically interested in Python and javascript. On the Python side, anything that includes data science stuff (obtaining, scrubbing, exploring, modeling or interpreting data). On the JS side, if there were videos on data viz libraries (like D3) that would be good.&lt;br&gt;
&lt;br&gt;
Anyway, I get an incredible amount of benefit looking over someone&apos;s shoulder as they work. Point me to some learning materials!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.239161</guid>
	<pubDate>Sun, 14 Apr 2013 22:28:23 -0800</pubDate>
	<category>dataviz</category>
	<category>javascript</category>
	<category>js</category>
	<category>python</category>
	<category>tutorial</category>
	<category>video</category>
	<dc:creator>quadog</dc:creator>
	</item>
	<item>
	<title>Reading to complete before a technical interview (CSS, JS, HTML)?</title>
	<link>http://ask.metafilter.com/237732/Reading%2Dto%2Dcomplete%2Dbefore%2Da%2Dtechnical%2Dinterview%2DCSS%2DJS%2DHTML</link>	
	<description>I&apos;m scheduled for a technical interview after the weekend for a front-end development position. I&apos;d like to spend some intensive time beforehand reading relevant blogs and books to prime the ol&apos; noodle and supplement my existing knowledge.  Could you recommend some resources?  Are there questions you would ask an applicant in this situation, or that you have been asked? The interview will, in particular, cover &quot;HTML, CSS, JavaScript, and jQuery.&quot;  The company in question runs on WordPress, so items at the intersection of any and all of those technologies might be particularly helpful.  Code will be discussed and produced as part of it.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.237732</guid>
	<pubDate>Fri, 22 Mar 2013 14:15:56 -0800</pubDate>
	<category>css</category>
	<category>frontend</category>
	<category>html</category>
	<category>html5</category>
	<category>interview</category>
	<category>interviewquestions</category>
	<category>IT</category>
	<category>javascript</category>
	<category>jobsearch</category>
	<category>jquery</category>
	<category>js</category>
	<category>questions</category>
	<category>tech</category>
	<category>technology</category>
	<category>webdevelopment</category>
	<category>wordpress</category>
	<dc:creator>jsturgill</dc:creator>
	</item>
	<item>
	<title>Please! A real-world application using custom objects in JavaScript.</title>
	<link>http://ask.metafilter.com/237457/Please%2DA%2Drealworld%2Dapplication%2Dusing%2Dcustom%2Dobjects%2Din%2DJavaScript</link>	
	<description>Coding books give silly examples, like dogs with properties like &quot;breed&quot; and methods like &quot;bark.&quot; Can you give me a practical example that includes properties and at least one method&#8212;an example that someone would actually use on a real website?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.237457</guid>
	<pubDate>Mon, 18 Mar 2013 14:18:59 -0800</pubDate>
	<category>JavaScript</category>
	<dc:creator>markcmyers</dc:creator>
	</item>
	<item>
	<title>Working with Javascript and Google Fusion Tables...help!</title>
	<link>http://ask.metafilter.com/237094/Working%2Dwith%2DJavascript%2Dand%2DGoogle%2DFusion%2DTableshelp</link>	
	<description>Working on an important open gov data project to support public schools.  Need to know how to grab data from a single Google Fusion table cell using javascript...And of course, we are trying to stay up all night because we launch tomorrow.  Help?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.237094</guid>
	<pubDate>Tue, 12 Mar 2013 19:44:22 -0800</pubDate>
	<category>coding</category>
	<category>GoogleFusion</category>
	<category>JavaScript</category>
	<dc:creator>jeanmari</dc:creator>
	</item>
	<item>
	<title>I want to see what my code is doing</title>
	<link>http://ask.metafilter.com/236159/I%2Dwant%2Dto%2Dsee%2Dwhat%2Dmy%2Dcode%2Dis%2Ddoing</link>	
	<description>I am taking an entry-level college class in programming. We are using Javascript &quot;playground&quot; that works within a web browser. I am a visual learner and the textbook and exercises are useless to me. We&apos;re only six weeks in and I&apos;m in the weeds. Is there a tool that shows what exactly is happening at each step in the Javascript code? I&apos;m stuck at variables and we&apos;re now moving on. I&apos;m afraid that if I don&apos;t &quot;get&quot; this, I will be left behind. Specifically, I have an issue with local and global variables and the difference between them. I see variables names being used in functions/modules that are not used elsewhere and it confuses me. I also don&apos;t get the passing of variables into functions/modules and how different things come out with different names. Is there a way (video/alternate language, etc.) to visually show what happens at each step?&lt;br&gt;
&lt;br&gt;
Ideally, I would like to have two windows: one that shows the code and one that somehow illustrates what is happening in a friendly way, i.e. cute buckets holding the contents of variables and how they are passed around. I know there are programming languages for children. Would they have some relevance to someone learning Javascript?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.236159</guid>
	<pubDate>Wed, 27 Feb 2013 09:43:51 -0800</pubDate>
	<category>Javascript</category>
	<category>learning</category>
	<category>programming</category>
	<category>variables</category>
	<category>visual</category>
	<dc:creator>crosten</dc:creator>
	</item>
	<item>
	<title>Help with Tumblr - Can I install this plugin?</title>
	<link>http://ask.metafilter.com/236100/Help%2Dwith%2DTumblr%2DCan%2DI%2Dinstall%2Dthis%2Dplugin</link>	
	<description>I have a tumblr. I wanted to use &lt;a href=&quot;http://www.catchmyfame.com/catchmyfame-jquery-plugins/jquery-beforeafter-plugin/&quot;&gt;this plugin&lt;/a&gt; on it, but I am a relative newb in terms of HTML/Javascript, etc, so I don&apos;t really even know if this is possible.  I asked a friend and he told me tumblr might be &quot;too lightweight&quot; to do this. Is there a tumblr veteran who could walk me through how to do this? Adding insult to injury, it looks like they just changed Tumblr&apos;s interface, so I&apos;m having trouble even finding where I can edit this kind of thing. I just feel totally lost, and I&apos;m hoping someone can help me get this up and running on my tumblr!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.236100</guid>
	<pubDate>Tue, 26 Feb 2013 14:18:09 -0800</pubDate>
	<category>helpme</category>
	<category>imtotallylost</category>
	<category>javascript</category>
	<category>jquery</category>
	<category>tumblr</category>
	<dc:creator>Palmfrond</dc:creator>
	</item>
	<item>
	<title>What are the cutting edge data visualization tools out there right now? </title>
	<link>http://ask.metafilter.com/235401/What%2Dare%2Dthe%2Dcutting%2Dedge%2Ddata%2Dvisualization%2Dtools%2Dout%2Dthere%2Dright%2Dnow</link>	
	<description>I am handy with HTML, CSS and a little Javascript. I also have a lot of experience with Wordpress theme development. What is the best path for me to become an ace data visualizer on the web? When I was in university, I got really familiar with building Wordpress sites, HTML, CSS and Javascript. I haven&apos;t really kept up with programming for a number of years but historically found myself fairly comfortable with new languages. &lt;br&gt;
&lt;br&gt;
I&apos;ve since become an economist, and part of what I am trying to do is develop a more flexible toolkit for presenting data and text. I like the infographic style and would love to be able to produce articles on the web using that format with relative ease. Ideally, I&apos;d love to build this into existing Wordpress blogs too, but that&apos;s not necessarily something I&apos;m married to. &lt;br&gt;
&lt;br&gt;
What tools should I be using? Generally, I will be developing my data using Excel or SPSS, so something that is relatively easy to import data and produce stunning charts would be great. On my &quot;god I wish it existed&quot; list would be a tool that would be able to replicate bar charts with importable images - so, instead of a bar that goes to 100, I would love something that would stack, say, a car for every 10 in the dataset (so 10 cars for 100.) &lt;br&gt;
&lt;br&gt;
What tools do you think I should be using? I am assuming some scripting will be necessary and I am comfortable with that, but the more out of the box, the better. I have never been good at graphic design so the less of that, the better, unless there&apos;s a great guide to get me up to speed.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.235401</guid>
	<pubDate>Sat, 16 Feb 2013 11:42:23 -0800</pubDate>
	<category>css</category>
	<category>data</category>
	<category>html</category>
	<category>javascript</category>
	<category>resolved</category>
	<category>visualization</category>
	<dc:creator>Rodrigo Lamaitre</dc:creator>
	</item>
	<item>
	<title>How do I find web development projects to work on?</title>
	<link>http://ask.metafilter.com/233753/How%2Ddo%2DI%2Dfind%2Dweb%2Ddevelopment%2Dprojects%2Dto%2Dwork%2Don</link>	
	<description>I was told I can&apos;t code anymore, but I love to code. I want to keep up with cutting edge technologies, and while I&apos;m learning -- why not develop projects that people need while getting a part-time income. One problem: Where can I find projects? Right now, I&apos;m currently a project/design lead in the I.T. department of my company. It&apos;s a job that is a step below a full-fledged project management professional (PMP). My day-to-day tasks involve analyzing functional requirements, fleshing out the technical how-to, producing design documentation, and handing it off to our development team.&lt;br&gt;
&lt;br&gt;
Before I moved up to this level within the company, I was a senior developer with about five years of experience. I was on the cutting edge of technology, heavily involved in molding the architecture of the company.&lt;br&gt;
&lt;br&gt;
After the move, it became apparent because it was literally spoken to me that I should not be coding anymore... ever. This came as a shock because I had coded at such a high-level that I was noticed and abruptly promoted to a new position. Fortunately, I&apos;ve made a smooth transition, and I believe I&apos;m excelling at my current position as well. But I&apos;m worried...&lt;br&gt;
&lt;br&gt;
Our company is full of older generation thinking with a sprinkling of a few people who understand that we need to adapt. This is heavily apparent in the high-level, big picture ideas that are produced by our management. Most of it delves far too deeply into the &quot;how-to&quot;, and to say that its outdated is an understatement. We aren&apos;t cutting edge, and my voice is only one in a crowd of voices simply wanting to get things done versus get things done correctly.&lt;br&gt;
&lt;br&gt;
I could go on for hours about that, but that isn&apos;t my question. My question relates to the future of my career and acquiring knowledge. I love my job as it is today. I don&apos;t want to leave this company, and I truly think that we are heading in the right direction as we have had an influx of younger talent and the older generation is retiring. But I also don&apos;t want to sacrifice these years of being told that I shouldn&apos;t waste my time on coding. I want to remain a knowledge expert, and I want to ensure that I can find a new job if things go downhill due to poor decisions by management.&lt;br&gt;
&lt;br&gt;
So, after my long-winded explanation of the situation... my question is this: What can I do, preferably for some sort of compensation, in the realm of web development that would not only give clients some of my work at a cheap rate, but also allow me to develop with new technologies? Where can I find leads to people who need such work? &lt;br&gt;
&lt;br&gt;
I work primarily in .NET, but I&apos;ve worked in all sorts of modern javascript libraries. I&apos;m definitely wanting to get into developing using MVC frameworks, and I honestly don&apos;t want to create something for free for my company if they aren&apos;t going to use it. I&apos;d like to create something that somebody actually needs.&lt;br&gt;
&lt;br&gt;
What&apos;s the best way to find projects to do?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.233753</guid>
	<pubDate>Wed, 23 Jan 2013 12:51:18 -0800</pubDate>
	<category>aspnet</category>
	<category>coding</category>
	<category>javascript</category>
	<category>jquery</category>
	<category>mvc</category>
	<category>net</category>
	<category>programming</category>
	<category>webdesign</category>
	<category>webdevelopment</category>
	<dc:creator>MMALR</dc:creator>
	</item>
	<item>
	<title>How to divide a div into two triangles with Javascript?</title>
	<link>http://ask.metafilter.com/232701/How%2Dto%2Ddivide%2Da%2Ddiv%2Dinto%2Dtwo%2Dtriangles%2Dwith%2DJavascript</link>	
	<description>Javascript question: I have a rectangular div. Imagine that div is divided from one corner to the other to make two right triangles. I would like to, on hover, have Javascript tell me which triangle my mouse is over. But my trigonometry powers are failing me, and Google is coming up short. Hope me, admin!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.232701</guid>
	<pubDate>Tue, 08 Jan 2013 08:40:41 -0800</pubDate>
	<category>hover</category>
	<category>HTML</category>
	<category>javascript</category>
	<category>resolved</category>
	<category>triangle</category>
	<dc:creator>eustacescrubb</dc:creator>
	</item>
	<item>
	<title>How to solve a complex statistics problem with a script?</title>
	<link>http://ask.metafilter.com/230075/How%2Dto%2Dsolve%2Da%2Dcomplex%2Dstatistics%2Dproblem%2Dwith%2Da%2Dscript</link>	
	<description>In this game, you roll a number of six-sided dice to get a &lt;strong&gt;total&lt;/strong&gt;. The total is either the highest single die result, or the sum of any multiples rolled, whichever is higher.

For example: If I roll three dice and get a 3, 4, and 6, my total is 6. But if I roll a 4, 4, and 6, my total is 8, the sum of the two 4s.

What I want to find out is the mean, median, mode, and standard deviation of the possible totals given N dice. How might I create a simple script to compute this? With two or three dice, I can easily figure this out by listing all the possible results, basically by brute force. But that&apos;s a pretty labor-intensive method when it comes to four or more dice.&lt;br&gt;
&lt;br&gt;
I have a Macintosh, and I&apos;m comfortable using the Unix command line and several programming languages for simple problems, but I&apos;m not even sure where to start automating something like this. I&apos;d be grateful for any guidance.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.230075</guid>
	<pubDate>Fri, 30 Nov 2012 18:26:42 -0800</pubDate>
	<category>bash</category>
	<category>d6</category>
	<category>deviation</category>
	<category>dice</category>
	<category>JavaScript</category>
	<category>js</category>
	<category>math</category>
	<category>mean</category>
	<category>median</category>
	<category>mode</category>
	<category>perl</category>
	<category>PHP</category>
	<category>probability</category>
	<category>programming</category>
	<category>ruby</category>
	<category>standard</category>
	<category>statistics</category>
	<category>unix</category>
	<dc:creator>j0hnpaul</dc:creator>
	</item>
	<item>
	<title>Looking for an Externally Hosted Image Slideshow for the Web</title>
	<link>http://ask.metafilter.com/230030/Looking%2Dfor%2Dan%2DExternally%2DHosted%2DImage%2DSlideshow%2Dfor%2Dthe%2DWeb</link>	
	<description>I need an image slideshow script for a website. Unfortunately, I&apos;m extremely constrained by our dinosaur CMS. I manage a public library website that runs on a simple proprietary CMS. It turns most inline Javascript into spaghetti and doesn&apos;t allow us to upload JS files to our hosting space.&lt;br&gt;
&lt;br&gt;
I&apos;d like an image slideshow on our home page to advertise upcoming events and new services. A JQuery carousel would be perfect - I&apos;m not interested in Flash for accessibility reasons and our patrons&apos; browsers are not ready for a CSS3/HTML5-only solution.&lt;br&gt;
&lt;br&gt;
The slideshow offered by cincopa.com is perfect - the script is externally hosted and works beautifully on our site. However, our bandwidth needs are too high for the free version, and I&apos;m reluctant to spend money on the pro version unless I know it&apos;s our only option, since we won&apos;t need the service for long - we&apos;ll be transitioning to Wordpress or Drupal next year.&lt;br&gt;
&lt;br&gt;
So, are there any free externally hosted JQuery slideshow scripts out there, or does anyone have an alternate suggestion as to how I can accomplish this? I&apos;m a librarian, not a programmer, so forgive me if I&apos;ve overlooked something obvious.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.230030</guid>
	<pubDate>Fri, 30 Nov 2012 09:27:49 -0800</pubDate>
	<category>design</category>
	<category>javascript</category>
	<category>jquery</category>
	<category>web</category>
	<dc:creator>toastedcheese</dc:creator>
	</item>
	<item>
	<title>Safari Bookmark That Controls Scroll Position</title>
	<link>http://ask.metafilter.com/229977/Safari%2DBookmark%2DThat%2DControls%2DScroll%2DPosition</link>	
	<description>In Safari 6, I have a folder of bookmarks on the Bookmarks Bar that I visit each day by right-clicking and choosing &quot;Open in Tabs&quot;. I&apos;d like one of those bookmarks to open to a specific vertical scroll position on the page in question. Is that do-able? I made an inept attempt at doing something via Javascript and found the scrolling to be inconsistent and that an empty, unnecessary tab was created.&lt;br&gt;
&lt;br&gt;
&lt;em&gt;javascript:w=window.open(&quot;http://www.site.com/&quot;); setTimeout(function() {w.scrollTo(0,1500)},10000);&lt;br&gt;
&lt;/em&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.229977</guid>
	<pubDate>Thu, 29 Nov 2012 14:51:25 -0800</pubDate>
	<category>apple</category>
	<category>bookmarks</category>
	<category>javascript</category>
	<category>mac</category>
	<category>safari</category>
	<category>web</category>
	<dc:creator>boombot</dc:creator>
	</item>
	<item>
	<title>Im in yr wiki, trackin yr error messages.</title>
	<link>http://ask.metafilter.com/229976/Im%2Din%2Dyr%2Dwiki%2Dtrackin%2Dyr%2Derror%2Dmessages</link>	
	<description>I have a MediaWiki installation on new hardware to replace an old public website. Occasionally someone visits the site using a dead link and gets MediaWiki&apos;s &quot;There is currently no text in this page&quot;. I can customize the message they get, but how can I get a notification (ideally with Google Analytics custom variables) whenever this happens, &lt;strong&gt;without&lt;/strong&gt; using GA&apos;s standard Javascript? This is probably a simple question, but I know very little PHP and even less Javascript, so here we are.&lt;br&gt;
&lt;br&gt;
I moved my lab&apos;s website to MediaWiki (&lt;a href=&quot;http://ask.metafilter.com/223181/Im-at-the-end-of-my-serverrelated-rope&quot;&gt;previously&lt;/a&gt;), where all pages are publicly viewable, but only I can edit them.&lt;br&gt;
&lt;br&gt;
I have a Google Analytics account for the site, working seamlessly per &lt;a href=&quot;http://www.mediawiki.org/wiki/User:Dantman/Analytics_integration&quot;&gt;these instructions&lt;/a&gt;.  The problem is that I&apos;ll occasionally see someone hit the site using an old link, because the MediaWiki page that they enter on is called &lt;strong&gt;/~oldlabmember/info.html&lt;/strong&gt;. I know they&apos;re seeing MediaWiki&apos;s &quot;There is currently no text in this page.&quot; error and getting confused. (Big surprise that there&apos;s no page with that name!) &lt;strong&gt;I&apos;d like to see when and where this happens so I can put up a redirect on pages where it occurs more than once.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
I know that I could create a Custom Variable in Google Analytics that would show up whenever someone hits a certain page and loads a bit of Javascript.  I can customize this system message, so I could insert this code, in theory. The problem is that Javascript (which the &lt;a href=&quot;https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables&quot;&gt;Custom Variable code uses&lt;/a&gt;) is blocked by MediaWiki as a security risk (and rightly so).&lt;br&gt;
&lt;br&gt;
I can put the script in Mediawiki:Missing_Page.js or something, but I can&apos;t figure out how to only call that when a user hits a &quot;There is currently no text...&quot; page (i.e., not calling Missing_Page.js in Common.js on every single page load).&lt;br&gt;
&lt;br&gt;
How do I get around this?  An invisible pixel tracking system would work, but I&apos;d really rather not sign up for another analytics account that uses 1x1 gifs for tracking.  Moving over ALL the old files from the previous server is even less appealing (especially since I&apos;ve already moved some into more logical locations on the new server).&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.229976</guid>
	<pubDate>Thu, 29 Nov 2012 14:37:42 -0800</pubDate>
	<category>googleanalytics</category>
	<category>javascript</category>
	<category>mediawiki</category>
	<dc:creator>supercres</dc:creator>
	</item>
	<item>
	<title>Sorting things on the fly in Backbone.js</title>
	<link>http://ask.metafilter.com/228742/Sorting%2Dthings%2Don%2Dthe%2Dfly%2Din%2DBackbonejs</link>	
	<description>Question about sorting in the Backbone.js framework. I&apos;ve been trying to learn the popular Backbone.js framework for Javascript and am having trouble understanding how it deals with sorting.&lt;br&gt;
&lt;br&gt;
I&apos;m making a database of plants. The plants can either be sorted by common name, or Latin name. A radio button would let the user toggle between the two.&lt;br&gt;
&lt;br&gt;
Backbone sorts collections of models using a function called Comparator. I can get Comparator to do the default when it boots up...a sort-by-English-name...but am having trouble making it toggle over to a new criteria.&lt;br&gt;
&lt;br&gt;
After reading &lt;a href=&quot;http://stackoverflow.com/questions/9865804/proper-way-to-sort-a-backbone-js-collection-on-the-fly&quot;&gt;Stack Overflow&lt;/a&gt; I gather this has something to do with Comparator being evaluated one time when you start up, and then not being willing to re-evaluate in certain situations. Then there&apos;s some &lt;a href=&quot;http://stackoverflow.com/questions/9201179/how-to-implement-a-multi-level-sort-in-comparator-in-backbone-js-underscore-js&quot;&gt;other talk&lt;/a&gt; about recent changes that have improved the &quot;sort by&quot; ability. But I am still having trouble figuring out the best way to use this.&lt;br&gt;
&lt;br&gt;
Could anyone help give me an example of a simple way to make the comparator toggle between two different sort-bys? Any help much appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.228742</guid>
	<pubDate>Mon, 12 Nov 2012 15:10:00 -0800</pubDate>
	<category>backbone</category>
	<category>javascript</category>
	<category>sorting</category>
	<dc:creator>steinsaltz</dc:creator>
	</item>
	<item>
	<title>Unserializing Wordpress data into JSON</title>
	<link>http://ask.metafilter.com/228221/Unserializing%2DWordpress%2Ddata%2Dinto%2DJSON</link>	
	<description>I&apos;m building a Javascript application that will do cool things with JSON data dumped from a client&apos;s Wordpress. It&apos;s working great except for parts that are in this PHP-style serialized data that I can&apos;t figure out how to deal with in Javascript. Can someone recommend a good method for this? I was excited when I discovered the &lt;a href=&quot;http://wordpress.org/extend/plugins/json-api/&quot;&gt;JSON API&lt;/a&gt; plugin for Wordpress, which lets WP produce data that is workable in Javascript applications like the one I am making.&lt;br&gt;
&lt;br&gt;
Some of the data is easy to work with, like the &quot;title&quot; field. It shows up as a nice JSON string that I can work with. But many of the other Custom Fields are coming out as serialized data, like this:&lt;br&gt;
&lt;br&gt;
&quot;a:1:{s:39:&quot;wpcf-fields-checkboxes-option-154377028&quot;;s:6:&quot;medium&quot;;}&quot;&lt;br&gt;
&lt;br&gt;
I wonder if someone might be able to recommend either a good way of unserializing this in Javascript, or plugging something into the JSON API so that it filters and unserializes PHP before it gets dumped, or a better JSON API for Wordpress that does not do this? &lt;br&gt;
&lt;br&gt;
I have been looking around on the Web and saw that there is a function called JSON.Parse that I was trying to use but couldn&apos;t figure out how to make it produce the right results or if it was what I should be using.&lt;br&gt;
&lt;br&gt;
Any help much appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.228221</guid>
	<pubDate>Mon, 05 Nov 2012 13:12:12 -0800</pubDate>
	<category>api</category>
	<category>javascript</category>
	<category>json</category>
	<category>php</category>
	<category>wordpress</category>
	<dc:creator>steinsaltz</dc:creator>
	</item>
	<item>
	<title>JavaScript question</title>
	<link>http://ask.metafilter.com/225965/JavaScript%2Dquestion</link>	
	<description>JavaScript question: Here in the U.S. myDate.toLocaleDateString () returns Thursday, Oct. 04, 2012. Can anyone give me an example of the date formatted for another locale?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.225965</guid>
	<pubDate>Thu, 04 Oct 2012 09:35:17 -0800</pubDate>
	<category>JavaScript</category>
	<category>resolved</category>
	<dc:creator>markcmyers</dc:creator>
	</item>
	<item>
	<title>What is the lowest number and what is the highest number generated by Math.random()?</title>
	<link>http://ask.metafilter.com/225305/What%2Dis%2Dthe%2Dlowest%2Dnumber%2Dand%2Dwhat%2Dis%2Dthe%2Dhighest%2Dnumber%2Dgenerated%2Dby%2DMathrandom</link>	
	<description>JavaScript question: What is the lowest number and what is the highest number generated by Math.random()?&#8212; 0.0000000000000000 or 0.0000000000000001, 1.0000000000000000 or 0.9999999999999999</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.225305</guid>
	<pubDate>Tue, 25 Sep 2012 14:41:33 -0800</pubDate>
	<category>JavaScript</category>
	<category>resolved</category>
	<dc:creator>markcmyers</dc:creator>
	</item>
	<item>
	<title>My Gut Is Saying &quot;Run&quot; but My Brain is Scared</title>
	<link>http://ask.metafilter.com/225287/My%2DGut%2DIs%2DSaying%2DRun%2Dbut%2DMy%2DBrain%2Dis%2DScared</link>	
	<description>&lt;a href=&quot;http://ask.metafilter.com/219147/My-Terrible-Mistake-to-Attend-Graduate-School&quot;&gt;I posted this question&lt;/a&gt; a few months back but would like to... ask again with a little more details. I bit the bullet and signed up for classes again, and after my first half day back, I&apos;m now at home having a panic attack regarding my decision. I&apos;m a historic preservation graduate student, and after a whole year of freaking out about what I want in life, all I really want is a job that pays well, or an incredibly marketable skill. I doubt I will get either with this degree. I uprooted my partner and toddler to pursue a master&apos;s degree that I thought would lead to employability, but after hard core market research and speaking with many, many people, I&apos;ve realized this is as big of a gamble as going for an MA in art history. I&apos;ve gone in circles trying to figure out how to make old buildings = money, and have pursued research and internships in construction (with the hope of landing a job with a preservation contractor), and if I continue, will be looking into real estate, business plans, marketing, ect. &lt;br&gt;
But at the same time, I&apos;ve signed up for a computer science course at MITX,  CodeYear through Codecademy, and have applied for a scholarship with Treehouse. My brother is a long time programmer and web developer, and is really motivating me to pursue a career in technology. I believe I would be good at it, and that the things I want in a career (creativity, growth, and a paycheck) are (possibly?) a given with this path. However, if I were to leave my graduate program, I will absolutely not be pursuing any coursework through traditional means (i.e. paying tuition, taking out loans, ect). I just want to know, is this a good idea? Had I been childless and partner-less, I would be less sheepish about changing paths this drastically.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.225287</guid>
	<pubDate>Tue, 25 Sep 2012 12:31:38 -0800</pubDate>
	<category>career</category>
	<category>coding</category>
	<category>grad</category>
	<category>html</category>
	<category>javascript</category>
	<category>school</category>
	<dc:creator>ohmansocute</dc:creator>
	</item>
	<item>
	<title>Advice on converting a python program to a web app?</title>
	<link>http://ask.metafilter.com/224838/Advice%2Don%2Dconverting%2Da%2Dpython%2Dprogram%2Dto%2Da%2Dweb%2Dapp</link>	
	<description>Hi

I have programmed on eclipse, a reasonably straightforward program in Python 2.7 that applies image filters to user selected images e.g. by turning them to sepia, black &amp;amp; white, negative, etc.  It uses Tkinter for the graphics user interface and the program functions ok.  However, I was thinking about how to turn this into a web app.  So to transfer this to an Amazon cloud server,  I understand that for the client side user interface I would need to convert the program by adding html and javascript to the client side while python handles the server side?    Does anyone know of any tutorials or other resources that are particularly good at covering web apps like this using python, html and javascript?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.224838</guid>
	<pubDate>Wed, 19 Sep 2012 05:04:03 -0800</pubDate>
	<category>cloud</category>
	<category>computer</category>
	<category>internet</category>
	<category>javascript</category>
	<category>programming</category>
	<category>python</category>
	<category>software</category>
	<category>webapp</category>
	<dc:creator>conrad101</dc:creator>
	</item>
	<item>
	<title>Can you explain why this works in JavaScript?</title>
	<link>http://ask.metafilter.com/224057/Can%2Dyou%2Dexplain%2Dwhy%2Dthis%2Dworks%2Din%2DJavaScript</link>	
	<description>Can you explain why this works in JavaScript? Someone posted this, saying the variable char will be assigned the value &quot;w&quot;&lt;br&gt;
&lt;br&gt;
var str=&quot;Hello, world!&quot;;&lt;br&gt;
var char=str[7];&lt;br&gt;
&lt;br&gt;
Since the variable str isn&apos;t explicitly defined as an array, and the characters of the string aren&apos;t explicitly defined as elements, I didn&apos;t believe it would work. But it does!&lt;br&gt;
&lt;br&gt;
Can you explain the syntax to me that makes this work? Is any string variable seen as an array by Javascript?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.224057</guid>
	<pubDate>Sat, 08 Sep 2012 10:19:52 -0800</pubDate>
	<category>JavaScript</category>
	<category>resolved</category>
	<dc:creator>markcmyers</dc:creator>
	</item>
	
	</channel>
</rss>

