@AbhishekHingnikar don't care. Those seriously suck. It's not even close. Yesterday I had to work with a large existing code base. Editors like vim, emacs or ST3 simply don't let me do that properly.
So, I think I need to throw in a new object in my game for this.. I'm introducing shops. the shop appears when you have X gold, and that works nicely. However, I'm a little mixed up when it comes to displaying items for sale based on conditions
We have a diamond where we wait for the page to be ready and the data to load from the server. Old developer did callbacks and used a two global flag (m_viewReady and m_dataReady) whenever a method reached the callback they'd call the third method if and only if the relevant flag was set.
Today we have
loadClientDetails().then(function(client){
reportAnalytics(client);
return initPage(client); // also a promise
}).then(function(client){
var ui = initUiData(client,window.location);
var data = loadPageData(client,window.location);
return promise.all([ui,data]);
}).spread(function(uiResult,pageData){
analytics...
return fillUIWithData(uiResult,pageData);
}).then(...
I'm working on a path planning algorithm that will be converted to RobotC. I'm trying to optimize it so that it uses the least amount of memory, as the robot it will be implemented on has supposedly as little as 15k available memory.
It may just be the nature of the algorithm used, but it is app...
hey guys I got a question... currently I have a function along the lines of this: $('.table-button').click(function() { $('.table-div').slideToggle; }... I want to, however, change the state of the text on the button to correlate to the state of the table div
my DOB is under my face. but if you look at the numbers in the lower right (hard to see) you will notice the last six numbers are my age as well. y-ymmdd
there are things they need to check to make sure A) it is real. B) the numbers all make sense.
At office : "Show them something cool on linux / windows / web" Them : "Meh" + ["apple has it ages ago -- lie","why would somebody need it", "must be unstable","microsoft is a peice of shit", "dude this is useless","Microsoft ripped off apple again", "microsoft doesnt have the balls to do it" ].random();
@qwertynl I live in SF, but am from the northeast. In Boston now, will have T-Giving with grandma in Wantaugh, parents/brother in Oneonta, college buddies in Rochester.
File:Carl Oswald Rostosky - Zwei Kaninchen und ein Igel 1861.jpg|250px|thumb|right|When viewed on the Wikipedia website, this picture reveals a hidden "Easter egg" if the user clicks on or hovers their mouse pointer over the hedgehog.
rect 271 383 680 434 [http://upload.wikimedia.org/wikipedia/commons/5/54/Bg-easter-eggs.jpg You're not going to believe this, but I'm sitting on an enormous basket of eggs.]
desc none
An Easter egg is an intentional inside joke, hidden message, or feature in a work such as a computer program, movie, book, or crossword. According to game designer Warren Ro...
let's say I drop an iframe on the page while the document is still being loaded. will the iframe begin it's http request immediately or will it wait until after the parent window finishes loading first? anyone know?
I really don't feel like building out a test for this :(
Ok, job hunt related question: I just finished my Master's in Electronic Business and Systems Management with a perfect GPA and was just admitted to a post-master's program in Software Engineering, but I don't have a bachelor's degree in an IT related field (mine is in Economics). Do you think I would have trouble finding a job as a software developer because of my lack of a bachelor's degree?
So... I have a script running the head of a page. It adds an event handler for window messages. Then it starts a 50ms interval which waits for document.body to exist and then drops an iframe (document.body.appendChild) and sets a 100ms fail-safe timeout in case a response isn't received fast enough. The iframe is hosted by a 3rd party who is sending a postMessage back to the parent window.
It's always triggering that timeout before the postmessage gets back, even though I can see in the network tab that the HTTP request for the iframe is < 35ms.