|
Pete O'Hanlon wrote: I'd either have made == behave the same, or dropped it altogether. When learning the difference in .php, I had to think about it for a while - but it makes sense in the context of these very weakly typed languages. A change I wouldn't mind adding to javaScript is adoption of .php's '.' concatenation operator. This would leave the '+'operator unambiguously for arithmetic.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I can't comment on php as I've never learned it (and no, I'm not going to start bashing php - I've just never really had the time or inclination to learn it; if the clients need it, that's when we'll invest in it).
|
|
|
|
|
Don't I love it, some a**hole decided to go through 3 of my comments (and all on different subjects) and downvote. Even programmers can be a**holes.
|
|
|
|
|
Looks like you ticked someone off. Ho hum.
|
|
|
|
|
And he did it again. Some people.
|
|
|
|
|
This post isn’t going to tell you that you should use MVC to structure your application. It isn’t going to tell you which framework to use. It’s not going to tell you to use CoffeeScript or MongoDB. But I’m going to talk about some small helpful things you can do to your Javascript application to make easier to develop and maintain. Too big to fail whale.
|
|
|
|
|
Not much information. Generic stuff should do in most any app.
|
|
|
|
|
Don't I love it, some a**hole decided to go through 3 of my comments (and all on different subjects) and downvote. Even programmers can be a**holes.
|
|
|
|
|
And he did it again. Some people.
|
|
|
|
|
Honza stated: there doesn’t seem to be a good way to manage dependencies
Shameless plug: Managing Your JavaScript Library in ASP.NET. That's a pretty good method if you are using ASP.NET Web Forms. There's another recent article for doing similar using ASP.NET MVC.
Though, including dependencies in a code comment at the top of the file, as Honza states, sounds like a good practice too (especially if you're working with pure HTML/JavaScript).
|
|
|
|
|
For each natural number n, we draw a periodic curve starting from the origin, intersecting the x-axis at n and its multiples. The prime numbers are those that have been intersected by only two curves: the prime number itself and one. The sum of all nerds.
|
|
|
|
|
It seems that we have come to a point where "Unix" has become synonymous with "Linux", and we're losing a significant in-depth understanding of how the Unix-family of operating system works. Our servers are being dumbed down... How can students learn about the history and flavors of Unix if the world has settled on Linux?
|
|
|
|
|
Terrence Dorsey wrote: How can students learn about the history and flavors of Unix if the world has
settled on Linux?
How can students learn about the history of operating systems if the world has settled on Unix?
How can students learn about computer architecture if the world has settled on the Intel 8086 family of chips?
They cannot. But they don't need to.
They can get a piece of paper called a diploma from some trade school that calls itself the Computer Science Department of a University and start coding in HTML.
|
|
|
|
|
Google's (former) VP of search products and user experience -- now stepping up to the CEO spot at Yahoo! -- shares the rules that gives the search company its innovative edge. Let's look back at some great 2008 advice from "Double M." It seems to have worked well for her.
|
|
|
|
|
The Telstar 1 satellite, which became the world's first active communications satellite, launched on July 10, 1961 from Cape Canaveral, Fla. Two days later it made history by transmitting the first global television signal from the Andover Earth Station in Maine to the Pleumeur-Bodou Telecom Center in Brittany, France. Happy birthday Telstar!
|
|
|
|
|
When we began planning how touch and new types of PCs might work on Windows 8, we recognized the need to provide an effective method for text entry on tablets and other touch screen PCs. Since Windows XP SP1, which had Tablet PC features built in, Windows has included a touchable on-screen keyboard. But those features were designed as extensions to the desktop experience. For Windows 8, we set out to improve on that model. The quick brown fox jumps over the Surface screen.
|
|
|
|
|
After a lot of theorizing, postulating, and non-human trials, it looks like bionic eye implants are finally hitting the market — first in Europe, and hopefully soon in the US. These implants can restore sight to completely blind patients — though only if the blindness is caused by a faulty retina. The first of these implants, Argus II developed by Second Sight, is already available in Europe. My lasers trace everything you do!
|
|
|
|
|
Guess if you are blind, anything helps, but that resolution is 2 orders of magnatude less than the original IBM PC screem (240x320 or 76,800 pixels). Still it should get a lot better pretty quickly.
|
|
|
|
|
Don't I love it, some a**hole decided to go through 3 of my comments (and all on different subjects) and downvote. Even programmers can be assholes.
|
|
|
|
|
And he did it again. Some people.
|
|
|
|
|
The American Customer Satisfaction Index (ACSI), which measures the customer satisfaction of business across 47 industries, released its latest report for E-business on Tuesday. The survey reveals customer satisfaction levels for social media platforms, search engines and portals, and news and information sites.Wired[^]
|
|
|
|
|
The tech world abandoned Internet Explorer before Firefox even had 30% marketshare. It was easy for us to get behind ‘the cause’ of killing IE, but that was an easily replaced software product. Today we’re on the verge of a hardware revolution, initiated by a premium brand, that may or may not trickle down to PC OEMs. How long before designers start imposing a “1x Tax” on consumers with non-Retina computers because it’s too expensive and laborious to maintain two separate asset libraries? Your old display is the new IE6.
|
|
|
|
|
Who what is "1x"? (other than - obviously - today's non-retina-displays?)
|
|
|
|
|
If people know what they're doing it's really not that hard to scale appropriately. Especially if new hi-res displays are 2x (in each axis) the pixels of current displays. Dealing with the myriad of shapes and sizes is far more challenging than going hi-res. It would be idiotic to impose a "1x" tax in any case - once you have the "2x" (or whatever) resolution supported, down sampling is trivial for images, and already done by the OS for text.
"Retina" technology on desktops is about 10 years overdue, by the way, so thank you Apple for pushing people in that direction, finally. I hope independent LCD makers take notice.
Look at me still talking when there's science to do
When I look out there it makes me glad I'm not you
|
|
|
|
|
It happened again last week. No, not Yahoo! Voices, not the Phandroid Android forums, not NVidia and not Formspring, this time it was Billabong, our legendry Aussie surf brand. So what went wrong? How does such a thing happen? It’s not quite clear yet, certainly nothing has been publicly said about root causes, but I propose that in a case like Billabong, the writing was already on the wall. In fact the signs are still all over their websites, you just need to know where to look. Clear and present Billabong failures, and why they happen again and again.
|
|
|
|