FightSkillz.com - Life, Code, & Idiocy
It's really irritating when you're searching for OGG Vorbis support in the iOS 4 version of WebKit and a tech reporter's last name is Ogg. 2 days ago

Tech

Some Sense

Wednesday, February 3rd, 2010

I kept reading on Giz about how HTML 5 takeover is imminent and each time lost a little respect for my favourite gadget blog. It's good to know that when it comes down to it some of them do actually know what they're talking about.

Gizmodo, who were some of the idiots I referred to in my post yesterday redeemed themselves by publishing a very comprehensive breakdown of why HTML 5 isn't saving anyone anytime soon 40 minutes ago, and (although they only briefly touched on it, being that the post is primarily about HTML 5) why Flash is better at doing the kind of things HTML 5 is supposed to usurp in imagination land.

HTML isn't platform ubiquitous and never will be because whoever has the monopoly is also directly motivated to keep web standards to shit. Companies are companies and the monopoly will always be a company.

Flash on the other hand is already platform ubiquitous. Write once, deploy everywhere. The only problem with flash is resource use, which 10.1 - already in 2nd beta will address.

Flash also now has the ability to run native c/c++ code, so decoding video with flash will be as fast as doing it natively in the browser. Well as doing it natively in the browser will eventually maybe possibly in 5-10 years if the web can come together in happy fairy land on HTML 5 implementation.

Goodbye Flash?? I say goodbye web browsers and hello Adobe AIR branded front ends to web services and content.

Here's a small excerpt from John Herrman of Gizmodo's comprehensive HTML 5 breakdown, although I strongly recommend you read the whole thing as it makes things clear for the tech - and not so tech, savvy:

...

The Basics

Before we get into what HTML5 means, we have to talk about what it is, and to talk about what it is, we need to talk about what it's built upon.

Hypertext markup language, or HTML, is the language underneath every web page you've ever been to. The language, along with its various complementary technologies (see: CSS, Javascript), has become immensely complex over the years, but the concept is simple. HTML is what turns this:

<u><em><strong><a href="http://gizmodo.com">Hello!</a></strong></em></u>

Into this:

Hello!

It's basically a set of instructions that a website hands to a browser, which the browser then reads and converts into a formatted page, full of text, images, links and whatever else.

Here, try this: Right-click anywhere on this webpage, and click "View Page Source," or "View Source," or something to that effect. Your eyes will be assaulted with a wall of inscrutable text. You'll see evidence of syntax, but your brain won't be able to parse it. Your eyes will glaze over, and you will close the window. This, my friends, is HTML. But you probably already knew that, because it's 2010, basic web languages are basically in our drinking water. So what's this "5" business?

Somewhere in the central command center basement of the internet, there's a group of guys who maintain the standard, or the rules, of HTML. In the case of HTML5, the buck stops with the Web Hypertext Application Technology Working Group (WHATWG), and to a lesser extent, the World Wide Web Consortium (W3C). It is through these independent standards organizations that new features are codified and presented to the public, and later—in theory—supported by various browsers, no matter what company is behind them.

In the early nineties, the W3C and a few influential torchbearers would collect various new web features thought up by different browser makers, publishing these standards with the hope that we didn't end up with different internets for different browsers. By the mid to late nineties, the standards had grown in both size and stature, then serving as the de facto guide for browser makers and developers alike. (If this sounds a bit rosy, the reality was far grimmer—just ask any seasoned web developer about Internet Explorer, version 6 or earlier.)

Despite an occasionally rocky road, HTML standards went beyond being just a record of changes in web technology; eventually they became the blueprint to push them forward. Still, standards are guides, not laws, and no browser maker has to adopt each and every revision.

The last major revision of the HTML standard, version 4.01, was published in 1999. HTML5 hasn't yet been formally codified, but it was born in 2004 and has been undergoing steady work and maintenance since. In the '90s, HTML discussion centered around topics like font coloration, or tables, or buttons, or something more esoteric. Today, a new HTML version means deep-down support for the modern web, namely web apps and video.

John Herrman - Read the rest on Gizmodo

 

The Future of Flash – Apple’s iPad

Wednesday, February 3rd, 2010

The internet is a buzz with talk of the downfall of Flash. Flash, the only web platform with 99%+ penetration rate cross platform, and 90%+ penetration rate for their latest version only 3 months after release. The platform that powers the web's content, games, and more than 75% of all interactive online media. That's now able to power desktop and mobile applications, and with the imminent release of Flash 10.1 will bring far more efficient and lower memory/ram usage. So much lighter on cpu in fact that it's able to play HD Youtube videos on mobile phones and netbooks without a problem. Yes, Flash, the downfall of Flash.

There are two main arguments to this. The first is the emergence of HTML 5. HTML 5 finally allows video and audio playback without any plugins, and canvas - a tag which allows for complex drawing, embedding fonts, etc. etc. Things Flash has been able to do for years, has a huge head start on, and does really well. Flash has supplied us with everything from video streaming to blackjack, and even website design as a whole, and yet HTML 5 is supposed to just oust the holder of the crown and sceptre when it's finalized? I don't think so. The problem nobody seems to get is that Internet Explorer still has a majority market share, by a lot depending on who you ask - and Microsoft will likely NEVER support standards because it directly counters their business model. Aside from that, and the fact that every browser that will support HTML 5(ie: everyone else), will implement it differently from each other, with different aesthetics, features, code, BUGS, etc. But even more crucial the HTML 5 spec itself is not even complete yet. It's not even finished, and it's unfinished in a deadlock between the web giants who not only can't decide or agree on which video and audio formats are the best performance wise, but also who owns the rights to implement those formats in their browser and who'll have to pay massive royalties should the true patent holders (still somewhat unknown for sure) decide to cash in. No one wants to properly look this up for a variety of reasons and so HTML 5 - supposed to bring the web together and herald a new dawn of the internet can only work if EVERYONE does in fact come together and implement it in exactly the same way; disregarding that ubiquitous HTML 5 means EVERYONE loses something, some everything.

The other main argument is the Apple iPad - just announced. Which like the iPhone doesn't support Flash. Apple uses the old "Flash is too resource intensive" argument to convince you that limiting you from the full web is a good thing. This simply isn't true. It's false. Both iPhone 3Gs and iPad could happily run the current version of Flash or Adobe AIR just like your laptop/desktop. And it's also entirely up to the developer and how they program and how resource intensive they make their flash app/widget/game/etc. The only reason, listen up, the ONLY reason Apple does not support Flash, is because the Flash platform already powers so many games and useful tools and full blown applications on the internet it threatens Apple's very business model of the Itunes/App Store. Apple wants companies to develop all their apps again specifically for the iPlatform and invest in it. If you could make a Flash app that ran on the iPhone it would also run on Android and every other smart phone. But if you invest in the iPlatform your app will only run on the iPlatform. If Apple was a monopoly the FTC would be pushing them down for their anti-competitive vindictive behaviour.

Apple doesn't block Flash support in their mobile products because they want to push innovation in HTML 5. If HTML 5 was advanced enough, or popular enough to be worth creating the caliber of applications possible on Flash, Apple would immediately configure mobile Safari to block, impede, and hinder the advancement of standards just like Microsoft with IE. In a heart beat. Apple promotes HTML 5 because they know it'll be years before it's anywhere close to where Flash is today, if ever. In fact Apple is one of the "powers that be" preventing the HTML 5 spec from being finalized in the codec wars. Apple wants you locked into their platform. Apple doesn't care about advancing the web, or a better user experience, they care about the big media companies bringing their content online through Apple's platform. Apple wants the iPad to replace your tv, radio, and other media consumption devices. They do not care about the open web.

Adobe on the other hand continues to open up the Flash platform and benefits from creating a ubiquitous platform across desktop and mobile. There are fully open source versions of their Streaming and Application servers, and free and open source ways to develop for their platform. Anyone can build a Flash application, for the browser, desktop, Windows, Mac, Linux, Safari, Internet Explorer, Chrome, Firefox, Opera, etc. etc. Build one application and deploy everywhere using an incredibly powerful, scalable, and mature toolset. Apple on the other hand - should you decide to invest in it, puts you in a position where you may or may not after months of development time and costs even get your application onto a device, regardless you'll have payed Apple to be a developer and to submit it in the first place or even get access to their development tools, and should you get through the random and gauntlet of barriers they can still remove your software from their platform and devices at a moments whim. They can and do literally remove your application from people's phones after being downloaded and used without warning to backup the data put into or created by your app. Anytime for any reason. AND if you're lucky enough to get your application through all these extra months of hurdles and costs and lost revenue you're only gaining access to one small subset of mobile devices.

It is absolutely ridiculous to think the HTML 5 is going anywhere anytime soon, let alone even coming close to eclipsing Flash in any way. Not from Apple, they don't want anything to compete with their platform for getting applications on their devices - Flash or otherwise(HTML, Java, Silverlight), and not from anywhere else because it's just not mature, complete, or will over the next 12-24 months be implemented uniformly or consistently across browsers or operating systems. Even in the event that somehow all these competitors come together to reduce their own profit margins and upset shareholders in the name of benefiting the user and happy popcorn rainbows, it will still only have the capabilities of Flash 8-ish. By then Flash Player 11 will be out and all the best web apps will have an Adobe AIR application front end and you'll use an Adobe AIR application to browse through a market place of Adobe AIR apps. Yes we're moving towards the cloud, and yes the cloud and desktop are becoming indistinguishable, but moving into the browser is only a temporary measure for some companies before they build a desktop front end for their service.

The iPad, iPhone, and iPod are toasters. Every person with an iMobile device also has a desktop or laptop for work and actually managing their digital life. Every single person I've seen raving for HTML 5 and the downfall of Flash depends heavily on Flash and its phenomenal capabilities. They're all idiots.

Ear-Drum.org

Sunday, January 24th, 2010

Ear-Drum.org is the brand new face of a project I've been working on for years. It's an RIA(Rich Internet Application), which is just a trendy and faster way of saying a powerful web enabled desktop application.

Ear-Drum.org is a music community in a desktop app. I've been searching for the ultimate online music community for a very long time and while a very few have come close to that before being seriously sold; hacked; or turning evil, none - and absolutely none that are currently available, come close to having any soul. It's as if the people behind them are robots in suits, anti-groove people worrying about a bottom line and completely detached from the depth of experience of connecting with another person through music. Ear-Drum.org differentiates itself with a heavy focus on collaboration, learning, and immersion, while also letting you promote your music and meet other musicians. It's for pros as much as it is for beginners and everything else in between. We can always learn from each other and expand on our abilities. Ear-Drum.org strives to be the rich and engaging environment that's required for that kind of deep interaction.

I've gone through lots of prototypes over the years trying to find the best platform, model, and everything else that goes into creating something like this, and the EDO(Ear-Drum.org) Desktop app is the output of that iterative design/development process.

The decision to launch in private beta was made pretty early on. It allows us to build out features and refine the experience with a controlled subset of users. There is still room in the beta so head over to Ear-Drum.org to request a beta invite. Be a part of the early days and help us shape the ultimate online music experience.

The Desktop app is cross-platform so Windows/Mac/Linux it'll just work thanks to Adobe AIR. To get Adobe AIR click here.

Spread the word! The more people that get involved the more people there are to collaborate with. You can help by letting people know about us with your Twitter account. Get the word out on Facebook, Myspace, and other social platforms. Link to us on social networking sites like Digg and Delicious or write about us on your blog. Pass on the Ear-Drum.org link and let's start jamming. It's gonna be a fun ride.

Microsoft and EC Reach an Agreement

Friday, December 18th, 2009

What happened: Europe called out Microsoft regarding internet explorer being the default browser in Windows. Europe gets what it wants and Microsoft will now show a menu when you first get a pc of several different browsers, the user will select one to install and be default.

I was just reading comments on Digg relating to the story, a group a people that are supposed to know about tech, and I couldn't be more frustrated by the complete lack of understanding even amongst those people.

The biggest problem people have with the ruling is "it's Microsoft's operating system, they should be able to make whatever browser they want default."

I would agree with that but it's a lot deeper than that. Microsoft has majority market share. Internet Explorer not only doesn't follow web standards, but the IE team seems to deliberately work to go against web standards in instances where there's no performance or technical benefit to do so - Internet Explorer is vastly inferior when it comes to performance. It's another issue entirely that they deliberately don't patch security holes because just like Facebook, identity theft and viruses infecting users' computers translates into big bucks and 3rd party businesses solidifying their position as a platform(ie: people promote the use of Windows because they know it'll make users more prone to exploitation, and so they can sell you security software to fix problems that should be stopped on the operating system level.)

Anyway back to web standards, the Internet is an open place, Internet Explorer is a political tool used by a company to force the majority of people who just use the default browser to use a shitty browser that can't handle most of the web innovations and standards (Internet Explorer 8) and that leaves users behind so that a hugely significant amount of people are still using Internet Explorer 6! It's like 10 years old for fuck sake.

Web developers and designers often have to create sometimes entirely different code and severely limit the functionality of web apps just to get it to show up marginally correct in the various Internet Explorer attrocities still in wide use for no other reason than Microsoft wants to dominate the world and aims to do it by being directly malicious toward it's users and incompatible with the rest of the web to lock it's users into a sick cycle of dependence.

The reason Europe stepped in is because it's not just the saps that by their products that are affected, it's the entire Internet. Everyone is affected by the majority of people using some variety of Internet Explorer. Easily 60%+ of a developer/designer's time goes into trying to get a website to work in IE and deciding what features to take out because of it.  Google got so frustrated they developed Chrome frame, which is an Internet Explorer plugin that renders pages for IE. They did this because Internet Explorer can't/won't keep up with the rest of the web.

It's about time someone did something, Internet explorer is so insecure to it's users, and so detrimental to the web it's difinitively malware and Microsoft should be sued for intentionally distributing it at all with their software.

An Essay on Productivity – Programming

Sunday, December 13th, 2009

http://www.paulgraham.com/gh.html

Visit the above link, a brilliant essay on productivity derived from programming.

It's strange thinking of how drastically my life has adapted to writing software over the years, especially the last year, compared to people I know who don't[read: everyone I know]. But this guy nails it. I guess there's something about programming that just moulds you into a certain behaviour set. It's like if I broke a chunk off Canada, floated it out into the middle of the Atlantic and started a civilization - leaving it for a few generations. Then mailed them an essay on small island civilizations they'd be like "Oh shit! Hey guys, someone wrote an essay about us," and you wouldn't actually have to visit the island to write about it.

What you should take from the essay is that it's all about context. The more context you can fit into your head about a given anything, the better you are at innovating. And when the technological advantage is even - meaning using a computer vs. using a typewriter, brilliance can only be judged on context.

via @AndrewWarner via news.ycombinator, via paulgraham

Google Real Time Search Event

Wednesday, December 9th, 2009

The future of search..

  • Google Goggles
  • Voice search in English, Mandarin, Japanese - more to come
  • Live mobile voice translation - between every major language coming
  • Location becomes first class object in mobile searches
  • Desktop search gets real time results integrated as animated scrolling
  • Latest(search sidebar) - all latest, including blog posts, tweets, etc.
  • Updates(search sidebar) - all status updates, twitter, facebook, etc.
  • Real time results focus on relevancy
  • Hot topics page based on real time what's happening
  • Dozens of algorithms and tech to make real time possible
  • Real time partners - Facebook, Myspace, Twitter, and more.
  • Google Googles will not recognize faces... yet
  • Would like to partner with any source of real time information - comprehensiveness = better search results
  • Plan on being/remaining platform ubiquitous.
  • Google sends billions of clicks/month to news publishers
  • "the web thrives on openness"

Google DNS

Tuesday, December 8th, 2009

I've always had a problem with my ISP's DNS servers. They're slow, but they're also slow to update. I changed a few DNS settings for a domain I have the other day and could access the new settings from my phone over 3G within 5 minutes - if not instantly. Comparatively it took 3+ days for it to propogate through my ISP. Flushing DNS has no effect on this.

So I just switched to Google's DNS, it took a second to change, and it's definitely faster. Noticeably. The question is now that Google sees every website I visit, whether I go through Google.com or not, and they can easily associate my ip address with my Google account, or not, and have even more insight into my web behaviour, what's happening to my sense of privacy, and sense of self. I'm not saying I am the websites I visit, I'm saying Google is gaining an increasingly accurate representation of me, my wants and needs, in a virtual self, and using it to simulate my own decision making in the cloud whenever I do a search. They're taking a piece of my consciousness and feeding it billions of search results. They're using me to find search results for me.

If you use Google Chrome I'd imagine(I'm too lazy to look it up now) there's some TOS clause that prevented them being aware of every site you visit, but this Google DNS stuff is a service of me sending them each website I visit for the purpose of redirecting me to a given site. Also every application I use that checks for updates will now go through Google as well.

I feel as though my laptop is plugged into the Googleplex LAN. Sort of. I feel like someone should be studying how this affects my online behaviour, or how it affects the way I see Google. But, like, set up your scientific equipment in the driveway and bring your own food.

Oh yeah, and here's how to switch to Google DNS: http://code.google.com/speed/public-dns/index.html

Length is Semi-Reserved

Monday, November 30th, 2009

I'm writing a Flex/AIR app that grabs stuff from a database and displays it in an mx.controls.list. Interacting with it you can switch the list mode, which changes the visibility of certain controls in the itemRenderer. There are currently 20 items in the dataProvider, about 8 are displayed at any given time. I noticed that switching modes - and by doing so waiting for validateList() to run, took incrementally larger amounts of time for each of the first 3 items that were in view. So if you scrolled down one item and switched modes it was a bit faster, and if you scrolled past the first 3 switching modes became instant as it should be.

After looking over the same possibly relevant lines of code several times, reading up in detail of how the validateList() cycle works and getting into the nitty gritty of list classes I realized the problem was on the database side. I had a column named length. At first I thought there was an issue where I'd set the column type as a floating point number and maybe actionscript was having a time converting it or dealing with it in an object - there's no actual reason why I thought this, but the performance issue was not noticeable if the floating point number was smaller than 10,000.

Fortunately after only a few hours time wasted I, the spaz writing this, realized that the length column was being interpreted in actionscript as the length(ie: number of children/values) of the object. So say length was set to 100,000, for every item in the list it would have to create and analyze 999,992 blank values - creating space in memory for each one, along with the 8 actual values pulled from the database.

Furthermore when I referenced the item.length value while technically the value pulled from the database, was really the number of children in the object. The small robots that live inside my computer and make it work must have though I was bananas.

I'd like this to be my formal application for the prestigious Leader of the Idiots, but since I'm obviously not equipped with the basic skill set to do anything(read: dressing oneself, remembering reserved names) I'll rely on some kind soul reading this to file the application for me and submit it to the proper authorities.. thanks.

P2P in Adobe Air 2.0 and Flash 10.1

Sunday, November 29th, 2009

Adobe is literally making it possible for me to create what I want, and cosmically in sync with where I am on the road to creating those things. I feel indebted - as I should, to the tool creators. The future will be a crazy cross platform interconnected kinda world. It's a great era to live in, and be a part of.

Google Search Stories

Sunday, November 22nd, 2009

Watching some political stuff on Youtube and saw the ad on the side was for Google. It's rare you see Google marketing their stuff, but it seems when they do they tend to use their own platforms to do it. And why not they have access to billions of pageviews and they already know that people using Google like Google.. As well as tons of other info about you from using their services and interacting with Adsense all over the web.

Search Stories is a YouTube Channel that features the Google search bar. There are already a bunch of episodes and you watch a 60 second plot unfold through a series of searches. They built a custom episode player with sleek effects and if you catch it as it's loading you'll see the default Flex busy mouse cursor. Google uses Flex, I'm pretty sure they use it for the YouTube player as well and some of their other Flash constructions but I wonder how it ties in to their relationship with Adobe. Since they offer API access and libraries in Flash and Flex you'd think they'd already have had to develop their own framework for working in Flash.. Then again maybe they just use the best tool for the job.