Archive for the ‘Uncategorized’ Category
This was an incredibly difficult problem to track down, so I thought I’d share it here to pass on the knowledge.
In my case, I was using Telerik’s RadScriptManager, but later I found it wasn’t limited to Telerik’s controls, but to any ajax-related code. However, I point out Telerik in particular because on their forums they offered a dozen solutions that led me in the wrong direction.
The root problem is that the iPad full-screen app gives a user-agent header that ASP.Net does not recognize, so it believes that the browser does not support ajax. This results in the ScriptManager not including “MicrosoftAjaxWebForms.js” and all sort of other things related to ajax panels not loading.
So the solution is to tell ASP.Net that the user-agent in question does support ajax. Luckly we have a custom base page for all of our ASPX files, so I only had to add this in one place:
protected override void OnPreInit(EventArgs e)
if (Request.UserAgent != null && Request.UserAgent.IndexOf("AppleWebKit", StringComparison.CurrentCultureIgnoreCase) > -1)
this.ClientTarget = "uplevel";
I found this solution here. Thank you! http://blog.lavablast.com/post/2011/05/29/Gotcha-iPad-versus-ASPNET.aspx#comment
I was having a lot of trouble getting VirtualBox 4.1.2 installed on Windows 7 x64. It kept freezing at about 75%. Eventually, I’d have to kill the installation process, but VirtualBox would still show up in my Programs and Features as being installed. Here’s what I did to finally get it working.
1) I had various Citrix and Cisco VPN related products installed, so I uninstalled all of them. During one of these installs, I was prompted about a VirtualBox install being suspended, though I don’t know if that was relevant.
2) I went into Device Manager and deleted some extra network adapters I had lying around. The one that stuck out was one that was installed by OpenVPN a while back, even though OpenVPN is no longer installed.
Next time I tried the install, it went without a hitch!
I’m going to moving my blog to a new URL.
Please subscribe to http://blog.josh.mouch.name/.
This means no Flash, no Java, no Silverlight (or any other Microsoft-derived infrastructure), Moonlight (or any other Novell-derived infrastructure, including MonoTouch).
What the #**#!, you say? …as well, you should. You don’t believe me? Here is the relevant section from their agreement:
Thank you, Miguel de Icaza, for pointing this out.
It’s obvious that the United States has passed it’s prime. I’m convinced it’s mostly due to the massive flow of money from our economy to foreign economies.
That’s why I was a bit excited when I read today that Obama was considering denying tax credit to companies that ship jobs overseas. In principle, I’m not much a fan of Obama due his super-star status getting him elected, however, if he actually invoked this idea, I would worship the land he walked on.
Steps like these obviously need to be made. I don’t understand why people are so short sited to not realize that money that leaves the United States has little reason to come back. I like to think of countries (read: economies) as bins of money. People standing in our bin just keep throwing it into everybody else’s bins. This is obviously from outsourcing jobs, but less obviously, even from charities (when you see those pictures of the ruined houses in Haiti and help build it up to ten times what it used to be, no one ever thinks about the fact that the money they donate is removed from our own economy).
As a “P.S.”, I don’t much get into politics or economics, so this opinion article may seem a bit simple to those better educated in those fields.
I have a lot of debates with people about the iPhone, and so for posterity’s sake, I thought it prudent to write down my prediction of the iPhone’s future.
What most people don’t care about is that Apple has always been a very closed, very proprietary company. That is why they lost the first war against IBM. This time around, however, they hired some marketing geniuses (to whom I give unconditional kudos), which blinded everyone to Apple’s core philosophies.
Microsoft’s Windows Mobile was never much of a platform because, as I’m sure they now realize, they only put a half-assed effort into developing it. This is what Microsoft always does until they have a reason to do otherwise.
But then comes Android, which I see as a very large threat to Apple’s closed platform. Sure, it’s been here for a little while, but we’re just now seeing some real phones being built that use it. At first it will only appeal to geeks and developers because it is so open. However, it is only a matter of time before the applications surpass those that currently exist on the iPhone.
I say the Android applications will surpass those available on the iPhone because the Android is so much more open to developers. There are already 10,000+ apps available to it, and this number is bound to grow exponentially as the platform is embraced. Linux-minded developers aren’t the only target, either, due to the existence of Microsoft’s Silverlight platform that the Mono project has developed.
Because of this, unless Apple makes their platform more open (e.g. removing restrictions from their 3rd party software distribution network), I foresee the software development community embracing the open Android platform, and the Android taking, at very least, a large chunk of Apple’s market share.
Unfortunately for Apple, if history is any indication, Apple has no intention of ever making things more open.
Just an FYI, my quest to become #1 search result for the word tombstonable worked! That was easy.
Tombstoneable & Tombstonable (which is the real spelling… hmmm) has almost no Google results!
Sooo…. here I come top position! hahah…
In my previous post, I mentioned a reboot seemed to fix my network connection error when I tried to update. However, the problem was actually that the path length to Eclipse was too long. The folder I copied Eclipse to was this, which resulted in broken updates:
C:\Program Files (x86)\Eclipse-3.3-wpf
However, Eclipse Updates started working when I changed to folder name it to this:
C:\Program Files (x86)\E-3.3-wpf
I am trying to use Eclipse 3.3 (Europa) from Vista x64. Everything seems to work fine except for the Preferences dialog. The General/Key tab is missing most of the GUI the first time I view it and is blank every other time. This means that I couldn’t change any of my keybindings (key bindings).
I tried a million different things to get this to work. Finally I tried a using a beta 3.3-wpf release of eclipse, which does render the preferences correctly! Come to find out so does 3.4-wpf. However, 3.4 without wpf does not render correctly. So, something with the win32 graphics library is broken. Eclipse 3.2 didn’t have any problems, so it’s something that was introduced with version 3.3.
However, when I tried to do an update from the newer versions, I got weird connection errors:
Network connection problems encountered during search.
Unable to access “http://sitename“
Error parsing site stream. [Premature end of file.]
Premature end of file.
But from my original 3.3 version, updates worked find. In this case, a reboot seemed to have fixed something, but I don’t know why.