I should know better, but recently I extended Ext.Panel and defined the plugins array as part of the object literal.
MyKlass = Ext.extend(Ext.Panel, {
plugins:[’cool’, ‘cooler’],
initComponent:function() {
MyKlass.superclass.initComponent.apply(this, arguments);
}
});
That’s all well and good, except there’s an important consequence to the above. As mentioned in the documentation, in [...]
Last July, I spoke with someone at Embarq about our bill. My goal was to reduce the monthly cost if possible. She was more than happy to help. Six months later, I notice all our packages — the multi-line, the DSL — are now 2 year bundles.
Naturally, I would never have signed [...]
Another fun usage of XTemplate with an assist from DataView’s prepareData function, let’s wrap each paragraph separated by two newlines in actual paragraph tags instead of using Ext.util.Format’s nl2br function, as BR tags cannot be styled.
var config = {
xtype:’dataview’,
singleSelect:true,
autoScroll:true,
cls:’custom’,
overClass:’x-view-over’,
itemSelector:’div.wrap’,
prepareData:function(recordData, ri, record) [...]
EmbarqCenturyLink goes down so often, I finally had to hack together a lame heartbeat script to bounce the connection if it’s down. I run the script below via cron every 5 minutes. The target IP is this blog host, because it ought to be up and reachable. I later considered using the [...]
When Intuit originally came out with its Web based version of TurboTax, they’d save your information and let you access it again the following year and file at no change, assuming you’re using the “free” option they offer. While they still offer it this year, unlike last year, they won’t pre-fill your personal information, [...]
What if there was a magical way to save California taxpayers time and money?
The state of California, which collects wage data more speedily from employers — with a Jan. 31 deadline — shows what is technically possible. With little money to finance the project, and over the objections of the tax-preparation software lobby, the state [...]
What a spectacular level of incompetence, to produce software that when it fails, does so in an open state. In computer security, the goal is for systems to fail in a closed state by default, so a breach is more difficult. Clearly Varian has a different vision for software quality:
The investigation into what [...]
I stumbled upon this hilarity from the PostgreSQL docs.
The first century starts at 0001-01-01 00:00:00 AD, although they did not know it at the time. This definition applies to all Gregorian calendar countries. There is no century number 0, you go from -1 century to 1 century. If you disagree with this, please write your [...]
Jerome a Paris makes an excellent point which I’ve long felt to be true.
But where is the “fucking nuts” left that scares the right to death and makes them want to compromise with Pelosi at all costs? Where are the people arguing for 90% marginal tax rates on the rich, and cancelling the banking licences [...]
I look forward to her losing her seat to a Republican in 2010. From HuffPo on why the banksters own us all, The Cash Committee: How Wall Street Wins On The Hill:
Then Waters chastised Kosmas for skipping out: “Even yesterday when we were engaged with consumer advocates, one member got up and left and [...]