|
BrowserQuest is a tribute to classic video-games with a multiplayer twist. You play as a young warrior driven by the thrill of adventure. No princess to save here, just a dangerous world filled with treasures to discover. And it’s all done in glorious HTML5 and JavaScript. Dungeons and dwarves, with WebSockets and Canvas.
|
|
|
|
|
For many people, the computer industry and computers in general are seen to be a domain where big boys play with toys. What of the role of women in computing? From the earliest days of computing to the writing of the Standard Template Library, women have played an active and leading role in computer science. The following examples should quickly prove this statement to be true. An excellent, older article on some of the women who built the foundations of modern computing.
|
|
|
|
|
From the article:
[In spite of all these efforts, she must be taken to task for her insistence that black was too intimidating a color for a computer, which resulted in the use of that horrible beige color for modern computers.]
It could have been (s)lime green!
Thank God for little mercies.
|
|
|
|
|
iPhones expose the unique identifiers of recently accessed wireless routers. What possible justification does Apple have for building this leakage capability into its entire line of wireless products when smartphones, laptops, and tablets from competitors don't? And how is it that Google, Wigle.net, and others get away with publishing the MAC addresses of millions of wireless access devices and their precise geographic location? When auto-detecting network attachment goes bad.
|
|
|
|
|
That's frightening!
Attempting to load signature...
A NullSignatureException was unhandled.
Message: "No signature exists"
|
|
|
|
|
With the launch of the Wii console, Nintendo averted disaster. When the Wii launched in late 2006 Nintendo had been facing the simultaneous attack from the Xbox 360 as well as the PlayStation 3, both of which set as their bases of competition 3D graphics at HD resolutions. Many wrote off the company and called the console market a two horse race. Then, in what seemed a desperate downward leap, the Wii was launched into a different trajectory. Here's what happened. A company that disrupts does not necessarily survive.
|
|
|
|
|
|
Frustrated is right.
The webpage doesn't want to show anything.
I achieved serenity by ignoring the crappy website.
|
|
|
|
|
Yes, Javascript can be surprisingly elegant yet completely infuriating, and all on the same line of code; for a long time, it remained the joke of the programming community, the deranged cousin that outuglied even the likes of PHP and Perl. Nowadays, JS is the language in the spotlight. Here’s my attempt to collate exactly why I like working with Javascript. 4 reasons why JavaScript is awesome.
|
|
|
|
|
Javascript was never intended for what it is now used for in the web.
First of all it does not play well with HTML/XML. The "<" and ">" should not have been used in the language syntax. Could have used soemthing like PowerScripts ".lt" and ".gt". Anything in the syntax that was not be incompatible with XML.
Second it is C-like but not. It should be much closer to C if it is going to be C like, and being C like would have made it easier for all the Java and C# (and C++) programmers out there.
It does provide a lot of power, which is good, but any programming language could have once it had been limited to what made sense.
|
|
|
|
|
In this class you will learn how to use the principles of programming language design to implement your own working programming language in JavaScript. You'll be able to show off the finished product to your friends and prospective employers on a simple demo webpage. Participation is open to ANYONE for FREE as long as spots are still available.
|
|
|
|
|
This kind of problem can be expressed very concisely in functional programming languages to the point where the code fits in a tweet. Here are some examples in a number of popular functional languages. Can you pass the Fizz Buzz test in all of these languages?
|
|
|
|
|
Code commenting and formatting are all about code understandability. Code understandability is very relevant to code maintainability. So, small details about programming may help maintainability. This is a contentious subject, however. Do you agree with these rules?
|
|
|
|
|
Quote: Don't write uncorrect comments
11. Ensure grammar and spelling are correct.
I think it's time to stop with the pithy "only comment when required" with the example
int count = 0;
I think we all get that.
How about "Always add a comment that adds to the understanding of what's happening, and never assume your reader understands the full context. Ensure any ambiguity in your choice of object name is clarified".
I see things like "CreateObject ", which seems obvious, but is it creating it in-memory, or creating it and persisting it?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I will even comment the obvious, so the code has a nice flow when reading (and so I can skip over sections that I'm not interested in). For example, I might comment this:
int x = 0;
int y = 7;
int z = 100;
int result;
result = x + y + z;
That way, I know to skip immediately over the "variables" section.
|
|
|
|
|
I have a feedback cycle more than a few seconds I have already hit ctrl+right arrow and am reading my email or sitting in twitter. This however has a very serious affect on my work. I am constantly pushing and popping my mental stack of what was going on. Let's look at some ways we can make our build times faster. There are loads of ways aside from buying SSDs. 3 ways to build faster and get more work done.
|
|
|
|
|
It's safe to say that Amazon Web Services (AWS) has become synonymous with cloud computing; it's the platform on which some of the Internet's most popular sites and services are built. But just as cloud computing is used as a simplistic catchall term for a variety of online services, the same can be said for AWS—there's a lot more going on behind the scenes than you might think. We demystify the most important parts of AWS and show you how Amazon's cloud really works.
|
|
|
|
|
I have been experimenting with the HTML5 offline application cache some more over the last few days, doing boundary tests in an attempt to learn more about browser behaviour in edge cases. One of these experiments was testing the cache quota. Here's what I found. Is the web site you're browsing is downloading a suspicious amount of data in the background?
|
|
|
|
|
When it comes to cheating, chess might seem all but invulnerable. After all, the board and its pieces are out in the open for all to see. But an eruption of recent scandals has made it clear that cheating — fueled by powerful computer programs that play better than people do, as well as sophisticated communication technologies — is becoming a big problem for world championship chess. There's an app for that. Here's why a professor wrote it.
|
|
|
|
|
The next time you consider creating a cancel button, I suggest you think of it as a commitment. In my world the cancel button has two promises. Are you ready to keep them? You know, I might click it.
|
|
|
|
|
With some coworkers, we challenged each other to write the smallest possible game of Tron in JavaScript (an exercice known as JavaScript golfing). This page explains our final version (219 bytes). The game is great, but the presentation of the code evolution is even better.
|
|
|
|
|
Awesome. I am in awe.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
In Javascript, and other C-like programs, there are only two valid cases for using braces. It is when I am declaring objects and functions (and in other C derivates: classes). So what does this mean in practice? Douglas Crockford disagrees... but what does he know?
|
|
|
|
|
They're for holding your pants up. Duh.
|
|
|
|
|
If you are unemployed and sitting in your underwear in your mommy's basement and posting on the web, of course you don't need them.
|
|
|
|