I've heard that your code can run faster if you indent it in reverse, so that the compiler can process it like a tree design pattern from the very top of the "branches" down. This helps because gra...
Allowing cross-origin use of images and canvas - HTML: HyperText Markup Language | MDN
HTML provides a crossorigin attribute for images that, in combination with an appropriate CORS header, allows images defined by the element that are loaded from foreign origins to be used in a as if they had been loaded from the current origin.
The Problem with the FizzBuzz Problem — Gayle Laakmann McDowell
FizzBuzz is not the basic, sanity-check interview question that many presume it to be. Use it and you might just end up filtering out some of your good candidates who, unfortunately, suffer from the Smart Person's Mirage.
On the Z80 CPU there are so few registers and instructions that you can easily know and use them all and wish there were more of them. However, half of the time it feels like the only on you really use is ld. I imagine that if ld took half the number of clock cycles, average code would run twice as fast.
If we send a square waveform through an antenna, will we get square electromagnetic waves with electric and magnetic fields looking like squares?
Also, since there is an abrupt/almost jump in ampl...
What a fascinating bug!! My wife has complained that open office will never print on Tuesdays!?! Then she demonstrated it. Sure enough, won't print on Tuesday. Other applications print. I think this is the same bug. Here is my guess: Print to a postscript file. Observe the line: %%CreationDate: (Tue Mar 3 19:47:42 2009) Change "Tue" to anything else: %%CreationDate: (XTue Mar 3 19:47:42 2009) Save the file and it prints. Tools like evince work because they simply omit the "Cr...
In this timeless feature from the March 2010 issue of Game Developer Magazine, we revisit the mighty kludges and well-meaning hacks that are sometimes required
Using various Super Mario World glitches, I injected the code for Flappy Bird (code written by p4plus2). This is the first time a human has ever completed th...