ProfileModule class is a new class available for ASP.NET 2.0 developers to create and manage user specific...
PingBack from http://microsoft.wagalulu.com/2006/07/26/sysk-164-aspnet-profilemodule-undercover/
At the risk of embarrassing myself, what's up with weblogs.asp.net? Ever since the delayed upgrade...
Glad my trackback helped :P
You've been kicked (a good thing) - Trackback from DotNetKicks.com
rlaneve
What kind of spec are you running?? Been wanting to get myself a new MacBook (got an ibook, very cool machine - shame it can't run Visual Studio) but my girlfriend isn't happy with the idea of me buying yet another machine....
Well, I'd say chances are pretty good that he has the 2 GHz or higher model since the "slower" ones weren't around very long. And if you have any experience with OS X, you know more memory == a good thing!
I tend to like the database solution, mostly because my company is product-based with many customers. Having our customers make backups of .config files before uninstalling and reinstalling new versions can be painful, especially if the backups aren't done.
With the settings stored in the database, this isn't a problem.
Atlas actually support XCOPY deployment.
Once you build an application using the Atlas project template, you can then copy it onto any ASP.NET 2.0 server and have it work - with nothing required to be installed on the remote system (all Atlas bits are self-contained within the application itself).
That is the reason the settings are by default added ot the app's web.config file as opposed to registered centrally on the box.
Hope this helps,
Scott
I didn't say you couldn't Xcopy deploy, I said it's annoying that there's a junky installer.
As for the config stuff, who is going to build something from scratch using the template? Why should you need the template at all? I realize that the long-term goal is to have it all part of the framework, but right now it's essentially a component/control product. It shouldn't require anything more than dropping in the assembly and perhaps one config entry of some kind, where the rest is handled automagically by defaults.
I know you've heard it from your customers before... most of us hate heaps of auto-generated crap. Presumably that's why you changed the code-behind model to something far more elegant.
The installer is here because we need you to aknowledge the EULA before you install. You can't do that with a zip file.
Yup, too many lines to add to web.config. To make matters worse, you need to check the web.config file very carefully when you change versions - they keep changing what you need to add.
I'll forgive them though because it's still a CTP.
Jeff,
I agree with you to some degree. It's nice to have a template for new projects, but I'm going to be trying to slip Atlas into existing projects in the near-term.
I think a nice solution would be to add a right-click option on the web project to "Atlas-ize this Project" which would modify the web.config file with the necessary entries. This would be much like when you debug a web project fot the first time and are prompted to automatically add the Debug="true" attribute to the web.config file. Anything like this will ease developers into using Atlas.
ScottGu...I know you're watching :) Whaddya think?
Sounds like a great idea. Given that there already IS an installer, and VS.NET supports that, adding wizard functionality to add (and remove?) atlas from existing projects just sounds like the next logical step :-)
"Atlas is relatively easy to use"
Well, that's not so easy to use if you want to do something more than just put there an UpdatePanel and some triggers. The docuentation is lacking, and they keep publishing webcasts where they just show how to drag UpdatePanels onto the webforms. I bet that now even children know how to do that!
An application I worked on previously had everything in configuration files - and not just one config file but dozens, and they were hierarchical with overriden sections and all sorts of nastyness.
I hate that project.
I HATE THAT PROJECT.
ARRGGG THE DAYMARES ARE STARTING AGAIN ARRGGGG.
(Use the database for configurations!)
Writing the config files is only half the battle and the easiest part at that. Imagine deploying an app that has critical data in the web.config. In later versions of the app you may have new config sections and deprecated config sections. Merging the applications changes into the users current config files will drive users crazy. DotNetNuke has had this problem since very early on. We tried to move all settings to the database, but the more we used features from Microsoft, the more we were forced to bloat the config file. In my mind, the web.config has become the new registry, only now my main UI is notepad.
.Net is too hard.
Throughout the entire dotnet environment the problem is the same. There are always some secret/magical, rarely documented, lines of code which have to be added to the web.config file, the global.asax file or whether the code is in the right stage of the page life cycle, in order to make things work.
The problem with dotnet is that it's "half-automated" with the remaining steps derived from some book or training video which typically point out in a footnote the tricks to make things actually work. to be productive people have to "remember" how they got it work the last time they did something similar.
Step 1 for improvements to dotnet 3.0 would be to have a tool which creates a web.config file.
The huge lack of VB.et examples is a nightmare. As MS pushes C# on to the development community they destroy the community by dividing it into two camps.
Don't get me started on "code-behind'
I think you're going a little overboard, Dee. I have apps that don't have anything but a connection string in web.config. And VS already does create a basic web.config, and even does Intellisense now so you don't have to guess tag names.
Bertrand Le Roy >> The installer is here because we need you to aknowledge the EULA before you install. You can't do that with a zip file.
Sure you can. "By opening this file, you agree to the terms of the EULA."
Microsoft's many installers for everything (sample projects, etc) are annoying...
I'm also running VS and SQL 2005, Adobe suite, etc. on a 2 Ghz MBPro in XP under Parallels. I ditched my old Dell about 4 months ago (since Beta 5 or so of Parallels) and have not looked back. Only two issues regarding performance:
- I started with 1Gb of memory, but in Parallels you have to statically size your "guest" OS memory. So I had to give XP a decent chunk, but that left OSX a bit anemic at times when I would switch back and forth. For example, switching from XP to the OSX dock, there would be a noticeable pause before the icons began to move. Same thing when pausing iTunes or something -- noticeable lag in responsiveness. I upgraded to 2Gb last month, so now I run XP with about 1.4Gb memory and 600Mb for OSX, and everything runs great!
- The guest graphics under Parallels is not accelerated. If you just run off the MBPro monitor, that is not a problem. However, when attaching a larger external monitor (I bought a Cinema Display to go with it) you start to get more noticeable redrawing and refresh lagging the larger the resolution is (this only affects the guest OS -- OSX is not affected). My understanding is that it's basically buffering the graphics in memory -- I'm not sure of the technical details, but they can't currently "virtualize" to the graphics card like they can to the processor. Supposeduly this might be fixed in the future, but at the moment, it is my only source of irritation with this setup.
Aside from the external monitor performance issue (annoying, but acceptable) it is a perfect setup and I couldn't really be happier.
Forgot to mention -- the other great thing is that I also have a couple of different flavors of Linux installed as separate guest OSes. As a web developer, being able to natively fire up IE on XP/OSX, FF on XP/OSX/Linux, Konqueror, Safari, etc. without ever leaving the comfort of my laptop (and without having to multi-boot) is... well, fantastic!
Which also brings up another nice thing -- creating backup disk images is as easy as copying your virtual hard disk file. I have a base, clean XP SP2 install with VS and SQL as a backup, and then I have the working hard drive file that I use day to day. I can backup or restore at any time just by pointing to a different hard drive file -- even better than running Ghost!
So, like I said... incredible setup!
Trouble is Jeff, how do you know when VS is going to automatically do something for you and when it is not going to do something for you.
There is no consistency for various implementations of code development. The developer is expected to "remember" or google himself to death to find out when the various combinations of automatic/manual insertions are required.
What are you talking about? Give me an example, because I have no such problems.
Good suggestion from John Walker, with which I totally agree.
Isn't one of the reasons of the installer to create a new web project type 'Atlas website'?
Which you could argue wouldn't need to be there if you can simply Atlas-ize a web project...
I guess you could always set the Web.Config properties programmatically ;)
Inherit from ProfileBase. See here:
http://fredrik.nsquared2.com/viewpost.aspx?PostID=353
What's really happening there (I think) is that a build provider is generating the code for a class that inherits from ProfileBase, based on the properties and groups set up in web.config. Personally, I think that's awesome for this sort of data. It's done as a partial class, so you can even add methods and properties. If you examine that generated code, you should be able to see what's going on and create your own. Another option would be to write a custom profile provider to store and retrieve your own object types...
Yes, looking at the generated code is helpful. The next part is getting to figure out how to do the same thing with groups within the profile. Porting the generated code doesn't work.
First off, thank you to Geoff for pointing me to Fredrik's excellent post on programmatically setting
I got the MacBook Pro about three weeks ago and I am also running VS 2005 and Sql Server 2005. I am using Parallels over Bootcamp and I completly love it!
I have not tried bootcamp so I cannot comment on if it is good/bad.
I am having a few issues with VS 2005 though that I am wondering if anyone else has had and found a solution for. In debugging I cannot get the F10 to step into as it tries to set the light of the keyboard. Is there a utility out there to map the keyboard while using parallels?
The second issue I am having is when I use a FileUpload class in my code. When I hit the browse button it does nothing and I get the Page error icon at the bottom of the page.
Anyone know a solution to these issues? Other than these issues I am 100% happy and I think I have bought my last PC!
I tried using my own custom profile class with those get/set property value implementations and gave up. The good news was in giving up I discovered they were completely unnecessary when you have your own custom profile class -- just override the save method in your profile class and make your profile provider basically have no implementation to speak of.
Thanks, Paul Wilson
While I understand that you could do that, it also makes the class entirely dependent on my provider, although at that point the provider becomes irrelevant. This app might be used with existing default SQL profile data.
I tend to use both. Web.config with <appSettings configSource="dev|test|production|etc"/> has the initial DB connection string and some simple settings.
Once this get more complicated I like it in the DB. When I am deploying to remote servers it's easier to update setttings through query analyzer than navigate folders and be a notepad jockey.
As it turns out the file upload problem was just bad coding on my part :p
And I figured out the F10 stuff, so I am good to go.
Now that I have been using this MacBook pro I will never be buying anything but a Mac from now on.
Great write up, but how did you get the P2 footage from the card to the MacBook Pro... I thought the Express/34 card was not compatible with P2?!
I used FireWire, which I agree is not the ideal situation. Still waiting for that USB2 -> Cardbus solution.
I have to say i am not impressed at all with the stock ProfileProvider. I would only use it for the most simple of applications.
The fact that it stores it's values in a key/pair string (or serialized form, can't remember) in an ntext column should be enough reason for anybody to ditch it and write their own custom provider. At the very least they could have provided a sql2k5 option to use an nvarchar(max) and preserve creating profile properties in web.config, but really, using a single column which needs parsing or deserializing every time to get a single property, lame.
I agree, my limited experience using it has given me the same hackish feeling.
Its stuff like this that helped convince me that all I really wanted was my own strongly typed profile class which I load and persist the way I want. Yes, it does "limit" things by not allowing you to just add a new member in the config file (or even programmatically), but in a real enterprise app that just isn't really going to happen anyhow. Instead I'm much more concerned with building a scalable and performant application, and I simply want to expose some user properties as part of the built-in profile class. So my properties are stored in a normalized database table so that they can used and versioned outside of the asp.net profile infrastructure if I see a need. I also optimize things for my anonymous users by loading and persisting their profile information in cookies -- maybe not something you want to do, but I have that flexibility.
Performant is not an adjective, it's a noun. :) Sorry, just one of my pet peeves.
I agree with everything you're saying. However, the reason I wanted to use these API's on my forum project is because the single biggest issue for people who need to integrate is there's no other common API. I'd like to see ASP.NET appeal to more of the audience currently interested only in PHP or Ruby or whatever. I want to put something out there that says, "Hey, you can integrate this into your own site with just some config changes."
Perhaps I should be rolling things my way instead, and have people write a provider through my own API. That wouldn't be my first choice.
I believe it is calling your SetPropertyValues method because you are using a complex type object (and not a primitive type like string, int, etc). In cases like these the Profile API can't really tell whether the object has changed since there is no standard way to tell with a nested graph of objects like this (although if you wrote an underlying provider you could diff the results with the latest serialized and determine it based on that).
There is a configuration switch in the <profile> section of web.config that allows a developer to turn off the automatic update behavior of Profile: <profile automaticSaveEnabled="false" />. If autosave is turned off the developer can use their own logic for dirty detection, and when necessary call Profile.Save(). This avoids you having to build a provider at all and would give you total control over the save semantics.
To answer Chris' question above, the built-in Profile Provider does persist settings as an XML blob as opposed to within a strongly-typed table. However, you can download this Profile Provider from the web to achieve what you are after instead: http://weblogs.asp.net/scottgu/archive/2006/01/10/435038.aspx The provider allows you to map the Profile API against either a table directly or against SPROCs (where you could implement your own shredding behavior).
For the second issue, this occurs because the LastActivityDate and LastUpdatedDate are not considered part of the profile data itself. The profile properties are defined in the profile schema, and we didn't want to require that these two dates always existed as built-in profile properties. Instead we consider these to be administrative information about the profile. For convenience we added the properties to the base profile type so that developers wouldn't have to explicitly write the code to both load the profile data, and then look up these two tracking dates. Instead we lazy load the two dates from the default provider the first time they get accessed. Realistically though we don't expect developers to normally access these values for anything other than non-admin purposes.
P.S. The benefit of the provider model is that you can swap-in implementations of your own if you want too. This gives you the benefit of a single API that multiple apps or app frameworks can standardize around, but also all the flexibility of customization if you want. So I'd definitely recommend investigating how to use the built-in APIs where possible.
Nope... I've got one line on Page_Load looking at a string. That certainly shouldn't be triggering a save by your description.
What does your overall profile definition look like?
And have you tried the automaticSaveEnabled="false" setting I suggested above?
I hacked this problem by editing one of the stored procs that the profile calls. Sorry I can't remember the name of the proc, but shouldn't be to hard to find it. The stored proc had an update for lastactivitydate, and by removing the update I managed to get users Gender without updating the lastactivitydate.
It seems kinda hazardous, but it hasn't caused any unwanted behaviour in our ~300 user app.
My daughter uses the game; I have no clue about it's workings past loading the software. She has bought the second expansion pac, but the instructions state that the previous game must be "saved" before loading the new versions. How is that done.
Thanks to anyone that can help, I am stuck.
Bill.
Check out Jason Freid of 37 Signals' response to this article.
http://37signals.com/svn/archives2/dont_believe_businessweeks_bubblemath.php
Yeah, I read that, and I think he over-reacted a bit.
Scott...thanks! :)
the panel solve the problem.
Hi Guys.
Off the topic a bit, but does any one know if it's possible to add total line in the grid?
This total might not Necessarily be at the end of the grid
Unfortunately your story is completely one-sided...
bigern, unfortunately for Microsoft, his story is wholly correct... but don't worry - you can just buy a Mac with OSX for less than a comparable Dell, a lot less, and then run all your favourite Windows apps in a virtualised window if it makes you feel more at home.
The delayed OS, the continual lawsuits, the failures to comply, SqlDataSource...dude, they weight heavily on all of us. They are a constant source of distraction. Hopefully heads will roll after the product ships, and Microsoft will finally slim down and become more agile.
One of the best features of Vista, that you hear little about, is DirectX 10. Should we be surprised that it's been going through fairly regular releases? No. Too bad that isn't being recognized and emulated.
Have you guys been sniffing glue? I am forced to use a Mac (OSX) every day for compatibility testing. I loathe my time on that machine. Yes, some things are pretty, but big whoop. I can be more productive withing Windows with a hang-over and wtih my mouse-arm in a sling.
There is no "story." This is my opinion. Last I checked, I don't need to form a counter argument for my own opinion.
You know, I was thinking after I wrote this about how DirectX is a sort of quiet success story in the Windows world. The Xbox 360 is an amazing accomplishment as well. It's not that Microsoft is a dinosaur, but its flagship product is far from inspiring.
And if you loathe OS X, I guess you're going to hate Vista since it's clearly inspired by the Mac. ;)
Uh, were there new features in the service packs? I don't recall any. Fixing what's broken hardly constitutes iterative development or good will. The OS X releases are not service packs, they actually add value to the platform.
Clearly people are willing to pay for new features and do find value in it or they wouldn't be doing it. Let's face it, the only point people wanted to get to prior to Windows XP was one that didn't include BSOD's.
And I didn't say anything about pricing advantages or the "enterprise" or any other such nonsense. That's your argument, not mine.
"Apple developers and engineers could keep deficiencies in the code simply to compel users to get the latest and greatest with next year's version."
How many features (directx 10) are, or at some point were, Vista only?
"You'd think companies would be all over that! So why is this not the case?"
Office?
I'm sorry, but to defend Microsoft here isn't right. They've acknowledge that they didn't do things right. They've acknowledge that they aren't where they want to be. VS.NET is plagued with the same slow release problems - though it's something we've been told is going to improve (remember when we didn't even know there was going to be a major fix to VS 2005/.NET 2.0?)
Microsoft quotes:
"... we will never have a gap between Windows releases as long as the one between XP and Windows Vista; count on it." (http://dotnet.sys-con.com/read/246707.htm)
"We tried to incubate too many new innovations and integrate them simultaneously, as opposed to letting them bake and then integrating them, which is essentially where we wound up."
"We'll never again do a Windows update this big,"
(http://www.informationweek.com/software/showArticle.jhtml?articleID=191600952)
I could find a lot more...especially on blogs.msdn.com or other microsoft-like blogs (mini-microsoft).
"Fixing what's broken hardly constitutes iterative development or good will."
I've worked with too many consultants and consulting companies not to laugh at this :)
"Uh, were there new features in the service packs? I don't recall any. Fixing what's broken hardly constitutes iterative development or good will. The OS X releases are not service packs, they actually add value to the platform."
This comment is proof you have no clue what you're talking about. There were several new features in XP sp2 (firewall, information bar for ie, etc). Check out sp2 for exchange as well, again there are numerous new features that are being given for free.
Microsoft also has a lot more to develop when they develop a product. Apple doesn't support a ton a management/enterprise related features and interfaces that Microsoft supports in every product (WMI, Group Policy, COM, etc). Every app has some sort of interopability. When/If Apple ever figures out this is why Microsoft is successful in the enterprise, they might be a threat to Microsoft.
"Microsoft also has a lot more to develop when they develop a product. Apple doesn't support a ton a management/enterprise related features and interfaces that Microsoft supports in every product (WMI, Group Policy, COM, etc). Every app has some sort of interopability. When/If Apple ever figures out this is why Microsoft is successful in the enterprise, they might be a threat to Microsoft."
Apple *does* have management in their applications... you can lock down a Mac the same way you can lock down a PC. You use Apple's directory service, called Open Directory (it is based on OpenLDAP, and Kerberos -- hey, sounds a lot like AD!) or you use Active Directory with some simple schema extensions (which are standard and published as an RFC), and you can fully manage a Mac -- you can specify default email server, default LDAP server, home directory location, etc. Like GPOs.
Now you may say "wait, why can't GPOs manage the Macs?" but then you have to ask if that makes sense, really, as very few AD admins know or care what a Mac is. Is that Apple's fault? Not sure... it's really down to what the business wants. But there are options available, and they work quite well.
Apple has released 5 OS upates in the past 5 years, compare to 1 (or 0, depending on how you're counting) for Microsoft. And yes, they charge for them. BUT, Apple also releases, about every 2-3 months, a service pack. Currently 10.4 is on version 10.4.7, meaning 7 "service packs" have been released since 10.4 shipped last April.
As for calling out Microsoft for the great "new features" they have added with their 2 service packs in the last 5 years... LOL. "Hey, they added a firewall!" I mean, if OS X hadn't had one built in in the FIRST release of OS X 5 years ago, it wouldn't be so darned funny. Apple is innovating much faster, and they are much more nimble. I think from a technology standpoint, there's no question who is innovating more, and who is innovating faster. What *is* a valid question is whether Apple really cares all that much about grabbing significant portions of Fortune 100 business. That's a valid question, because there are specific things that these companies want (global support standards, detailed roadmaps, ability to buy an identical product configuration for 18 months, ability to use one OS on all hardware for 18-36 months, etc.,) which Apple would consider to slow their ability to innovate, and which may in fact mean they don't want the business. *shrug*
What I find interesting is that apple glue sniffers claim as features new applications. Say Apple releases OS X 10.11 which now includes iFence and iDogChain. These will be regarded as great new features of the OS.
But Microsoft includes IE with Windows, and they get sued and yelled at for bundling.
Here's a question for you...
If you love OSX so much, and the OS is so clearly superior. Why aren't you developing enterprise applications on it? Why waste your time with .NET if the OSX environment is so superior?
Oh that's right... the OS doesn't provide the necessary functionality.
"If you love OSX so much, and the OS is so clearly superior. Why aren't you developing enterprise applications on it? Why waste your time with .NET if the OSX environment is so superior?
Oh that's right... the OS doesn't provide the necessary functionality."
Hey, I'm not a developer. So I don't really care.
As for the OS not providing the necessary functionality, I don't follow. Let's see, what enterprise applications run on OS X?
* Java 1.5, and associated J2EE stacks. So this includes JBoss (officially), and BEA Weblogic (works; not currently supported, but that's a money issue).
* Sybase
* Oracle
* Tibco
* The whole Perl/PHP/MySQL/Postgres thang. These work for enterprises -- they don't have as many Microsoft suits selling them as the end-all be-all. So fewer CTOs of Fortune 100's consider them, though they do work quite well.
Sure, OS X lacks ASP.NET. Small wonder. Then again, Microsoft creates ASP.NET and then puts a number of proprietary hooks in the browser in the name of "thin client" which don't work for any other browser on the planet, because they're proprietary plug-ins. This is no thin-client at all; it's an application which uses a "browser" as a front-end, but which loads all manner of proprietary plugins, forcing the desktop choice on all users. I've seen it numerous places. That's where the tying complaints come from.
Mac OS X is UNIX; nearly everything you can run on Linux you can run on OS X, and most of the stuff you can run on AIX/Solaris/HP-UX you can run on OS X as well. This "the OS doesn't provide necessary functionality" is complete bunk; it's only true if you actually mean "the OS doesn't provide the necessary Microsoft proprietary technology," which I could see given that this is an ASP weblog. Or you could say "hey, OS X doesn't support Microsoft SQL Server," but it does support Sybase SQL server, which if you recall was the product Microsoft bought rights to. They're both capable databases. So, I'm wondering who has the blinders on. Do you even know anything about OS X?
John pretty much backed me up better than I could myself, and particularly into response to:
"This comment is proof you have no clue what you're talking about. There were several new features in XP sp2 (firewall, information bar for ie, etc)."
That's hilarious! Maybe they included a firewall to block the fact that XP was pissing into the wind with Universal Plug and Play exposed to the world by default. I'll never quite understand that one. Let's compare the SP2 feature list (I can't find one for SP1, only bug fixes) to OS X Tiger:
http://www.microsoft.com/windowsxp/sp2/features.mspx http://www.apple.com/macosx/newfeatures/over200.html
Or heck, let's just look at the whole line... http://en.wikipedia.org/wiki/Mac_OS_X#Versions
I think Tiger was the first version that really added a ton, but prior to that we also saw useful things like Exposé, iChat (with video) and Safari. Oh, and there's this "little" suite of products called iLife that beat the pants out of anything available on Windows, free or otherwise. It comes with the OS. Where are the apps like iPhoto, iMovie HD and iDVD on Windows? Oh yeah... they don't exist.
I've got too much time, money and career invested in .NET to go switching off to another platform. And that's fine, because I think .NET, Visual Studio, ASP.NET and SQL Server are fine products. But to suggest that Windows XP is anything more than a shell to run Office, well, I think you need to take the blinders off.
I simply hope Windows Vista to be a huge success as I would hate to see myself working with Java or Objective C. I mean, you can point out many of OS X's advantages, but it doesn't have .net.
There are two clear different strategies. On one side, you've got Apple who is trying to win out the hearts of the end user, by creating nice end user experiences. On the other side, you've got Microsoft clearly betting on the developer, making it easier than ever for him to create good applications in a fraction of the time. Being a developer I prefer Microsoft's strategy as I am not a masochist.
PingBack from http://mrkab.com/macbook-pro/?p=63
there is .net on the mac. its called mono. this is the link: http://www.mono-project.com/Mono:OSX and it is open source and supports a lot of the features of .net.
i love the fact that i can do all my work on my mac--- and i can run windows, linux apps via parallels, rather than having one machine for each. so to me, my mac is bang for the money. and yeah, for all the good things apple has done for OSX it is still way beyond vista and yet there is much to be desired in fixing vulnerabilities and such in os x. os x has its strong points and vista will probably have its great points.
it is not to say that microsoft sucks--- they've done a spectacular job with the xbox for example as one comment stated above, and only if they could channel that to their flagship os and office suite.
i like my mac. i've been a mac user for only six months now. i've been using linux for seven years, and i will be hard pressed to go back, buy a PC and run vista on it. my mac lets me do all my work on it as much as it syncs with my ipod and the kids have so much fun playing with photo booth. why would i go back to the windows world?
Any chance you could post the code on here. I would be interested to see how you implemeted this.
nice
See my next post!
That's a cop-out. Look at Movie Maker. It's a joke, and it certainly doesn't support HD. They tried to do photo management just by showing thumbnails, and it's not ideal either. I think the whole monopoly case was a joke from the start, but even what they've tried has been remarkably unimpressive.
I have to say that this has been my experience as well. Parellels on the Mac Book Pro is great! If you purchased while it was in beta you could get as low as 39.99.
My next desktop will most likely be a Mac Pro too.
> That's a cop-out. Look at Movie Maker. It's a joke, and it certainly doesn't support HD. They tried to do photo management just by showing thumbnails, and it's not ideal either. I think the whole monopoly case was a joke from the start, but even what they've tried has been remarkably unimpressive.
Point is, MS is no position to start offering first-class applications bundled with the OS anymore. Everybody will whine and moan that they're being "squashed" by the big monopoly machine. Jeez, Apple can put in an HTML editor with their OS? Why doesn't Adobe complain that that'll take away sales of their Dreamweaver product?
Jeez, MS can't even support PDFs in the next version of Office without Adobe crying foul.
If you think the IT world would be a more secure, easier to use place with Apple ruling the roost instead of Microsoft, well, it wouldn't. We'd have all the same problems we have now, except that we'd all be bitching about Apple instead of Microsoft.
Some good comments being made.
I think an important point with Apple are there releases are that the don't charge a huge amount to upgrade (does add up over the five years admittedly, but you don’t have to upgrade to still have a full useable OS). How much is a Vista Ultimate license going to cost? I paid £45 (with student discount) from Apple for the full OS on the day it was released, can’t see me doing that for Vista.
Microsoft have done an excellent job with C# and Visual Studio, but they haven’t taken full advantage of the Vista release and while its good, I think OSX 10.5 will be a better product because of it.
Reason I am not developing mainly in Objective-C and Cocoa – job market, however I have the books to start reading once I get pass my current commitments, Core Animation looks like it could be interesting to work with…
Did I say that the world would be a better place with Apple on top? No, I said that MS doesn't have nearly as good a product as Apple. Don't put words in my mouth to serve your case.
Serve my case? Stop putting words in my mouth. I don't give a hoot who's on top, bottom, 3rd, 15th or whatever. I will do what I need to do to make money in the IT business. If that means making Apple apps, that's great.
Since I use Java, .NET, ColdFusion, PHP, Oracle, mySql, SQL Server and a whole pile of other tools, many of them open source, where do you think my loyalties lie?
Yeah, I'm a MS shill. That's it.
Mark my words: Apple will never be anything else other than a bit player in the PC/OS space as long as they force customers to purchase their hardware with their OS. If you can't realize that colossal mistake that Apple still sticks by, then you'll never, ever understand why no matter what BS features Apple puts into their OS, it won't make a shred of difference.
Colossal mistake? I don't think you understand what business Apple is in: The hardware business. Where do the margins lie? In hardware... iPods and Macs. I think they make great software, but that software is intended to sell hardware.
Do the math... make hundreds of dollars on a computer or a few bucks on software. Doesn't sound like a difficult choice to me.
Agreed Ben!
My current desktop now is IMac intel Core Duo. Im also regularly coding .NET 2.0/VS 2005 & Sql Server 2k5 on this box which is ran on windows XP (boot camp). So far no issue and its work fine.
Even if it is a windows app it is a really good one.
While developers have made Windows great, they have also given the platform a reputation for instability. The last thing XBox needs is to be categorized as unstable - Sony has inappriate dreams about saddling XBox with those labels.
And don't diminish what they are doing here. They have just changed the ball game by allowing anyone to develop for their console. The console market has been historically very selective about who gets access to their customers. Microsoft may not be opening things up to the hobbyist here, but they are opening things up for real software companies that might have been excluded in the past.
Have to say, that was my first impression as well. Especially since I can blog from within Word anyway.
I'm not entirely sure I agree with all of your points. Part of "opening up" means having the ability to publish and distribute your stuff. I understand that there has to be a QA process for this, but this strikes me as a half-measure at this point.
I've been using http://www.writely.com to blog on codebetter.com for a couple posts now. Works great in firefox - SOLD!
Hell, why use any other application than Excel? I am pretty confident that we can even do everything from within Excel, don't you think so?
It's great to see finally a service oriented smart client application for blog posting. Sure I can posts blog from the WYSIWYG editor in CS but it is not the same? Ever tried writing a blog post that takes an hour to write only to find out that your session expired when you tried to post it?
Imho stop whining about it and just don't use it. I don't like VB.NET but I don't whine about the fact that I don't understand why some people like it.
I completely agree, Jeff. $99 per year? That's more than I pay for Xbox Live which brings me real value without having to roll up my sleeves and build my own game. Now they are telling me I have to PAY $99 per year for the RIGHT to build on my 360? No thanks - I'll just continue building games on Windows. At least on Windows I can decide to sell or distribute them if I want to. On the 360 with XNA it requires that my friends are also paying $99 / year if they want to play my game. That's just B$.
A hobbyist that is willing to put the time and effort into working on something as difficult as writing a video game should be more than willing to pay $100/year to have his/her game available to play on the xbox 360. In my opinion the cost will help drive away all of the trash that would flood it otherwise.
This is a truly revolutionary step in console gaming. Generally even if you have the money to pony up $12,000 for a dev kit you still have to go through all kinds of hoops before they'll sell you one.
This will give serious hobbyists the opportunity to get their ideas out there for the world, and maybe a publisher, to see.
Once the real details of this come out not only will I be purchasing a license, but it will also be the push that makes me finally buy an xbox 360.
You make a pretty good point there in terms of acting as a filter. I had not considered that before.
What about LoadPostData and LoadViewState
>> Ever tried writing a blog post that takes an
>> hour to write only to find out that your
>> session expired when you tried to post it?
I've been using this cool little rich client app called Notepad to manage my content for a while now but I had been planning to make the leap and start using Word12 instead :-)
Hey Jeff I would love to know of the place youi orderd the replacement power jack from.
Could you please mail me? tillotsonn@yahoo.com thanks a mill.
Late to the game, I am having an odd issue with an HttpModule that pulls a company logo from the db and outputs the file to an html email.
Strange that the image doesn't always coincide with what the database dishes out.
The image file name returned from the database isn't always the file that is displayed in the email.
Similar, and was wondering if everyone is still out there flapping on this...
Oh, yeah. I am not using a session object, but pulling the requested url;
Dim url As String = application.Request.Path 'get the url path
from the app object, it jive beautifully in VS, but not on IIS...
Stumped...
Actually stepping back from web-based solutions for this to a smart client application is imho a great choice!
@ Darren: sure man and you are also one of those guys that programs in notepad and uses CSC to compile, right?
So I still wonder if Bill & Steve B think of that as the best or the worst 150++ Million ever spent?
Opensource the base (codeplex?) and also sell a full featured product with everything people need to use it. That way it becomes a community project at heart, it becomes a good case study of an app and end users get a lot worth paying for (including support and point release bundles).
You aren't listening to me, or don't want to. You can do all of that in a browser on a Web site. Why should I be tied to Windows?
> You can do all of that in a browser on a Web site. Why should I be tied to Windows?
You just spent the last n-1 posts describing ad nauseam how you're NOT tied to Windows. You got your x86 emulator, so you can run anything anywhere.
So why not pick the best tool-- MacOS or Windows, Web or Client? Isn't that the whole POINT of HAVING the choice?
It's not that I'm not understanding you, it's that you, sir, make no sense.
In my view, I'd go for a combination of some of the options you mention.
Give the main product away (without source code!) or charge some symbolic amount for it, say 5 bucks. And make sure that part of the T&C is to display a link back to your main site.
At the same time, sell the product with the source code for something like 20-50 bucks.
Good luck,
Wim
+1 John Zeiner
No, you just seem to think you and I are the only people who would need to use it.
That depends, was he being sarcastic or genuine?
Back in 2002 when I found out about G4, I liked it the first time I saw it. It was my favorite channel at one point. When I went to college, I found out about TechTV and I liked that channel as well. G4 and TechTV were my two favorite channels. G4 was airing in Detroit snd Tech TV was airing in Flint. Somehow I knew that one day the two channels would merge. I just knew it. When they finally merged, I thought it was for the better and thought I was going to be the best channel ever. Well, I was wrong. G4TechTV cancelled many TechTY shows and aired plenty of G4 shows. I liked the merger at first, but now I hate it. G4 basically took over TechTV. TechTV was a much better channel that G4 will ever be. My best friend liked TechTV and when the merger happened, he was not happy at all. Everytime we turn to G4, we both say "G4 Sucks".
And anyone using the Windows DDK to build device drivers or doing some kernel programming? Any experiences?
It's your absolute right to whine about someone's mistake, but it would be more constructive to go in and *fix* the error by providing a real example for the community.
You can do that using the MSDN Wiki beta:
http://msdnwiki.microsoft.com/en-us/mtpswiki/system.web.ui.datasourceview.delete.aspx
Ken
Microsoft MVP [ASP.NET]
Fire the person that doesn't understand (semi-abstract) inheritance ... :-)
Read the documentatation again .. this is a base class, that's behaviour can (and is) overriden. By default, delete is not supported by the base class .. but might be in any of the following derived classes ..
* System.Web.UI.WebControls.XmlDataSourceView
* System.Web.UI.WebControls.ReadOnlyDataSourceView (probably not in this one)
* System.Web.UI.WebControls.SiteMapDataSourceView
* System.Web.UI.WebControls.SqlDataSourceView
* System.Web.UI.WebControls.AccessDataSourceView
In fact, here is a bit of code from the SqlDataSourceView to prove it ..
Protected Overrides Function ExecuteDelete(ByVal keys As IDictionary, ByVal oldValues As IDictionary) As Integer
If Not Me.CanDelete Then
Throw New NotSupportedException(SR.GetString("SqlDataSourceView_DeleteNotSupported", New Object() { Me._owner.ID }))
End If
Dim connection1 As DbConnection = Me._owner.CreateConnection(Me._owner.ConnectionString)
If (connection1 Is Nothing) Then
Throw New InvalidOperationException(SR.GetString("SqlDataSourceView_CouldNotCreateConnection", New Object() { Me._owner.ID }))
Dim text1 As String = Me.OldValuesParameterFormatString
Dim command1 As DbCommand = Me._owner.CreateCommand(Me.DeleteCommand, connection1)
Dim dictionary1 As IDictionary = Me.DeleteParameters.GetValues(Me._context, Me._owner)
Me.AddParameters(command1, Me.DeleteParameters, dictionary1, oldValues, Nothing)
Me.AddParameters(command1, Me.DeleteParameters, keys, Nothing, text1)
If (Me.ConflictDetection = ConflictOptions.CompareAllValues) Then
If ((oldValues Is Nothing) OrElse (oldValues.Count = 0)) Then
Throw New InvalidOperationException(SR.GetString("SqlDataSourceView_Pessimistic", New Object() { SR.GetString("DataSourceView_delete"), Me._owner.ID, "values" }))
Me.AddParameters(command1, Me.DeleteParameters, oldValues, Nothing, text1)
command1.CommandType = SqlDataSourceView.GetCommandType(Me.DeleteCommandType)
Dim args1 As New SqlDataSourceCommandEventArgs(command1)
Me.OnDeleting(args1)
If args1.Cancel Then
Return 0
Me.ReplaceNullValues(command1)
Return Me.ExecuteDbCommand(command1, DataSourceOperation.Delete)
End Function
This is precisely why our community sucks compared to those for other platforms. A comment like this, which is a call for a higher degree of excellence from Microsoft, is met with "do it yourself" and "read it again" or lessons in OOP. "MVP" my butt.
I never said I didn't get it or couldn't figure it out (I already did, thanks). But if you're wondering why it's so hard to find people who really get the ins and outs of the platform or wonder why people ask really "obvious" questions in forums, it starts with poor documentation.
Jesus love him too, you should be the best writer ever can you give the list of tech Book you have published please.
Great idea. Lets fire anybody who ever made a mistake. That would leave exactly zero people with jobs.
All that anger...
You against the world eh?
Conceptually: The datasourceview might be persisted into *anything*. There is no implicit default to show an example for, so they didn't choose one.
Pragmatically: They should just have shown a simple example using a SQL data source, like 90% of real world examples will.
Ultimately: A code example that throws NotSupportedException is frickin' hilarious.
"Jesus love him too, you should be the best writer ever can you give the list of tech Book you have published please."
You might want to search Amazon before you post something like that.
"All that anger..."
How is that anger? I have a lot of strong opinions. That hardly makes me angry.
The documentation is not "fine" by any definition. Your notion that it's technically correct is silly. Put aside your superiority complex for a minute and remember a day when you were less competent. Casey is right, a few simple lines hitting a SQL database would have been useful, and not hard to write. If you're inexperienced, and never implemented an abstract class, you'd look at that and wonder where the heck you'd get the values from. I can remember those days... why can't you?
You can spout off all day long about how I should help, and I've done my share of that. That's not what this post is about. It's about demanding more as a customer from Microsoft. If mediocrity is OK with you, that's your business. But this isn't about you or my philanthropic endeavours.
The thing about firing people for single mistakes is that you usually end up firing a scapegoat who is less able to engage in the political wranglings.
I almost always share Jeff's feeling about the things he posts.
I understand the pain, but I disagree with the specific example used here.
While it is surely related to the specific things I search for in the doc, I find that this entry is average or above average in terms of content.
Unlike many entries I have come across, it has clearly had some human intervention rather than just being generated/inferred from the method name and signature. (I find the naming of things good enough that most of the time the little extra bit from the xml comments is redundant)
It says that "This code example is part of a larger example provided for the DataSourceView class". I think there should be a link right there in that sentence to that larger sample. Yes, even if it is the just back to the DataSourceView class page), it would put those snippets into a logical context.
I do not think that an example using sql would be any better if it was not in the context of a larger sample.
Ken:
I have submitted small corrections to Msdn before and will do so in the future if I spot errors.
If I have to build up a prototype (which the client is paying for) to figure out how to use an API, that is ok.
To think that I would take the personal time to take the code (is it the client's code?) and reduce it to an instructional example is not very realistic.
If I the client wanted it and would be willing to pay me to do it, I would be glad to do it; but they aren't, so I won't.
Granted - the approach of "calling" for a firing may be a bit abrasive (though I suspect the author meant it to be exaggerated), the point should be well taken. Almost all of us are "new" at something as we extend ourselves into new areas, and have to dig into MSDN docs and can be frustrating. My first stop is often Google and not MSDN simply because I suspect that what I'll find in MSDN docs is a statement of the obvious, and not deeper knowledge such as performance related details.
But what really steams me about this community is the hostility and elitism, and "titles" such as MVP don't help - how about titles such as MHP - Most Helpful Person?
Thank you, Curt, for getting it.
"I suspect that what I'll find in MSDN docs is a statement of the obvious, and not deeper knowledge "
Me too.
Fired might be a bit extreme...how about flogged.
It was a surprise to see Kevin Rose on the cover of Business Week. However, if was even more of a shock to see him on the cover of <a href="http://www.baytzim.com/digg/">People Magazine</a>, just a week after Lance Bass was featured...
MSDN....Their examples are wierd.
I am very new to dot net. everytime i check the msdn for some help, it leaves me even more confused.
I'd rather google.
<textarea usehtml name="editme">
<p>Editable content</p>
</textarea>
Yes, I also usually google first.
And I also "get it."
As well as having a valid point, this original blog post was just a way of venting. You don't have to take expressive titles literally.
+1 what Wim said
If people really use it then people will want to have the source.
My last post seemed to rile up a few people, which is not entirely surprising since I used strong language
It's about tact. I don't think just because you wrote a book and an app that you're suddenly "entitled" to say that someone needs to be _fired_ for not meeting your expectations for a small section of documentation.
I do find it amusing that you refer to yourself as a customer when you find it convenient, and a part of the .NET community when you find it convenient.
I won't even get into the "lot of pricks" comment. Talk about pot caling the kettle black.
Hmmmm... common sense would dictate that a customer is still part of the .NET community. Just because you work with it doesn't remove the consumer description.
Sorry, Jeff .. I was one of the ones who replied to you the other day. I didn't think replying to your initial blog would get your back up so much. Especially with a comment in jest about you not knowing about inheritance (I added you to my blog roll after glancing through your book, and I assumed you're not blogging on asp.net for your charm or good looks). I'll be the first to admit MS's documentation ain't the holy grail of technical documentation. It was though quite a sharp and insulting first response you gave back though, when all 2 of us were doing was either pointing out what I assumed was an oversight, or asking you to use your wisdom to aid the community. I'll end my piece there ...
For an example of how to write decent developer documentation with lots of example code .. Check out this online documentation .. http://www.popforums.com/docs/v7.5/
Having the same problems with iTunes. It stops working and when I am lucky enough to have it work, it doesn't recognize my iPod. I just love spending the money on this wonderful multimedia device and then not be able to use it.
No harm, Dave.
Don't expect any respect from me, "foobar," because I at least have the nuts to not post anonymously. If you honestly think that I really believe someone should be fired, then you havne't been reading my blog very long.
I must admint, I feel that is a good way of putting it.
What happens to me all to often is I "get so wrapped up in detail" and a strive for quality/ scalability.
During the life cycle the "Hard also comes into play as well due to ignorance and attempting to keep up with you all.
As the clock continues to tick, the "Easy" aspect comes into play while attempting to met deadlines.
What happens in the end is a roll of the dice, really depending on scope, IMO. Sometimes it all falls into place, but for me, I don't think I have ever implemented a project that 2 months down the road I am displeased with where it landed (code wise). Stakeholders are content, so that's good, but I have never been completely satisfied with the code.
Still haven't had my sistine chapel. Someday...
BTW - Never, under any circumstance believe a manager of stakeholder who says, we will give you time to "clean things up" once we rollout, "lets just get it done..." It never happens, or at least, that bargin has never been upheld for me...
Salue
RA
Yes i agree with u, i hate those morons that do not open their mind into other platform, they simply bashing each other. I love Mac, .NET, and Windows because each of these platforms have their own strengths. For the sake of the knowledge lets open our mind.
Seems like people got a little over-reactionary. Sometimes people have strong opinions, and when they are irritated, they say them in a strong manner. It's their opinion.
I'd better not post the link to my blog, if you think Jeff is a cranky person...
Wim's idea is good. I think John was being sincere.
Jeff, part of that is because of the contempt windows people pour on mac users all the time. In the past year, I've converted to OS X, running windows xp in parallels as a vm. I still have my Windows 2003 server, still do my asp.net stuff.
I love OS X. I love my mac. The user experience, reliability, and security blow windows out of the water. That doesn't make me a snob. It makes me a guy who has used windows for years, knows it well, and doesn't prefer it as a primary OS any more.
Since you need to group these reports by timespan, potentially using a BETWEEN clause, I'd suggest removing the clustered index for the ID column (assuming that's what you have) and creating a clustered index on the actual datetime column.
My suggestion will only offer some improvement if your PK column is NOT an identity column but a GUID with a clustered index on (which would be pretty much useless).
You have not mentioned what's ur database version. If it's SQL2005, then you can replace GUID with SequentialGUID with a clustered index. It's a better choice for an indexed identity column
If its SQL2000, then indexing a GUID column would be of no use. Btw, is ur tables partitioned across multiple servers in anetwork? If not why use GUID at all, why not use Identity column itself?
a) Index the time column. b)Index the indexes. c)Make the time the primary key. d)faster server.
Dude, it's really hard to read your post when you don't spell out words.
The database can be whatever, but I'd like to avoid tying myself down to any one in particular. Why is indexing a GUID column of no use?
Wow, that is awesome stuff. That's very much worth the read!
Putting a clustered GUID index isn't of any use because there is no benefit in having GUID's that start with the same characters to be on the same physical database page.
It would if you run queries like:
SELECT CustGuid,Name FROM Customer WHERE CustGuid LIKE '4451%'
The point is, you need to make sure that your ad impression records with similar timestamps are physically on the sequential database pages and are not scattered, which you can achieve by putting a clustered index on the datetime column.
That will save you harddisk IO, since the DB needs to fetch less database pages from disk to return results for your query, hence increasing performance.
By default, SQL Server will make the primary key a clustered index, which may not always be what you want. And since you can only have one clustered index on a table for obvious reasons (the records can only be stored in one way on disk), you might want to move the clustered index from the PK column to the datetime column.
I recently posted about my experiences using Visual Studio.NET on my MacBook Pro using Parallels. You can find the post here:
http://blog.1530technologies.com/2006/08/visual_studione.html
That makes a load of sense, thank you. Would it be logical, though, that as records are created, they'd be physically written next to each other anyway?
Any suggestions about getting aggregate data sets, like totals per hour?
Though intially records from one table may be written on the same DB page until the page is fully allocated, there is no guarantee that will happen. Different table records that are being inserted at the same time could end up on the same DB page.
As a result of these dynamics, database pages do get heavily fragmented overtime; the clustered index will ensure that your records with similar timestamps remain together on their individual DB pages, and that's important because that's the main way you will be querying these impression records.
For an aggregate type query for say impressions per hour for a specific ad campaign, try something along the lines of:
DECLARE @youradid int
DECLARE @yourdatestring varchar(20)
SET @youradid=1
SET @yourdatestring='25 Aug 2006'
SELECT ad.title,DATEPART(hh,impression.dateserved) AS thehour,COUNT(impression.id) as impressions
FROM ad
JOIN impression ON ad.id = impression.adid
WHERE ad.id=@youradid and CAST(FLOOR(CAST(impression.dateserved AS FLOAT)) AS DATETIME)=@yourdatestring
GROUP BY ad.title,datepart(hh,impression.dateserved)
dont you think sending in the lawyers before a reasonable discourse is a little heavy handed?
I've no problem with people protecting their property, but the manner in which digg acted given the context of their work is very surprising.
Your blog has turned to *** jeff, stop moaning.
Bah. I agree with Jeff. Most of the people posting to Digg are dumb kids who get their shorts in a bunch over everything. Read the posts under 90% of the articles, and you'll see people don't even read the articles before commenting, they digg others down for explaining something because they assume the explanation is the person's viewpoint instead of an explanation of the article, etc, etc.
Besides, look at the post on the site that was shut down:
"I thought all I was doing was adding to their success and popularity, but they don't see it that way."
In other words, intentionally trying to use the Digg name to profit themselves. Would a no-name site REALLY add to Digg's popularity? NO. But they might add to their own by trying to associate themselves with Digg.
I say good job by Digg. Read the comments in the thread on Digg. Many (most?) don't even stop to consider legal issues, the fact the person was blatantly trying to rip off Digg, etc. They think there's some moral law that gives people the right to do what they want whenever they want. Facts and law be damned. Ignorant and uneducated fools. IE, Digg regulars.
Anonynmous guy: I'm sure they asked nicely before they sent the C&D. You don't pay lawyers for anything until you have to. Run along an play.
>>I'm sure they asked nicely before they sent the C&D
proof? dont talk ***.
>>You don't pay lawyers for anything until you have to.
It's obviously a loooong time since you had to use a lawyer jeff, wake up.
Yes the kids on digg are hysterical, but it doesnt justify the 'litigate first/ask questions later' mentality .
And yes thanks, i will run along and play, sure in the fact that i have a brighter outlook on life than you. Turn off your comments if you dont want people to disagree with you.
Breaking news, digg is run by kids...duh.
You read my blog and that means you know what my outlook on life is? Er, OK. About as well as you know trademark law, obviously.
ererh, you tell Jeff to "stop moaning," then tell him to turn off his comments if he doesn't want people to disagree. Seems contradictory. He was expressing his viewpoint just as you would like to do. It is his blog. :)
The people with the offending site and the people whining on Digg are surprised that real life intervenes. Sadly, their parents haven't taught them how the world works and not to use trademarks owned by others for self-profit. Why are we defending these people again?
Personally I like the database option best. I've also seen some companies use the system.configuration block or, the now deprecated, Logging Application Block to write configuration information that can be redirected by the user to either the database or the config file as needed or any number of other sources. It's pretty slick, but IMHO overkill.
LOL! It's fun being a developer...
You wouldn't vote for them anyway!
Believe it or not, I do not, and never have, voted down party lines. You wouldn't vote for the dog catcher if he or she couldn't catch dogs, would you?
Hmm... You don't vote party lines? Why insert yourself in a political head line partisan? Then go off on a tangent like a dog chasing his tail. Stick with programming...you're better at it.
Are you the same tool that has been anonymously stalking me with every post? Would it have been more appropriate to say "a certain political party is spamming me?"
At least I've got the nuts to say what I think and use my real name.
I rest my case. For a smart guy, you sound like a paranoid child. Listen, come on over to our site: MoveOn.Org. We love your politcal comments and we can help you sharpen your skill. You don't have to be ashame of us.
Call me names then ask for my help. Well done. And still no nuts.
You have to stop playing the victim and learn to stay focus. Nobody ever asked for your help or called you names. You made that up in your own mind. The point for you to learn is to stay focus on your topic whether it is about Spam or Microsoft's documentation, be constructive and provide intelligent advice here in this forum without blaming the world. But first you have to look in the mirror and correct your behavior there.
You're telling me how and what to write about in MY blog? I don't have to give advice to anyone, be intelligent or constructive. Maybe you should start your own blog.
Do you know why the SaveViewState events fires twice for page and control?
Page: SaveViewState
Control: SaveViewState
Your blog comments appear to be suffering from a 'stupid twunt' infestation. My commiserations, stupid twunts can be a little tiring to deal with.
I disagree with your assessment entirely. You're way over-thinking this stuff. I have no problem updating data as needed. I wrote this just the other day in my DataSourceView derived class...
protected override int ExecuteInsert(IDictionary values)
{
Forum f = new Forum();
if (values["CategoryID"] != null)
f.CategoryID = Convert.ToInt32(values["CategoryID"]);
if (values["Description"] != null)
f.Description = values["Description"].ToString();
...
f.Update();
Thanks for the article.
I agree. Infestation usually grows from the source. From what I see here, the source seems to be stubborn and suffered from "stupid twunt" paranoid behavior.
I also moved all my mail to Google, and it works like a charm... 2 gigs of space to all my mail users, calendar application, gtalk chat, etc...
Pretty sure album, writely and spreadsheet is rolling in as additional services to my mail users. :)
I've been using the service for a few months now. I don't have any complaints. The service is pretty stable and the searching and the spam filter are both great.
it's easy to get the free download MPEG to DVD Burner, you can go http://www.51shareware.com/multimedia-design-video/amor-mpeg-to-dvd-burner9369-10.htm
http://www.laptopparts.com/dcjack/
I'm with you on this, but if you think about it, what does XP offer over Windows 2000 Pro?
I never bought 2000. I went from 98 to XP, and even then only because I had an MSDN subscription at the time. I might have fought it longer otherwise. ;)
You could probably join facebook using a work account. They have a lot of workplaces that you can associate with and Microsoft is one of them, since I'm assuming that's who you work for.
Nope, not a 'Softie. I work for no one. ;)
.Net framework 3.0 is a reason. What I mean is, yes you do get your pretty from Mac OS X, but what about not having to learn Objective C to offer that pretty in the form of your own applications?
I think you're confusing the audience. Most people don't write their own apps. Heck, I don't write apps for a desktop OS at all, I write them for the Web.
Windows XP Pro = $199; Windows Vista Business = $199.
What's the big deal?
If you already have XP then XP = $0; Vista = $199
> If you already have XP then XP = $0; Vista = $199
Sure but how many people upgrade by buying a retail copy? I'd say the vast majority of upgrades are covered by volume licenses, MSDN and theft.
The point I was making is that there doesn't appear to be sufficient reason to upgrade. Sure if you are buying new hardware by all means get the latest OS since your paying for it anyway.
We should get Vista for free. They are refactoring bad code and we should pay for it just because it comes with a new gui?
When XP came out in 2001, I bought it for $199, but I also got a bunch of free stuff. Like 512 Meg RAM upgrade, free Scanjet and maybe even a $50 rebate. I don't remember now, but it turned out to be a good value.
The big question is whether I want the Business or the Ultimate? I mean are the new media features compelling enough for me to care? Do I still need or want to maintain my own domain at home?
And then as we learned with XP Pro, if you buy the OEM version you get it for about half the price of the upgrade. So there's always the possibility of a computer upgrade.
Press F7 to shift the computer display to an external monitor
Maybe you can sign up for an alumni e-mail account?
I can not forgive valve this transgression of trust. I am so angry that I let myself be tricked into this steam crap. I'll have to spend a week in the registry cleaning this dung off my CPU.
Tankado that just can't work.
I have a similar problem. I have had the part resoldered once and replaced once, but it keeps breaking. I am told that I have two options: Replace the motherboard (almost half the cost of a new laptop) or have them hardwire an external power supply jack (rather than the current internal one) into the computer. Does that sound bogus? I am tired of throwing money at this thing!
TextBox email = (TextBox)TopNav.FindControl("EmailTextBox") as TextBox;
if (email != null)
email.Text = "blah";
}
Have you ever tried openBC, similiar to linkedIn, but with more public details... I bet facebook is similiar.
"Page.ClientScript" does not compile in the assembly
Heh, your blogpost was right above Pascal L's blogpost who said "Apple innovation is losing grounds very fast" :)
Apparently it's a matter of taste ;)
Jeff just to say I am an Apple fan ;-)
But I don't see anything new in the iTV, just another streaming box. Also a lot of people echoed that the box as it is now (and of course they can change their mind which I doubt if they want a release early 2007) will accept only iTunes store content, so clearly no other codecs. On my Xbox 360 today I can stream avi! But anyway that was not exactly what I was trying to say in my post, it was more about the lack of real innovation from a company I used to admire for their 'unconventional' way of thinking. But of course it's your right to think different ;-)
But it's NOT just another box. What you're describing as a flaw is exactly the reason it works... it's idiot proof and works with iTunes. It also works with thousands of different video podcasts, your iTunes music, your photos (and iPhoto), etc. You can't forget that they already dominate 75% of the MP3 player market, and people like the system.
After reinstalling OF on a whim i was shocked to see that i had to get steams permission to load each new section, what a load of bollocks!!
Over the past few years, I've written about career and happiness a great many times. (And honestly,
I was going to post anonymously but, I decided that I don't care if certain people know this. It's my life and it's how I feel; I think that I should be honest.
Anywho...
I'm starting to feel that software development is pretty meaningless. Relax guys. I'm talking, "for me" here.
I'm in the same boat (sans revenue generating sites) and think I'm about at the end of the line with my development carrer. Many people think that I'm crazy for wanting to end my carrer because, they tell me, I've actually become a fairly decent developer over the last ~8 years.
There are so many things I want to do with my life and surprise, surprise; sitting behind a desk for 8 hours a day isn't one of them. I've come to the realization that I'm only enabling other people to live out their dreams. Not living my own. I'm seriously considering a huge career change as soon as I can wrap up what's on my plate at the JOB.
Whatever path I decide to take, I feel it's important for me to not burn any bridges. I would advise to you the same
I for one really appreciate your frankness even if it isn't all cheery and nice. It make it feel more like community and less like the glee club. The people who are comfortable in a gleeb club don't really understand people who are profoundly self-critical.
If I had side projects that cound reliably generate enough revenue to pay the bills, I sure would not be sitting here today, I would be working on some ideas.
I'm asking this question myself having moved around to a few jobs in the past few years. I'm currently of the opinion that it's really about balance between personal and work life. I've done the whole 80 hour a week coding lifestyle thing and for a while it filled a void, my current job requires me to be a lot more driven and proactive in the kind of work I do (as opposed to having a fixed project and deadline). Having to 'think for yourself' is definetly an acquired skill and it took me a few months to get a grip on it. I have to say though that the easiest bit about developing is writing code for me, just zoning out for 8 hours is pretty satisfying but it really doesn't make me happier (I think of it like an alcoholic bender...at the time it's great but it doesn't change anything really).
I did seriously consider doing something totally outside of coding for a while but it's one of those decisions which would be really easy to make and hard to undo...believe me I switched careers about 8 years ago form Psychologist and part time coder to full-time coder and it wasn't at all easy.
So in short (or rambling length...whatever:-)) I have no idea what makes a coder happy (maybe a lap dance but that's horribly impractical), the closest I've ever seen in print to examining this dilemma is Microserfs by Douglas Coupland...which basically says 'get a life'...In the end though the best coders always seem to have the least life outside of code...and maybe that's the choice we all have to make.
Sorry for ther diatribe...I really should get my own blog going again...
I also appreciate the honesty and "this is really what i think"-ness of your posts.. hey, it's your space, do with it as you please...
Anyways, on topic of what makes a developer happy.... i know i am extremely happy at my job and each and every day i walk into the door to my office it's going to be a challenging day learning new things, i couldn't ask for anything better to do with my work life.....
Thanks Frank, but that solution is quite ridiculous. Not your fault, but the LoginView concept seems broken IMHO.
Good read that is exactly opposite of this blog post
http://www.extremetech.com/article2/0,1697,2015836,00.asp
He's right in a lot of ways, most of that stuff is "catch up" or "old news"....
Not that i personally think that's all that bad a thing, "first" doesn't always, in fact rarely ever, mean "better"..... and i cannot wait for my new 80g iPod to get here on Tuesday :-)
I love the topic and how you present it, really personal and honest. I think a lot of people are going through the same thing ... any way you could continue with a follow up post? I'm interested in more of your thoughts ...
I've been in a coding slump for quite awhile. It seemed like I couldn't finish anything. Then,
My one year old HP Pavilion Laptop suddenly started showing bad power jack symtoms any one has a suggestion? please
I know what you mean. I've started so many web concepts before, and never get around to finishing most of them.
I will blog about one I recently finished though, to do with photography...
As long as it is out there, and from then on everything becomes maintenance, support and adding in new features. Much more exciting then not having deployed yet! And when people are using it, it's a great incentive to improve.
Agile to the max!
Jeff, one comment on your Nerd Lifestyle blog - make the font larger. I'm getting old. :P Seriously, this blog is much easier to read than that one. It looks like you used a different font or at least a different sized font. The one on this blog is the minimum you'd want, the one on Nerd Lifestyle makes my eyes work too hard. And that's on a mac - it hurts even worse in windows using IE.
Otherwise I'm enjoying it, hence my constant stream of comments.
I loved the beastie boys six years ago, i love them today, i will ALWAYS love the beastie boys
I am using Component Art Grid control in my project. I have defined a server template in a Hierarchical grid in which i have used a DropDownList control. My requirement is that Whenever I change dropdownlist, the record in the down level grid should get updated. My client doesn't want to use any edit item template to edit and then update. He want this to be happen, in the present item template only. When I try to achieve this, I can't find any help or resource for this components from web. Can anybody help me out for this?.
I predict they open this thing up a lot more, and then the .edu kids will start bailing. I have an account through my place of employment, but I've barely looked at it. To be honest, I don't find the concept all that compelling. But I'm also about 22 years removed from being 18 and in college.
Is that hair on the guy's arm? Or a sweater?
I'm pretty sure that's hair.
I always wondered what he did before the Wonder Years. Oh c'mon, it's close enough.
http://www.bonusround.com/book4-4/images/Blue_4167b.jpg
quick question: does anyone know how the localhost will work?
Currently we have several projects in a folder "c:/inetpub/www_root/projexample" which i can preview through the browser with localhost/projexample
do i need to store this in the macs web server/documents folder?
essentially i want to be able to see the project on both mac and pc browsers using localhost.. is this going to be possible?
clear as mud right?
The virtual machine has an IP address (look at the VM settings). Use that, not localhost.
Fun piece, but how could you forget those precious niche sites that cater specifically to the nerdy/brainy crowd, like Intellect Connect: http://www.intellectconnect.com?
Match and the other biggies have a cross section of all types of singles, but for pure, unadulterated nerdiness, go to the sites that specifically hunt those folks down. :)
Honestly, do you want to marry someone just like you though?
I'm using LinkButton almost exclusively as well. Unfortunately Scott's suggestion only works in IE and not Firefox because there doesn't seem to be a Click() function on HTMLAnchorElement (this is what LinkButton are rendered as). Sadly looking at the W3C docs it looks like it isn't a requirement. Only HTMLInputElement is required to have that function.
Have you considered using FolderShare?
https://www.foldershare.com/
Check now.. u can join facebook with any account.. its open
Yes, if you read more recent posts you'd see that I know that.
Hmm, as i read this blog post i was thinking "this computer sounds like it costs an arm and a leg"... surprisingly i see it's only an arm ($2500)... nice purchase...
I'm waiting until the notebook's come in Core 2 Duo, then i may pull the trigger on my first Mac purchase
I don't remember where I saw it now, it was a mainstream PC rag's Web site, but the difference in performance between Core and Core 2 isn't enough to merit waiting. Do it now. ;)
hmmm... Same with me Jeff. I have learned so much reading these blogs and article that I like sahring my knowledge with the comunity and hence my website and blogs
why would you want to be an mvp? all you do is whine about ms. go play with your new mac.
Why not just get a firewire external hard drive and use SuperDuper! or something to back up to? Once Leopard comes along, the external drive should work great with Time machine anyway.
Some of the MVP's have been real helpful. The ones who dwell on their title tend not to have been. Overall, I'm not a huge fan of the whole MVP thing. It seems to go to people's heads.
Because that doesn't help me if my house burns down.
Just to add: it has to store such a high capacity from the outset because the neighbourhoods are dynamic from the beginning (obvious i guess).
Random stoppages - you gotta love it. I've just had to reinstall EVERYTHING after the Athlon 180+ I'm using as the music server stopped in the middle of a tune. 80GB IBM desk star was clicking (oh boy!) so I got a new 120 GB Seagate and waded in. After I got by the bios flash and the chipset (and every other thing that would prevent the "normal" W2K OS install to this size hard drive). I made the mistake of downloading iTunes for Windows 7. Things haven't been right since. I cleaned that off, saw a post about always installing QuickTime by itself before hand, and found iTunes 6.0.5. So I installed QT from an adobe disk, then installed iTunes 6 and it was okay - for about 20 minutes.
I never know when it's going to stop. I have the same mp3 files at work (and I reloaded from that external HD, just obe sure it wasn't corrupted files) but it still stops whenever it wants to, and God forbid, don't be online when it happens - the noise just might take out a preamp or amp or speaker set somewhere.
I'd like to know why, if anybody comes up with a cure...
This news might apply to your new computer:
http://feeds.engadget.com/~r/weblogsinc/engadget/~3/35313828/
arrgh, now its just showing star trek 24/7
Man, that namespaces thing is a real gotcha.
ASP.NET, especially the disaster that is ASP.NET 2.0 is an overcomplicated attempt to bring Windows Forms development to the web. Rails at least has simplicity in favour.
ASP.NET is a disaster? In what universe?
Jon,
"Obscure command line applications"? You mean rails, script/generate, script/destroy, script/console, script/server, script/breakpointer... I bet you could make an accurate guess as to what exactly those "obscure commands" do. They are no more obscure than csc.exe, or msbuild.exe. They are the tools that come with the framework to work within the framework. Sure, you can push a button in VS to get a nice dialog to access the settings for those. Thats what and IDE does, and thats what Radrails and Saphire in Steel do, too.
You absolutely do NOT have to mix code with markup. In fact, I would dare say that your are encouraged to put far LESS code in your rails views than in your aspx files. In Rails, your code SHOULD go in your controllers and models. But there's nothing to stop you from putting them in your view. Just like there is nothing forcing you to define your SQLCommends for a GridView in your code behind. You're free to declare these in your aspx file, if you so please. Its about discipline, weather it is Rails or ASP.net.
Learning a new language to use a new framework, at least for me, has paid off just as quickly weather it was C# and ASP.net or Ruby and Rails.
http://atlas.asp.net
...That's pretty AJAXy to me, and idiot proof if you already get ASP.NET.
Not ready for production? Is http://local.live.com/ not in production?
This is ridiculous . I mean, seriously...I'll admit it, when it comes right down to it, I'm a Microsoft
I'll never understand that either, how VS 2005 is a "disaster." Compared to what? I use it every day, and it's not very frequent that the IDE gets in the way of development.
I didn't ask you for your opinion, I asked if it was being used in production. You can go on all day about whether or not you think it's ready, but you haven't used it, so your opinion means little to me.
Atari suck(ed) anyway... but yeah, this one man band should take them to the cleaners.
Don't get your hopes up on Team System. We've been using it on our project and it's another steaming pile. I can't tell you how many changes have been lost because the system claims to check it in, but doesn't. Then when get latest is called, it overwrites the changes with the old version. On top of that, some devs can't get latest without choosing to get specific version and overwrite; even then, it doesn't always get every file.
Have you looked at this provider implementation I pointed to here: http://weblogs.asp.net/scottgu/archive/2006/10/13/Tip_2F00_Trick_3A00_-Source_2F00_Documentation-for-Simple-ASP.NET-2.0-SQL-Providers-Published.aspx (the direct URL to the project is here: http://www.codeplex.com/Wiki/View.aspx?ProjectName=AltairisWebProviders)
It shows how to build a simple Membership Provider that has total control over the schema layout.
If you are trying to integrate on the backend with an existing schema you might find it easier to plug-in with this provider implementation.
"I'm done trying to be clever and use ASP.NET to its fullest just for the sake of doing so. Maybe I've been drinking the 37signals Kool-Aid, but more simple is better."
We've found the same thing overall. If you're building something specific, make it specific, don't generalize every piece of code, etc.
That said, I'm curious about the rest of your comments about membership. We had to change how profile worked to make it easier to query (i.e. our own profile table with all the fields as real fields instead of all clumped together), but we've found membership overall to be great. What specific problems are you having? I understand your problem with joins, but I'm curious why that can't be solved in SOA by retrieving user information seperately from your main query (that's what we do). Anyway, I'd love to hear what issues you're having.
Human: Imagine for a moment you're building a Facebook clone (or any other social type of site). Your "friends" exist as a number of User ID's in your database. If this was a product where you wanted to give others the ability to roll with their own Membership provider, how do you turn that list of ID's into a list of names in a provider that you don't know anything about? Membership has no way to take that data set and match it with its own data. Even if it did, it would be much slower than a simple join.
Scott: The provider's implementation doesn't really matter. You're still stuck with those boundaries unless you want to make your provider dependent on the bigger picture schema of your application.
"it would be much slower than a simple join"
Agreed, but SOA could still fix the problem (even if a little slower). Still though, implement caching and I don't really see a big problem.
I'm curious about your takes on this, because we're about to do the same thing, where our membership is completely seperated from all the data (two different sites with a single membership) and we plan on using asp.net membership. I still think SOA is the answer for this type of thing though. Maybe we'll just have to agree to disagree. ;) I just don't see how not using membership and rolling your own will really be an different.
What I'd typically recommend for systems like a PopForums where you want to be able to easily integrate it within any application, would be to create your own Friends/FriendRelationships tables that you use to manage people relationships specific to PopForums, and have those relate to the application's authentication using a username string.
This avoids you hard-coding in a specific user management implementation, and also means that you can easily use it for both Internet (where you'd do forms-auth) and Intranet (where you'd probably do Windows-auth) solutions. I'd give this advice regardless of whether you use the Membership provider API or not.
If you wanted to integrate with the Membership API and perform richer database JOINs on the backend, one option to look at is to use the ProviderUserKey property that the Membership API exposes for each user. This typically exposes the PrimaryKey value that the underlying membership provider is using to store the user within a database.
You could use this as the relational key if you wanted to setup PK/FK relationships between your tables and the user table, as well as to perform JOINs or searches on the backend. It also guarentees uniqueness (whereas in theory a user management system allowed someone to create, delete and then re-use a username - the UserKey would always be new).
For example:
// Create User
MembershipUser member = Membership.CreateUser("scott", "password");
// Retrieve PK from Membership Provider table
object userKey = member.ProviderUserKey;
// Lookup the key for another user via the membership API
object userKey = Membership.GetUser("anotheruser").ProviderUserKey;
// Lookup a Member by their ProviderKey
MembershipUser member = Membership.GetUser(userKey);
This enables you to maintain a provider based user abstraction, while still getting lower in the schema to perform more advanced scenarios.
I'm not using the membership API's for my upcoming forum product either.
Besides the points already being mentioned, I'd want people to easily integrate the forum software with their existing authentication mechanism, even if that doesn't use the ASP.NET 2.0 membership functionality.
Imho you shouldn't use the built-in membership provider as a golden hammer. If the features you need can't be find in the built-in membership provider just consider implementing the Service Locater pattern yourself for your needs.
Amen to the original post.
<rant>
Most of the problems come when you want to do anything other than what is shipped in the box. For example, if you want to write your own membership provider for a different datasource, you cant just simply plugin a different IDbConnection, IDbCommand, and specifiy a different CommandText for each method. Instead, you have to override or rewrite the entire method.
This is fine for some of the simpler methods like GetUser() et al. But becomes problematic around login, CreateUser, and ChangePassword because you are now 100% responsible for doing the right thing(s) for security such as password hashing, salting, and encryption. Also, you take on responsibility for cookie management and any caching. Ultimately, this raises the bar significantly for the average developer wanting to simply connect to a legacy data source, xml file, or a simple Oracle Db.
And in the cases where the developer DOES decide to take-on this endeavor, 90% of the examples I have seen are complete failures around proper security.
And, to make things worse, much of the original SqlMembershipProvider functionality around this area is only available via internal sealed classes that are only available if you want to risk reflection or Reflector.
This is just the tip of the iceberg...dont get me started on the RoleProvider and its inherent complexity to extend - or better yet, lets talk about what happens when you DO extend any of this stuff, and you can nolonger use all the nifty Login, CreateUser, SiteMaps, and other controls that depend on Role & Membership.
When ASP.NET 2.0 was shiny and new, I thought it was awesome, but after several projects where I have had to apply numerous hacks for even minor extensions, now I too share the delight in knowing that its all just a dream implemented by MS interns...
</rant>
I have to say the times that I've felt like this, I've figured out it really wasn't .NET's fault- it was mine. I've been writing a custom membership and role provider against a client's horribly designed and overly complex security database. By constraining me to overrideing a narrow set of methods, I've been able to focus on the important things. (And yes, I can still user Login, Sitemaps, authorization, etc.) If this system can be used, then pretty much anything can be. The best part is this can be used to wean them off of their crazy system at some point in the future.
This is the converse of what CodeSniper's saying. He sees this as bad- the developer could fail at properly securing the custom provider. Well, if that's the case then the developer will certainly fail when trying to roll their own.
IMO it's the best of both worlds: out-of-the-box system for simple projects, full customization for others. Not trying to be smug, but I'd really exhaust all the resources about ASPNET Providers before chunking them.
Human: SOA doesn't work well in anything that requires significant result sets that are derived from other sets of data, like the example of "match these hundred ID's with a table of users and return those complete records." In a non-real-time situation that's not bad, but in a Web app, the performance just isn't great no matter how you implement it. (It also happens to be above the heads of some of my audience, which is another consideration.)
Scott: I did think about what you suggest, but I'm not comfortable with data that is totally unaware of its parent data (i.e., user names).
Gabriel: Again, which provider you use, whether your own or the built-in, doesn't matter.
Lance: Right on brother.
I'm not saying that Membership is inherently bad, it's just not for me in the sense that it's too much work to implement when you start doing "clever" things with your app.
Scott,
Looks like maybe a whitepaper or a blog post is needed about how one would go about finding the best solution of using the built-in membership database along with custom membership tables using the ProviderUserKey as the linker, like you suggested. Maybe this would clear up some of the issues.
IF YOU CAN GET ME THOSE VIDEOS AND INTERVIEWS WITH ALL THOSE BRIELENT PEOPLE THAT WORK WITH MICROSOFT OR ELSEWHERE THEN I WOULD STOP GOING THERE START COMING THERE. I MEAN WHAT IS YOUR POINT? IT WORLD HAS ALWAYS MISSED THIS KIND OF COMMUNITES, CHANNLE 9 FILLS THE GAP.
Way to comment on something more than two years old!
You pointed that out very nicely - there is a big problem with the holw SOA / Provider approach.
It still makes sense form the OTHER side. We use a CMS (we actually maintain and market one), and for us the provider model means we can expose our user database to ASP in a standard fashion. This Scenario is 100% the other way of what you did - but it allows people to just put up a page that is not CMS managed, and have access controlled from the CMS' user database. It means all the standard controls can work.
But the moment you try to integrate multiple services from an SOA approach - you basically are dead, performance wise. It could work if SOA wout run around an object protocol (with a standardaized interface regardless how many objects you really use), and would have a query implementation. But as SOA works around function specific methods...
...any retrieval that needs to merge data from multiple services, even on the same machine, is vastly inferior from an integrated O/R mapper object model, which can go down to the database into what can be a 64kb large complex sql statement. The SOA alternative has to pull the data from different services (hoping there are at least mass-retrieval methods available, not just "get me ONE name for a user) and perform a client side join.
What happend to the notion of "layer interfaces have to be non-chatty"? It is forgotten.
In most cases, the database already *is* exposed in a standard fashion too... System.Data.SqlClient! :) Last year I came into a "fixer upper" project where everything was a Web service. The app and the SQL Server were on the same box! SOA makes sense when you have different systems that normally speak different languages, but I have no idea what that was about.
In my last post, I talked a bit about how trying to use the Membership API, with my own provider, was
Is it any surprise? This is .net hud we're talking about here...
Our upcoming free forum system which was started back in 2002 (and now in the process of being updated for asp.net 2.0) has its own membership/role system as well and I looked at the ASP.NET 2.0 version and I didn't see any reason to rip out our own role / membership system for the ASP.NET 2.0 one, especially because what's in place works fine and is easily extensible.
However it depends on the design I think if the membership / role system is really not usable with a data-access layer. For example, in a search routine, you can push down from the application core the list of forums a user can see based on the role rights the user has, which where loaded when the user signed in. You can then use that list of forums to filter out the threads in forums the user doesn't have access and therefore the membership data can be used without needing to join.
IMHO joining with role data to perform any action is too slow and inefficient as you know way before that if the user is able to do things or not and you can bake in limitations on forums and threads for example through filters based on the role rights read for the current user.
At the price of Vista. And the performance LOSS while playing games. And now this?!?
I'll stick to my "already over bloated" copy of XP.
Don't find the reason why i am reading your one liner blog with a link to smebody else blog
and also i don't see why that 6 points become the six reasons for not buying the vista
I guess if you're really "someone@microsoft.com" then you're part of the problem, eh?
what an idiotic article, referenced by an idiot!
Well thought out, intellectual comment.
Dont really see a reason in both the article and the comments
So everyone is OK with these licensing agreements? Phoning home, can't transfer to a new machine, revocable media licenses, etc.? No wonder they can get away with such ridiculous terms.
BREAKING NEW ALERT!!
HOLD THE PRESSES!!!
RECEIVING TRANSMISSION:
CAPTION: Company living up to it's responsability to shareholders.
Confirmed reports on the internet have uncovered a campaign of terror by one of the largest companies in the WORLD. The acceptable license agreement which'll accompany Micro$oft's fortcoming operating system, Vista, will be...well, evil. Micro$oft, which is well known for it's use of rabbit blood throughout all campus printers, is said to have hired the best legal minds to finally quash all rebellion and assert itself as supreme leader.
This legal team is said to include: the Emperor, Mr Burns, Dr Evil, a ghola of Napoleon, two Formics and The Joker.
Specifically, the license agreement will help protect copyright laws and intellectual properties. This outrageous decision puts Micro$oft in a unique position: doing exactly what companies have been doing for countless of years.
You're clueless. When companies sell product that doesn't serve the customer's needs, they fail. The only reason Microsoft can continue to get away with it is that they have a monopoly. Fortunately it's slipping in the OS department, but clearly they're still not interested in listening to their customers. Again, it's sad that one part of the company can get it while others don't.
If I pay a few hundred bucks for a software product, I think it's a reasonable expectation that the company is not going to keep bugging me about it or restrict what I can do with it. If I want to keep putting it on new machines, provided it's only one machine at a time, I should be able to do so because I paid for it.
So if someone can come up with something better than a lame attempt at humor or a one-liner, with a point-by-point rebuttal as to why the terms outlined in the linked article are OK, knock yourself out.
Heck, I agree with every negative comment above, STEAM is full of crap!
*Oh it's just there to stop piracy*..... WHAT???
Heck it's gonna stop players from playing thats what.
Great job when trying 4 times to download the demo with steam, crashing 3 times at 30% and something, then finally when its loaded/installed, it freezes.
Great *** Valve.
I totally agree that when I pay (a fairly steep amount) for a Vista license (I won't for a while, that's for sure), I would like to be able to transfer it from machine to machine, and to be able to upgrade my hardware without any hassle or having to phone up Microsoft support to get the copy reactivated.
It's all about trusting your customers. Let's leave it there.
I'll give you eight reasons not to buy Vista:
1. UAP. User account protection. This annoying feature will have you answering yes or no questions endlessly until you put it out of it's misery in user accounts. (Turn it off for God's sake). The bad news, then, is that UAP is a sad, sad joke. It's the most annoying feature that Microsoft has ever added to any software product, and yes, that includes that ridiculous Clippy character from older Office versions.
2. The 'Aero Look'. Another annoying feature. Why? Every single time I open a program Vista informs me that it is switching to basic windows. The screen 'pops'. This is very disturbing. (I have tested this since it was named 'Longhorn'.
3. Vista requires roughly 3 times the RAM that XP uses to do the same thing. Unless your PC is at least 3 GHz with 2 Gigs of RAM it'll move like molasses in the wintertime.
4. The price. WHY is it so over priced? The upgrade to Vista Ultimate alone is listed at Amazon.com for $259.00.
5. No access to basic windows files. I am locked out of folders like 'My Documents'. Microsoft has decided that the average User is too stupid to allow access to certain “Windows” files. This is insulting. I am offended. I know security is an issue and all, but locking a person out of their own document files is not the answer. The User is locked into a Roaming profile, thus they are disallowed access.
6. Broken promises
Windows Vista was going to include a completely rewritten file system, based on SQL Server and once called Storage+. Later renamed to WinFS, this file system was downgraded to a "storage engine," meaning that it would, in fact, run on top of the decades-old NTFS file system. Then WinFS was stripped out of Windows Vista because the performance was so horrible.
7. The pain of migration. And why not just stay with Windows Xp? At least all of my programs work. Think: what big advantage are you getting? Security? I don't know...with a good Firewall and anti-virus you're all set.
8. EULA. The EULA on a retail copy now states that VISTA can only be activated twice. If I decide to build a new PC a third time, Microsoft in effect is telling me to shell out another $400.00 for Vista Premium. My original disc becomes a very expensive coaster. XP (and all previous WINDOWS) allowed a retail copy to be moved as many times as you wished. I like to upgrade to the latest hardware. In the five years I have owned my retail XP, I have gone from the original P3 P4 2gHz* P4 3gHz P4 3.2gHz* dual Xeon 2.4gHz* dual Xeon 2.8gHz dual Xeon 3.2gHz* dual Xeon 3.4gHz (64bit)*. (* are new motherboards too.) That’s 8 different processors and 6 motherboards. Oh and several new hard drives along the way as well. With Vista, I would be stuck at the P4 2gHz.
In Reply To Jon Acord:
1) UAC is not designed for people who install software regularly, modify files and so forth. Its desing intent it to protect uninformed users from themselves. While this is feature is presented in an annoying way, its function is actually quite admirable.
2) First of all, that is no longer the case with 90% of the programs available right now, and won't even be a factor in a year from now. Not all 3rd party apps support Aero, so it defaults out of it when those programs are opened.
3) That's simply not true at all.
4) Okay, you got me there.
5) That also is not true.
6) On this, I am in total agreement with you.
7) Exactly.
8) This whole deal regarding the EULA is a distortion of the truth. MS hasn't changed the EULA, they've simply clarified it, and while I don't agree with it in the first place, to say that they're changing it now is untrue. Sure, the agreement is crappy, but its nothing new - you can still upgrade your PC as you always have, only now you will have to place a call to MS a couple times a year or so.
Have you ever posted it as a bug?
I think it's some extension or something. I never ever had this (and I type a lot in FF textboxes ;)), however my wife runs into this every day. We too haven't found what causes this, or what prevents it from happening on my machine.
Can you reproduce it on the same web page all the time? Or does it seem intermittent?
Would be interesting to investigate a little more and then post the details.
Is that bug still there?
It was claimed to have been fixed:
https://bugzilla.mozilla.org/show_bug.cgi?id=220900
Ah well.
I'm with Franz. I can't predict when it will happen. It appears totally random.
This bug has plagues my workstation at work, but I don't remember it ever happening at home. I usually have the two machines on the same version. I do not use any extensions. It is intermittent for me. HOWEVER, I have yet to see the bug rear its head in 2.0.
I ran into the same problem when typing in a textarea earlier, and this helped fix the problem. ' and / will still bring up the find dialog, but it shouldn't happen anymore when you're typing in a textarea/box
open about:config in firefox, and search for find. I changed..
accessibility.typeaheadfind.flashBar user set integer 0
to...
accessibility.typeaheadfind.flashBar default integer 1
Is anyone going to bother trying this out with an online demo?
It works just fine (IE7)
hmmm..I have been using FF for a long time and have never come across it. It would be annoying though...
BTW, gee I love the spell checker in FF 2.0 :-)
Just tested, works with FF,IE,Opera and Netscape. Thanks for posting it.
Works great in FF. It does not work in IE6 (XP SP2)
Works fine for me in IE6/SP2. And Safari even. :)
I struggled with this a little while ago and wrote up a short tutorial: http://luke.breuer.com/tutorial/javascript-modal-dialog.aspx
I know it works on IE 6.0 and FF 1.5; I'm not sure about Opera or Safari.
I've been playing around with this myself and got stung with a namespace issue.
Here's what I learned
I put the resources into a Resource subfolder in my Custom Control project. My resources are in subfolders of this Resource subfolder.
I then added the resources to a new Resource file using the resource editor (I thought this was required, not sure of the benefits of this besides the ability to use a Resource manager class or something to access the contents, please let me know if it's required in this case).
Even though the resources are in the Resource file, .resx you still need the full path to the resource.
e.g.
My resources are in
<project>/Resources/javascript/script1.js
<project>/Resources/javascript/components/script2.js
You must use the full path to reference
AssemblyInfo.cs
[assembly: WebResource("WebControlLibrary.Resources.javascript.script1.js", "text/javascript", PerformSubstitution = true)]
[assembly: WebResource("WebControlLibrary.Resources.javascript.components.script2.js", "text/javascript", PerformSubstitution = true)]
and in the Custom Control access using
Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "applicationscript", Page.ClientScript.GetWebResourceUrl(this.GetType(), "WebControlLibrary.Resources.javascript.script1.js"));
Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "applicationscript", Page.ClientScript.GetWebResourceUrl(this.GetType(), "WebControlLibrary.Resources.javascript.components.script2.js"));
Thanks Scott. But does not work with LinkButton and ImageButton (see http://support.microsoft.com/default.aspx/kb/921277). Maybe provide some standard scripting in the next .Net version?
Vista is a waste of Time and Money. Linux is the way to go now and every day it gets easier to use thanks to tons of development. I was behind Microsoft for XP and it is a great OS baring the security issues, but for Vista I'm really thinking of switching to another OS. I am a big techie and having to call someone to upgrade my pc reminds me of my childhood where I had to call my mommy when I wanted to stay out later then 9pm. I've grown up and I think it is time for Microsoft to grow up too and stop treating customers like children.
I think Microsoft's big challenge here is that their user base includes everyone and their grandma, literally. Steve-0, some of the customers are like children and need to have their hands held through anything more complicated than Copy and Paste in Word (my mother-in-law had to be walked through doing even that much); and when things go wrong, they throw a tantrum about how Microsoft *allowed* them to screw up.
On the other side of the coin, the more idiot-friendly you make the OS, the more insulted the true non-idiots will get because the OS treats them as such; which (for example) is part of the reason UAC is getting a bad rep.
I think MS took steps in the direction of addressing the user base when they released XP Home and XP Pro, and it appears they're doing the same with Vista. Are they doing it right? I don't think so. I'm confused enough trying to keep straight which version does what. Even if their product lines were very clear, it's still not going to stop Joe User from getting the wrong version and throwing a hissy fit when he doesn't understand what's happening.
Have you tried, or seen anyone try, Visual Studio 2005 on parallels? I need a new machine for freelance programming, and I need a new machine for home use. The latter seriously wants a Mac, the former need requires serious performance though.
Yes, I use the entire suite of development products via Parallels on a MacBook Pro and Mac Pro, no issues at all.
Hmmm... this doesn't seem to cove a drop down list on my page. Is there any way to make the alpha background cover that as well?
yea theres a sick nasty ending!
The Drop Down problem is a know issue of IE6. It doesn't follow the overlap rules of CSS.
Why not just use the ASP.NET AJAX Toolkit's ModalPopupExtender? This is an ASP.NET blog/site, isn't it? :-P
http://ajax.asp.net/ajaxtoolkit/ModalPopup/ModalPopup.aspx
Not to take away from your efforts, but the AJAX Toolkit is awesome.
I'm well aware of it, but it's too heavy and not necessary all of the time.
I have seen it on numerous occasions, but ignored it since the error only appears in the designer (and I use the designer hardly ever).
I prefer threaded forums to flat ones.
When a group of humans discuss something, we have an uncanny ability to decipher to whom and to what we are responding. In a text environment, we don't have the same non-verbal cues that allow us to maintain context.
If you respond to something other than the first or last item, then you need some way to know to which you are replying. Most system that are linear feature a "quote" button.
With threads, if we both post a reply to the same item, you will see that each is a reply to the same thing. If you post a reply and I post a reply to your reply, they are clearly not replies to the same thing.
The aspect of "working the room" depends on how you present the tree of responses.
For simple discussions, you don't need the threads, but when there is lots of back and forth, it helps.
Though I personally like Usenet threaded style, I've gotten used to the linear format. The threaded style can become quite difficult to read when you have a deeply nested hierarchy. Linear posting with quotes solves all these problems, just as long as people use the quoted replies properly.
My upcoming AtlasForums will be linear, but I am storing what message people reply to, so the threaded hierarchy does not get lost.
What happens if there are several different... facets being discussed in a single thread? If I want to discuss three of them, do I need to post in three different places (threaded), or one (linear)? What happens when the discussion isn't strictly hierarchical (e.g. the discussion splits into two parts, then returns to one)? I'm not convinced either version works well, unless extra data is stored that links posts to each other somehow. Either one has been made to work, but might there be a third option that works even better, especially when post lengths get long?
I was wondering this exact thing last week, while creating a data bound control. I reflected over the DataBoundControl.GetDataSource method that lead me to the missing FindControl.
It's actually about once or twice a month that I come across .NET internals that I'd liked to be public.
However, the more code you make public, the harder it is to make changes to your library, so I can understand (a bit).
This weekend my hp laptop power connector busted too. It's a good thing I was home when it happened because I'm pretty sure it would have started a fire if I hadn't been there to unplug it. The connector was blackened and slightly deformed from the heat.
Nice, Brock.. Thanks for the blog Jeff.
I am running into the same.
However, when I copy entire page contents (except the first line) of the page with the controls that do not render into a newly created aspx page all controls render fine. After restarting VS the controls on the new page do not render anymore.
If anyone from the Visual Studio team reads this, please let us know how to get this fixed.
Thanks,
Markus
I feel sorry for you Jeff. Yes the assumption at the time would have been that Vista would be out.
I had a similar story regarding Visual Studio where I paid for a MSDN Universal subscription but did not attempt to "pick" which Team System version I upgraded too until after June.....and they told me it was too late at that point so I needed to stick with Visual Studio 2005 Professional!! (even though I had a valid MSDN Universal subsciption until a month or so ago).... :-(
At one point, I used a piece of software that had all of its options in a very easy-to-search interfaces. Firefox almost has this with the about:config page -- imagine treeifying that and adding some good keywords and descriptions by which one can search. Many a time, I've looked through settings multiple times trying to find that checkbox I need to check -- if I could run a search against a normalized options structure, I'd love it. With metadata-driven options, you could even provide multiple different UIs for setting them, or only provide the power-user tree version I've described, and let others implement the "nicer looking" (but probably less powerful) screens.
OK, stupid question. What is Leopard?
http://www.apple.com/macosx/leopard/index.html
Who cares Jeff. It's not like you'll be missing out much.
Personally, I can't see any reason to upgrade anytime soon. Apart from the fact that I don't have a top of the range desktop lying around which I want to put this resource-hog on, I'm quite happy doing my ASP.NET development on XP Pro, Win2003K etc. And I can run .NET framework 3.0, so what's the point?
I must be missing something here. Someone tell me. Curvy corners? Glass UI? Loads of fancy window managers for Ubuntu look much better and are less of a resource hog.
Derek - Leopard will be the next major release of MacOS. Current one is Tiger.
Even if Vista would have been released a little bit sooner you do realise that your license to use it for development, demo or evaluation purposes would expire together with your subscription?
By the way why don't you buy a TechNet Plus subscription for $370 a year that includes all the Microsoft software except for the Visual Studio environments.
Yes, thank you for the lecture on licensing. I'm aware of it, but I also believe you're wrong. I know Visual Studio for sure you can use indefinitely.
I'm aware Vista isn't worth paying for, and that's the reason I don't intend to buy it. It's just the geek in me that wants to play with it. I haven't looked at it since the CTP days, and even then I was underwhelmed.
I guess I'll continue running XP in Parallels on my Mac Pro for development, which is probably cool and the gang for the time being.
Yeah Jeff,
I agree with you about Vista. I will not bother with it, no reason. Definetly getting a Mac next. Windows is really pissing me off.
--doc0tis
You can get Vista if you buy the next version of Visual Studio with an MSDN subscription. It will probably come out in late 2007 or early 2008, about the same time as the next Windows Server release.
I hate to say it, but so far I don't see any real compelling reasons for that upgrade unless it's an inexpensive $50 upgrade like the one between 2002 and 2003.
Visual Studio and the Macromedia apps suffer from the too-many-options issue. They both ask you for how you will use the app when they first startup so they can preset options and subset what you see. It seems vBulletin could use that.
The way I would approach this is to list the user actions, then sketch out an interface (on paper!). You then get as many people as you can to sit in front of that sketch with no instructions at all other than to TELL YOU what actions they think they can carry out, you then cross them off the list and note the order they were picked up in.
Of course this is a very old school method of usability testing. But how easy and inexpensive would it be? No wasted development time, fundemental flaws in your UI are picked up before you've even switched on a PC.
You're starting with the key element, the user. Get it right here and work your application from this point onwards. Simple and certainly not a revolutionary approach, but possibly a long forgotten one?
Hi
My postback for my button includes some client-side javascript (see below). The order is:
add some data to database
display an alert box
However, using this code in my pageload event:
txtName.Attributes.Add("onKeyPress", "BLOCKED SCRIPTif (event.keyCode == 13) __doPostBack('" + butAdd.UniqueID + "','')")
when I hit return the button postback event fires ok however, data is added succesfully to the database BUT the alert box does not appear.
DOes anyone have any ideas why not? or a solution?
Simon
strMessage = "Now send a text message!"
'finishes server processing, returns to client.
Dim strScript As String = "<script language=JavaScript>"
strScript += "alert(""" & strMessage & """);"
strScript += "</script>"
If (Not Page.IsStartupScriptRegistered("clientScript")) Then
Page.RegisterStartupScript("clientScript", strScript)
First off, you don't need to check to see if a script is registered. Second, you're not wiring up anything to an alert box here. You're registering a script fragment that will execute when the page is loaded. You're not calling a function.
Thanks Jeff.
I took out the alert box and just simply wrote:
response.write("Got Here")
when I click the button the data gets added and Got Here gets written.
when I hit the enter key the data gets added but the "Got Here" doesn't get written.
I'm baffled - any ideas?
thanks,
SImon
A simple approach is to use the Sql Profiler and time the start/stop of a trace.
I've also used it within larger tests to see what isn't in the cache based on the hits to the db.
Well, yeah, I know I can use Profile, but that's not the kind of in-app instrumentation I'm asking about.
I'm not sure that I understand your context, but can't you use one of these?
http://msdn2.microsoft.com/en-us/library/ms191006.aspx
perhaps SMO (in SQL2K5) can work out here..
Microsoft.SqlServer.Management.Smo has 'Statistic' classes along with Transactions..
well worth looking into..
Well, nothing there that quite matches what I'm looking for, but cool stuff to keep in mind!
Let me explain again... We all now how there's an extensive request/response lifecycle for ASP.NET pages. You can key into those events via an HttpModule. Imagine a module that started to "listen" for SQL queries in one of the early events, then in one of the last few events, saved that count somewhere. That's really what I'm after.
If I were using the application block or something else that already wraps SQL calls, then I'd be all set because I could wire something into that, but I'm not so I need to find an alternative.
Hmmm... There's no way I see this is can be done easily.
I'm guessing we're looking for a "Quick & Dirty" solution since you said there're no SqlHelper classes anywhere.
1. create a "mySqlConnection" class that inherits from "SqlConnection".
2. Override the Close & Open methods to count or log of whatever. IMHO, starting a session variable at the begining of the request and nulling it by the end of it is just eneugh. Then you can write it to Perfmon or log4net.
3. And this is where the really cool part comes into play. Change the SqlConnection class to allways use your mySqlConnection class by adding this using at the top of each page/class:
*** using SqlConnection = myNamespace.mySqlConnection; ***
this will change all SqlConnection to mySqlConnection. It's a dirty trick, but IMHO it's your best bet.
I agree Jeff the ASp.NET team are very agile indeed, I suspect that Scott will drive that into the other teams he now leads. I do also suspect that Ray Ozzie will change, indeed Microsoft is a changing company, give them time and things will be very different. Personally I look forward to that.
Thanks Scott, wrapping my second "form" in the panel and setting the default button did the trick. Thanks for the post, works great!
actually I was thinking of this solution but I did not have time to try it.
Then I searched the internet to find some thing fast and this is it.
Don't worry; all the rights are for you :)
"I have a similar problem. I have had the part resoldered once and replaced once, but it keeps breaking. I am told that I have two options: Replace the motherboard (almost half the cost of a new laptop) or have them hardwire an external power supply jack (rather than the current internal one) into the computer. Does that sound bogus? I am tired of throwing money at this thing!"
I'm currently working on a laptop with that same issue, it's an HP pavilion 1210,
There is a way to fix the power supply mount issue with out using the flimsy connections that the machine has originally (otherwise, you'll end up with the same issue down the road) Right beside the power jack is a blank spot used for a mouse connection, you can pop that out and find the mount that would fit you machines connections, feed the new jacks wires through the hole from the outside and solder them in place, you can easily find a power mount with a screw on washer/nut that tightens from the outside greatly reducing the tension and play on the motherboard. Have fun!
I saw you had an HVX200 and an Azden 200UPR wireless system. We just got the wireless today, and I'm trying to figure how the flippin' audio can be heard! Tried plugging a headset in the receiver's output and nothing. Tried plugging into the camera and, nothing. I get the green lights and all but who knows, perhaps the unit's defective? The channels are straight, batteries fresh, audio channels set on camera. Well I gotta look at some public transportation I'm gonna shoot this week. Waiting too for the MacBook and some other goods. Oh, just got the Redrock Micro, but my boss didn't get the shim and downsizing ring!
Hey here's a crazy idea to work around all those licencing issues: buy the damn thing for a change and support the millions of man-hours put into developing it.
Or I could keep using OS X and my old XP license in a Parallels window. :)
PingBack from http://inadequacy.newstack.com/thoughts-about-rsss-inadequacy/
Hey. I know this post pretty old. But it's a point that annoys me anyway. Programmers are indeed *** at graphic design.
I _think_ I am the opposite. I dunno. I tend to think I have a sense of aesthetics that most programmers don't.
"Do you often pull double duty as a designer?" Yeah, totally.
Here's an example, this is a Soulseek client I am working on that I designed and coded:
http://sourceforge.net/project/screenshots.php?group_id=175403&ssid=43160
Heh, you can actually see the older screenshots as I gradually changed the design.
I generally think the better a program looks, the more confidence a user has in using the program.
"most developers deliver 'Programmer Art', which is erm... not good :)" yeah, I know what you mean. Pixel art or black background with green foreground, etc. in my programming course last year we used VB to write some projects, and the designs were just hideous. They didn't seem to understand my pain in just looking at them.
I have an HP Pavilion ze5400. The back of the dc power connector broke off. I am not going toreplace the connector, I just want to know where to solder a hard wire to the motherboard. it is not readily identifiable where I should make this connection. Anybody know where I can get schematics?
Tom
I played the game without any problem. The only bad thing is that I had to wait very long time to load for the multiplayer games. I got bored, and I uninstall hl2. I still have it with my other old cd. But the worst thing is that every other pc game is trying to do the same. They are trying to emulate it like steam. A big example is Battlefield 2, BF2142, and others that might come soon. That is why I am not going to buy pc games anymore. Before you can create your own server. Now you have to pay to create your own server. The worst thing is that you are using your pc as your server not their servers and you are paying for it?!!!! That is too much. Valve I respect what you did, but being with steam was a big mistake. That is why valve is not famous anymore.
After reading above i have made something like below for me just like window default button. Working fine but need to test more.
<form id="Form1" method="post" runat="server" onkeydown="BLOCKED SCRIPTif (window.event.keyCode == 13 && window.event.srcElement.type != 'submit'){__doPostBack('SearchCriteriaButton');return false;}">
I have just refined the code above for my use as following, may help someone.
Default control in base class,
Control _DefaultControl = null;
public Control DefaultControl
get{ return _DefaultControl;}
set{ _DefaultControl = value;}
asp.net base page code in prerender overridden method,
if((this.Page.IsClientScriptBlockRegistered("PM-KeyDownEvent") == false) && (DefaultControl != null) ){Page.RegisterClientScriptBlock("PM-KeyDownEvent", "<script language=javascript event=onkeydown for=document> if (window.event.keyCode == 13 && window.event.srcElement.type != 'submit' && window.event.srcElement.type != 'button'){__doPostBack('" + this.DefaultControl.ClientID + "');return false;}</script>");
Add following code in child page
this.DefaultControl = SearchCriteriaButton;
Finally i added a CSS class for look of Default button, thats simply underline text for me.
Thanks. all above posts helped me to learn and find solution for my requirement.
I believe this is coming in the summer.
Shahn
First of all, consider that it is a 1.0 product. Not only that, it was put together in a very short amount of time. It is a revolutionary product that hasn't had a direct competitor in any modern consoles.
Lastly, consider the security issues they have to tackle to open up this venue. They have to pretty much guarantee that XNA can't be used as an attack vector on the 360 or else XNA could be dead in the water. Considering that they pretty much did it in 6 months, having to solve all those security problems would bloat out the schedule. And I would rather they release when they did and start building the community now rather than wait longer until all the features were addressed. Progressive releases is the way to go here.
Not only that, but even without XBox Live support in XNA, it is still a VERY cool product. I for one (and MANY others judging from the reaction XNA has been getting) am interested in writing games for the 360 even if it doesn't include networking support. I can wait for 2.0 for that functionality. I think you're focus on XBox Live missing from XNA is missing the point.
Jeff, they did the whole product in 8 months - go figure! Amazing work.
Yep, they could have done what you wanted and shipped later; and done features another 10 people wanted and shipped this time 2007 even :-)
This is a new trend in software development Jeff: Ship early, ship often. Read up on it ;-)
I don't understand these kinds of responses. I'm supposed to just thank my lucky stars they put out a product even though it doesn't serve the needs I have?
Knock yourself out if you want to develop with it, but every great idea I can get behind is online. That's where gaming is right now. "Read up on it."
What I don't get, AT ALL, is why this only installs on systems with the C# Express edition, but doesn't support us REAL progammers that paid for the full Dev Studio... that's just plain insulting and stupid.
I am NOT going to install C# Express (and then another 2 hour SP1 install!)
Sure why not. No two people are exactly the same so there will always be room to grow. But sharing major things in common helps you understand the other one better. Just an opinion.
It seems you've been looking at some kind of Beta release. There are no such events as PreAuthenticateRequest, PreAuthorizeRequest, PreResolveRequestCache, PreAcquireRequestState, PreAcquireRequestState, PreReleaseRequestState and PreUpdateRequestCache in the ASP.NET 2.0 HttpApplication class (referred to you as the "Application"), not even private or internal ones. Decompile the System.Web.dll with the Reflector, if you like. Besides, you've missed the HttpSessionState.Start (Session_Start) and HttpSessionState.End (Session_End) events. Start occures just before AcquireRequestState and End occurs some configurable interval after the last request. Otherwise, this is an excellent list, it seems it will help me big with the page/control lifecycles.
Of course it's based on pre-release... the post is more than two years old! Look at the date before you start lecturing.
JUST GO BUY IT! Use it and come to terms with its issues by explaining their advantages and downfalls. If you still dislike it, then go home and stfu!
I agree with much of your sentiment: no warning about disk space and an esoteric 2908 error?!? After several tries myself (one all-nighter), I moved the exe to a secondary drive and ran it with patch cache disabled (http://weblogs.asp.net/jgalloway/archive/2006/12/19/things-i-wish-i-d-known-before-i-installed-vs-2005-service-pack-1.aspx) and I'm all good to go.
Have you looked at the verbose error log to see exactly what's failing (http://blogs.msdn.com/astebner/archive/2004/11/10/255346.aspx)?
Heath Stewart wrote about how to cut down the disk I/O (including registry access, I belive). Here's my link with a tiny amount of value add:
http://weblogs.asp.net/jgalloway/archive/2006/12/19/things-i-wish-i-d-known-before-i-installed-vs-2005-service-pack-1.aspx
That said, I agree with the fundamental issues you're talking about. .NET is great, but it's running on top of an operating system that's based on COM and the registry. Visual Studio is based on InterDev, and from all the registry settings it looks like there's a lot of lava flow architecture there. Don't get me started on MSI - why is it that simple NSIS and Inno setup installs always seem to work better than MSI's with default settings?
Here's an interesting thought: Mono and MonoDevelop continue to improve. They leverage .NET and don't carry the COM legacy baggage. If Microsoft doesn't aggressively refactor Windows and Visual Studio to replace COM with .NET, it may have a hard time keeping up with less encumbered competition.
I could pour through logs... but why should I have to? Is it too much to ask that a $1,500+ product work when I install it?
It's SO frustrating when you see something so useful turn into something that is completely useless, especially when you're a big fan boy like me.
Same problem here I really have no idea who tested this product when it was in beta but it seems nobody tested it at all. I can't actually even believe that installing a dumb service pack is such a hell to go through. At this point I've also abandonned the SP1 installation as per the same error code and left the update to another century.
I have a somewhat similar experience, where it feels like every newer version of Visual Studio seems to be less responsive when working with it.
For some reason, trying to add a reference to something suddenly requires VS to take ages to load the reference dialog.
Strange auto-collapse behaviour from the toolbox, data, solution explorer, output, etc... panes.
It just "feels" slower. And it sure isn't the hardware :)
I'm preparing at the moment to go to a dual boot setup to run in Linux and take a serious look at Mono and the effort/productivity it takes to develop for it and in Linux. Curious :)
Most installations/upgrades are not nearly as painful as this. I'm curious to know which IDEs you've used on the Mac that were easier to upgrade though.
It has nothing to do with IDE's. This is par for the course on all kinds of non-trivial Windows software, and even Windows itself.
Now if you could just hack in checkboxes like the comparable WinForms control I'd be ecstatic :)
Great job, btw.
Well tbh Vista is new and there are alot of issues to iron out UAP being one of them. UAP is such a bad feature lol but can be disabled so its not a major issue. Aero is nice to look at but it is no Beryl like i got on my *nix, its about time microsoft could trust the customer. All this grief over software piracy and just for it to get hacked and released anyway. You will be hacked everytime so why bother? looks at mac os no keys protection or anything just trust!!
But hey how can Microsoft trust anyone with the things they have done in the past...
A game without networking is called pac-man.
Hooray for MS and XNA. But, until networking it's still rated with the atari 2600.
When networking comes out, the following will be 10 fold. Why leave the pc to make dumbed down games like castlevania.
I like XNA and its very easy, but MS is asking for backlash, if it thinks they can offer us potatoes and not the meat.
My thoughts.
Nick
Here are two blog posts I did about the new ROW_NUMBER() paging support that you might also find useful:
http://weblogs.asp.net/scottgu/archive/2006/01/01/434314.aspx
and
http://weblogs.asp.net/scottgu/archive/2006/01/07/434787.aspx
Those of you that believe that piracy is theft have it wrong. If it were truly theft then why call it piracy? It is a contention of "The Man" to keep his wallet fat. First point. You open the software no return policy. What other industry has this perk. Drive a car off the lot & cant return it..COME ON.
What about poetry. Ever read a poem to anyone. Did you send the artist a check?
With technology comes change. Was the car not the rip of a covered wagon? Good thing someone didnt patent the 4 wheels idea. No other software is hacked more than MSoft. Bill made 34 billion this year. If stealing truly has this result rip me off now please.
The only good example that I have found is at:
http://www.dreamprojections.com/2006/10/16/storing-asp-net-2-0-profile-properties-in-cookies.aspx
The built-in VS web dev server has a block that only allows local access (for security reasons).
However you can download the source to it and remove the block from here: http://blogs.msdn.com/dmitryr/archive/2006/03/09/548131.aspx
I figured that might be the case. Grrrr... do we really have to be protected from ourselves? :) I wish this was configurable.
Alternatively you can give http://www.wilcob.com/Wilco/Toolbox/WebDevWebServer2.aspx a try. The GUI one should work exactly the same as what ships with VS. The difference is that it's built on top of HTTP.SYS (using HttpListener) which makes it possible to listen remotely as well as run it on ports used by other apps that also use HTTP.SYS.
There's UltiDev Cassini too: http://ultidev.com/products/Cassini/index.htm
FYI:
Facebooks image uploaded can be found here:
http://www.aurigma.com/Products/ImageUploader/
That would rock except for the nasty table scan it causes :(
So what? What's the alternative, smarty pants? If the performance is acceptable, who cares?
I wish I had seen this site b4 trying to SP-up.
I have had the same problem since I bought my compaq nx9110 in 2004. It got progressively worse and a few months ago sparked as I tried to re-insert the ac power cord. The pins in the outlet were out of alignment according to the service guy who repaired it. However, shortly thereafter it became very loose again and it is hard to keep it in the right spot to get a connection. I brought it back to the service guy who told me the whole motherboard would need to be replaced in order to repair this and it would cost 3 or 4 hundred dollars and only be warranteed for a month. huh???? He did not think it would be cost effective to repair. At least now I can see that it is a recurring problem with this laptop and I am not going to try and repair it.
Man. I never knew what happened to TechTV until today. I looked for some of their shows on the net to see whats new on IT and all I get is some website selling games.
I do not expect such helpful shows to be put off the air until civilization collapses.
If you want to send me mail with a sample that isn't working, I can help loop you in with the AJAX Control Toolkit team to take a look.
How do you get the game to work? I've never seen anything like this, i've had friendlier viruses.
Yes,I do agree that the school system is a messed up fake system trying to cover up the fact that the people that are making these teachers teach this crap are idiots indeed...Most of it will never even be used in REAL life and the students soon forget it after they leave high school ( or collage if they decide to go. ) So they should only teach them stuff they will actually use in real life, like technology education or basic math and some complex math needed for jobs, not math so complex it hurts there heads and its totally useless.
So Jeff, now that you are hopefully 3 months into using Google Apps, what are your current thoughts?
I just got accepted into the program recently and haven't made the move yet, but am wondering ahead of time how it's working out...
Still happy, still no complaints!
It's not that it's limiting per se, it's just that you have to work so much harder to get exactly what you want if what you want isn't what Microsoft has already done for you. It's very easy to make terrible web sites quickly using ASP.NET, but to get more advanced, you have to be a good programmer.
"Machine key" issues?
Is it possible that the roles are stored in the same cookie and the code that sets the roles does something odd?
Nope... the roles are added to the Principal object in an HttpModule. It doesn't really have anything to do with the login code, which is just the normal SetAuthCookie stuff.
Could you be running into this: http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx
One thing to check is whether it is a role-based persmission isue. Within your login page add a <asp:loginstatus> control to the page, or just do a response.write of User.Identity.Name or check the Request.IsAuthenticated property.
That will tell you whether you are being redirected because they aren't logged in, or whether it is because of an authorization failure.
I couldn't agree more. It always seems to amaze me how quickly scope creep rears its ugly head when stake holders get a GUI in front of them.
Once a client sees what they can have the wheels really start to spin on what it is they want, can have or more importantly need. I really like wire framing, or building mock ups with XML for example. It really saves a ton especially when designing a database back end. Now that is a little further down the road than what you are pointing out to do, but it is still a very important step after the sketching and scribbles.
I have made many, and I mean many mistakes building web applications as my skills have evolved. The one thing that has seemed to save me the past couple of years is really harping on the initial steps on "defining" requirements.
People tend to be very visual and in building the UI or at least sketching/ wire framing it out initially will save you hours and dollars in the long run.
yes very very true in real life situation. The UI design is as important as the architecture design and if the articture design cant give u a satisfactory UI design its of no use
i have written a article 2005 in german about this. http://www.devtrain.de/news.aspx?artnr=959
The code snippet can be used also not from german speaking ;-)
I ran into the same problem a while ago, but only in IE, not firefox. That was because our server names had a underscore in it, and it looks like IE does not persist cookies of the server name are not valid servernames( probably according RFC1738.
> It's amazing how much better your software can be when you
> focus on the task first, and the implementation later.
You came very close to saying test-driven development, but not quite :)
Approaching problem you talk about in a TDD manner has deep meaning, and it's something I've been thinking about recently. At my company we use TDD for everything, but then we hit the presentation layer and find ourselves without adequate tools to continue TDD. That's one lesson currently without an answer.
A second lesson is that TDD does not automatically build the business layer interface that the presentation layer will need. Or put another way, the presentaiton layer imposes implementaiton requirements that are not obvious when you are happily constructing your business layer in TDD. Through careful imagination, you may correctly guess some of your needs, but invariably the presentation layer causes you to go back and add new methods and interfaces to the business layer - or sometimes, to add a business "wrapper" around your complicated TDD-made business layer API to simplify things for the presentaiton layer.
So TDD enforces a mental model, but the presentation layer mental model and 'language' of pointing, clicking, dragging, etc is not at all the same as the model and language resulting from using TDD to construct the business layer.
It has been said that TDD does not cross application teirs well. I disagee; I think TDD crosses DOWN through layers just fine, such as reaching into the database. TDD does not cross UP nearly as well, so you want to start from the highest application teir you can.
My last scattered thought on the matter is that TDD helps you specify what needs to be done (business), but not necessarily how it needs to be done (implementation). I think this is a correct approach because your test harness should be as implementation-indepdent as possible. However, it does lead to the gap I stated in my first point: one is left wanting for a presentation layer harness.
TDD is essential, without a doubt. But you're right, there's still that issue that in so many application scenarios, someone has to interact with it and accomplish something. That gets lost too frequently.
I really agree with this. My bosses are visual, they need things to look at. Mockups on paper and/or Photoshop give them a feel of what they're going to get. Better still flat HTML only when they can click things and stuff happens do they get a feel for things. It's the difference between them passing 3 date input boxes and them realising they want a date picker. The tabbing order of input fields. You have to make them sit and experience the whole shopping process rather than let them signoff on artists impressions of what it'll look like. Bosses tend not to think about the details it's a way of making them slow down and pick fault in the whole experience.
Once it's done... write the behind the scenes code.
I'm gonna plug a book by 37 signals that talks about this http://gettingreal.37signals.com/ (not free) amongst other "getting real" practices. It's all common sense stuff but an interesting read all the same.
I was resisting making a reference to that book, because it's like a cult. :) But I do agree with a lot of their principles.
This also makes IE6 testing difficult, even with the release of the virtual pc image. You have to publish the site to your local IIS before you can access it from IE6 running on the VM... at least as far as I can tell...
True. Have you discover again Unified Process method ?
That's underly all the family developpement methods until XP programming. "Use case driven". It"s certainly the best way to reach the requirement.
Any suggestions on mockups for AJAX-based UI? How to ensure that UI Mockups (HTML or ASP.NET) are not throwaway once coding starts.
If they can storyboard movies, I think a little UI should be easy enough.
Well, I've tried installing it, but it just won't install because I don't have enough disk space. I actually do have enough disk space, but because I have installed Visual Studio onto a D: drive instead of C:, I can't actually tell the installer to look at D: instead of C:. I can't be the only one in this boat, and I really feel they need to have another go at this. All I want to say is 'install onto the D: drive', but the installer just isn't listening. (Unless someone has a suggestion for me??)
I have to disagree with the value of Component Art. I was very enticed by the visuals and the demos on their site at first, and so I purchased the product. However, when used in an enterprise environment, it just doesn't hold up very well. Especially in regards to their Grid control.
It doesn't inherit from GridView, so any advanced extensions that you'd like to do are not really possible, and their support is non-existent. I agree with the comment about hobby sites.
If you use their controls EXACTLY like the code is shown in their demos, they will work. If you have realistic requirements with Clients asking for custom modifications to pagination, sorting, etc...you're in trouble.
Their controls look amazing, but they aren't practical for professional development.
Hello fellow developers,
It's making me crazy this week!!
I'am spending for more than 30 hours to get SP1 installed on my development machine.
Finally I removed everything (SQL 2005, Visual Studio, .NET Framework etc.)
Cleared the registry, removed the Visual Studio related plugin's.
Installed a new version of Visual Studio and try to install the SP1.
It won't seem to help, may be you guys have a suggestion.
The errorlog is below.
Thanks in advance for your tips/suggestions.
Jerry
=== Verbose logging started: 1/31/2007 12:19:31 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (F0:C0) [12:19:31:640]: Resetting cached policy values
MSI (c) (F0:C0) [12:19:31:640]: Machine policy value 'Debug' is 0
MSI (c) (F0:C0) [12:19:31:640]: ******* RunEngine:
******* Product: {D407F7C0-579E-4CCB-91FD-855CE5084E86}
******* Action:
******* CommandLine: **********
MSI (c) (F0:C0) [12:19:31:656]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (F0:C0) [12:19:32:500]: Cloaking enabled.
MSI (c) (F0:C0) [12:19:32:500]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (F0:C0) [12:19:32:531]: End dialog not enabled
MSI (c) (F0:C0) [12:19:32:531]: Original package ==> C:\WINDOWS\Installer\c805a2.msi
MSI (c) (F0:C0) [12:19:32:531]: Package we're running from ==> C:\WINDOWS\Installer\c805a2.msi
MSI (c) (F0:C0) [12:19:32:875]: APPCOMPAT: looking for appcompat database entry with ProductCode '{D407F7C0-579E-4CCB-91FD-855CE5084E86}'.
MSI (c) (F0:C0) [12:19:32:906]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (F0:C0) [12:19:33:031]: MSCOREE not loaded loading copy from system32
MSI (c) (F0:C0) [12:21:38:000]: Original patch ==> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ZNW949\VS80sp1-KB926601-X86-ENU.msp
MSI (c) (F0:C0) [12:21:38:000]: Patch we're running from ==> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ecf477.msp
MSI (c) (F0:C0) [12:22:06:046]: Machine policy value 'AllowLockdownBrowse' is 0
MSI (c) (F0:C0) [12:22:06:046]: Machine policy value 'DisableBrowse' is 0
MSI (c) (F0:C0) [12:22:06:046]: Couldn't find local patch ''. Looking for it at its source.
MSI (c) (F0:C0) [12:22:06:046]: Resolving Patch source.
MSI (c) (F0:C0) [12:22:06:062]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (F0:C0) [12:22:06:093]: User policy value 'DisableMedia' is 0
MSI (c) (F0:C0) [12:22:06:093]: Machine policy value 'AllowLockdownMedia' is 0
MSI (c) (F0:C0) [12:22:06:093]: SOURCEMGMT: Media enabled only if package is safe.
MSI (c) (F0:C0) [12:22:06:093]: SOURCEMGMT: Looking for sourcelist for product {D93F9C7C-AB57-44C8-BAD6-1494674BCAF7}
MSI (c) (F0:C0) [12:22:06:093]: SOURCEMGMT: Adding {D93F9C7C-AB57-44C8-BAD6-1494674BCAF7}; to potential sourcelist list (pcode;disk;relpath).
MSI (c) (F0:C0) [12:22:06:125]: SOURCEMGMT: Now checking product {D93F9C7C-AB57-44C8-BAD6-1494674BCAF7}
MSI (c) (F0:C0) [12:22:06:125]: SOURCEMGMT: Media is enabled for product.
MSI (c) (F0:C0) [12:22:06:125]: SOURCEMGMT: Attempting to use LastUsedSource from source list.
MSI (c) (F0:C0) [12:22:06:140]: SOURCEMGMT: Trying source C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ZNW4EE\.
MSI (c) (F0:C0) [12:22:06:203]: Note: 1: 2203 2: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ZNW4EE\VS80sp1-KB926601-X86-ENU.msp 3: -2147287037
MSI (c) (F0:C0) [12:22:06:218]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.
MSI (c) (F0:C0) [12:22:06:218]: Note: 1: 1706 2: -2147483647 3: VS80sp1-KB926601-X86-ENU.msp
MSI (c) (F0:C0) [12:22:06:218]: SOURCEMGMT: Processing net source list.
MSI (c) (F0:C0) [12:22:06:218]: SOURCEMGMT: Processing media source list.
MSI (c) (F0:C0) [12:22:06:468]: SOURCEMGMT: Resolved source to: 'VS80sp1-KB926601-X86-ENU.msp'
MSI (c) (F0:C0) [12:22:07:046]: Note: 1: 1314 2: VS80sp1-KB926601-X86-ENU.msp
MSI (c) (F0:C0) [12:22:07:046]: Unable to create a temp copy of patch 'VS80sp1-KB926601-X86-ENU.msp'.
This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer patch package.
C:\WINDOWS\Installer\c805a2.msi
MSI (c) (F0:C0) [12:22:07:093]: Note: 1: 1708
MSI (c) (F0:C0) [12:22:07:093]: Note: 1: 2729
MSI (c) (F0:C0) [12:22:07:140]: Note: 1: 2729
MSI (c) (F0:C0) [12:22:07:140]: Product: Microsoft Visual Studio 2005 Standard Edition - ENU -- Installation failed.
MSI (c) (F0:C0) [12:22:07:265]: Attempting to delete file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ecf477.msp
MSI (c) (F0:C0) [12:22:07:328]: MainEngineThread is returning 1635
=== Verbose logging stopped: 1/31/2007 12:22:07 ===
There are already hacked version of vista on bit torrent. I actually disagree with software piracy but in this M$ monopoly position, just who is the pirate. In the UK, we even get to pay 70% more than everywhere else because microsoft seem to think 1M$ = 1M£ (its a lot closer to 2:1).
I don't intend to move to vista anytime soon but as usual, support will dry up for the old M$ stuff and I will be forced to buy new kit. If I can use a pirated copy of vista and get away with it, I will. I think you should all do the same
Hi Sandra Stewart, your connection from the power cord, is it a round plug with a pin like thing inside? Is it this part that is giving you problems?
It seems to me, that people download pirated software because they know that they probably won't get caught. IF I steal doom 3 from best buy, i'm likely to get caugt, seeing as there are numerous risks to shoplifting. However, if i'm able to get the game, for free, without hardly any risk of getting caught, i'll fu**ing steal it. It's a simple choice. People don't care about ethics: they care about what they want. They want a game, they can get it for free. "Yes, it's illegal, but how the hell are they going to catch me?" I think that it _is_ wrong, and i have never done it, but i must admit, i _have_ come close.
Why are you blaming Microsoft for things that Dell screws up?
That's exactly the point... Microsoft does not take a holistic view, and that's part of the problem.
compare your crappy mac book to my new core2quad 680i 8800 gtx ....this could go on forever and proves nothing
I think that if you ask president in Apple the same question, he would have given you the same answer, that Apple were the only company doing things right :) That's how business people talks.
I love my iPod Nano, but I've never used it with iTunes. iTunes just spams your system by trying to install other junk like Quicktime. Apple never even tested it properly on Vista so it's broken there. And in their eternal smugness they decided they could avoid the Windows UI and try to make the whole thing look like an OSX app on Windows, which just annoys the hell out of me.
Apple makes great looking hardware. That's the strength of iPod.
Quicktime is junk? Are you kidding me? Compared to what? The player is so ridiculously simple, and it's the foundation for every serious video editing system on the market.
Damnit, ur still around?
Way to contribute.
Heh, wouldn't that be amusing if they DID listen! How much effort when into Vista to build DRM right into the core? If DRM was dropped, it's all for naught!
You can only pass one parameter and your function must accept "object" for type. Next to that, to pass more parameters you have to use the delegate workaround. But it's a good start anyhow, it's better than nothing.
Would it be possible for you to post the code for this for download? I would be very interested in seeing it. Thanks.
Bought Half life 1 anthology off of ebay, assumed i was buying the original game. turns out theres a sticker on top saying you need internet to register the game...nothing on the box other than that. fine, leave my laptop for an hour for it to load up steam, which the box did not say it required to play. steam cant load. absolutely useless. what is the point? its an 8 year old game, who the hell is going to pirate it and it was sold as the game no mention that i would need to log onto steam EVERY time i wanted to play it.
dlamnie to jest najfajniejsza gra na całym świecie.HALF-LIFE jest to gra o rużnych zombi którym widać flaki jest to super.
Today, after lots of struggling with Config Files, I finnaly wrote the famous words ".Net Config Files suck" in my Google search bar, and ended up here. Why in heavens name would I want to deploy my development config file with my development settings to a user. When I deploy a application using click-once (smart client) It keeps deploying my config files in new folders, and therefor "changing" the settings of my end-user. I cannot expect my end user to keep changing the config file every time an update is done. If my end user succeeds in FINDing the darn file, he doesn't have (and want to have) enough XML knowledge to change the file. Isn't there another (easy) way to store user settings?
I'd say it's not that bad. First, most people can now start working on the single player part of their game, even local multiplayer (4 controllers...). Once that works they can polish the game while waiting for live support.
This site uses javascript to calculate it. I'd imagine you could probably just figure it out from there.
http://webexhibits.org/daylightsaving/b.html
Hi Jeff
The date published is a bit hidden in the GUI of the post. Usually in news publishing the date of the article is shown in other sytle(color) underneath the article title. In case of your blog the datestamp of your entry is mentioned underneath the body text. I had to look for a while (after reading your comment "Of course it's based on pre-release... ") to find the date.
But anyhow. Thanks for writing down a list of events :)
I to am having ac problems with my laptop. Is there anywhere to get schematics for this. HP pavilion ze5607wm?
As this is the first thing I tried to do with Ajax, I'd really like to see it, too.
Looks great. I can't wait for the release of this.
How are you doing the full text search now? I've just switched to using PostgreSQL for all my database needs (via LLBLGen), and I'm looking for ways to do full text searches.
I'm indexing words and scoring them, minus junk words, in a background thread. It's not the most efficient process, and the querying SQL is super ugly, but it does work.
Should this code work for asp.net 1.1 too ?
cheers
-JD
I also agree with the Membership / Profile thing.
I'd ended up hacking it and trimming it on my site to the point where it no longer did anything useful. I'm down to just using the bare-bones Forms Authentication calls now for setting cookies/tickets.
I have the same problem. Let us know if you find any good alternative. Right now, I just have a test web project that includes the HTTPModule and tests it. Not very desirable.
Jeff, good news. Curious on two things, how your Search is working? I might be interested for one project I have here. Secondly I wonder why you didn't put a bit of Ajax salt on your code?
I've been looking something that does that for ages. Thanks alot!
There is a little spot of AJAX working in any given thread. Click a user name to see what I mean. Beyond that, if you're asking why I haven't included any ASP.NET AJAX stuff, it's because so far I haven't found a good instance where I think I need it. I know some other forums do, but so far I can't justify it as something that really enhances the user experience. The good news is that hopefully my UI layer is clean enough that people can add it if they want. I might still do it, we'll see.
As for the search, as I mentioned earlier, it just scores the non-junk words and queries against that table.
It looking good, but thought you would like to know (if you haven't found it yet), that on your beta forum an error is thrown while serching for nothing and having "Relevancy" set i.e. leaving the search box blank and selecting Relevancy in the combo box.
taking another quick look it doesn't seem to matter what sort type is selected.
and a third look any type of search seems to throw the error, so you likely will have found and fixed this already.
I picked the PDC over MIX. PDC is going to be much better than mix, at least for stuff I'm interested in.
Having lived for twenty years as someone that was only copying the odd cassette for friends, the getting of a computer unleashed a side to me I didn't realize I had. On the one hand I feel compassion for those that put in much work, and then live with the thought that their work is being enjoyed by some that have not paid for it. On the other hand I've been a thinker most of my life, and from a philisophical point of view, I think the internet has given people a chance to start putting life's record straight.
People didn't express their natural desire to experience something without any thought of money when the internet wasn't around. They can now, and the evidence shows that they do. Stuck in the middle of this is the angry developer. But I know that life can be ruthless whilst change is occurring. The future, as far as I can see, is that we will need to rethink the whole idea of bartering/money as a way of experiencing life's pleasures.
Would it really solve anything if laws get really tough on internet piracy? Will it really make people see that they were "wrong" to download that bit of software or music? I don't think so. Laws never really capture the natural inner motivation. Those on top, and able to make laws will obviously want to profit from that situation. Now the internet is balancing out the idea that someone can invent CDs and charge a fortune for reissuing old songs, becuase something else has cvome along to offer the user an alternative, a free one.
This legal market and underworld market is not just about who gets the cake. It is also fuelled by some hard to express desire that we are here, not to struggle and have to make money before we can experience, but that Here and Now can be worked out amicably between all people, meaning we can find a system where someone won't feel left out because they cannot afford to keep up. In the larger scheme of things I do feel more compassion for the down and outs, the poor etc, than I do for upset developers.
From all this angst I think people will see the light. As has been stated, it is not the answer to hold 75% of a nation's population accountable for a law that obviously isn't in touch.
So, piracy is not the end of the road, but the energy it sometimes takes to re-shuffle a pack, whether so called crackers are aware of what they are really doing or not.
PingBack from http://davisfreeberg.com/2007/02/27/watch-netflix-movies-in-your-firefox-browser/
Personally I find it a little overkill. I have been programming for a while and ran in to one of these interviews and froze. I knew every single answer, but froze. It was quite frustrating. They passed on me and I ended up getting a better position makine more money churning out better code.
Here's the modulus in action btw.
for (int i = 1; i <= 100; i++)
if ((i % 3) == 0 && (i % 5) == 0)
Console.WriteLine("FizzBuzz");
else if ((i % 3) == 0)
Console.WriteLine("Fizz");
else if ((i % 5) == 0)
Console.WriteLine("Buzz");
else
Console.WriteLine(i);
Console.ReadLine();
I've had to use it several times. In one case I was reducing fractions and needed the greatest common denominator. :-)
I couldn't agree more. I just recently added a blog entry on how the Transcender tests are absolute rubbish for trying to determine the skills a developer has. 30% of the test was on DataSets. WTF. I use DataSets about once in every project.
I also don't think the ability to snap off the definition of polymorphism means you can code anything worthwhile.
Oddly enough, my interview for the current job, they liked my answer that I don't know much of anything about DataSets because I use container objects and generics to manipulate data.
I agree that there are a lot of developers out there who don't know how to write an if statement to save their lives. On the other hand, it depends what you're looking for. At my company we a lot of work with datasets. We used to be a complete oracle shop with forms and reports, and have now started working with .net, however, most of our code is in packages and procedure. We don't need any developers who have no idea about what a dataset is or have no clue how to write objects on the database. That's development too! I don't see how you can be a developer without knowing what the big picture is. Answering that you don't know anything about datasets because you use container objects and generics sounds impressive, it also sounds like you have no interest in expanding your horizons and learn what happens to your data.
No, that's me saying that DataSets are cumbersome and expensive objects in .NET. Ever try to serialize one across a Web service? They're huge! DataSets are a one-size-fits-all solution that is mediocre because it tries to be too many things.
Yes Jeff, that is exactly what I told them. DataSets, while improved in .NET 2.0, are expensive containers that developers over-use all the time.
I'd much stick with throwing around Objects/Object Collections accross my tiers.
I cannot believe that self-proclaimed senior .NET devs would not even know about the modulo function.
Granted, some may not know the exact operator off the top of their head but should at least be able to write psuedo code with modulo in it.
Also - senior devs (8-10+ years experience) who say they haven't used recursion? I do find that hard to believe.
Call it what you want. I've interviewed them too.
I don't think the test is about the modulo function. It's about solving a challenge. I'm confident that you could write a simple function which checked if a number is evenly divisible by 3, right?
Jon - well ofcourse, but wouldn't you assume experienced developers would at least be aware of what the modulo function does!?!
coding is one of the most complex part of programming. you need to devote yourself, like you need to be connected emotionally otherwise you'll fukk everything up. my advice is to take your time and be yourself and dance with the code. LOL
//There are two types of programmers:
[Flags]
enum ProgrammerTypes
ExamPassers = 1,
SuccessfulExperienced = 2,
Both = (ExamPassers | SuccessfulExperienced)
//The only one that really matters is the second bit.
I've worked in companies that have hired total duds, you're playing with fire if you don't ask these kinda questions.
You've never used to mod operator in C# (or any related language)? We were just talking about this the other day at work...sure you can almost always find a different solution, but never a rarely a better one. That's like saying you never used the multiple operator 'cuz you only bothered to understand the addition operator.
I know what it is, I just never realized it was "%" in C#. I've never had to use it, even once. Why is that so surprising?
For first job out of college I got grilled with SQL/PHP questions. I had a couple friends apply and did not know any answer and still got the job. The only difference between answering the questions correctly and not is the pay...I guess the price was $10,000 more for correct answers. Where do they calculate this crap...
I've used the mod operator a couple times ( 2 or 3), I've been using C# and .Net full time for the last 4 years.
I really don't find that it comes up very often, even though I read the C# spec when it was publiched, I still needed to look up the operator the first time I was going to use it.
Why oh Why can't VMWare or Virtual PC come up with a Coherence competitive feature. Something that I would die for now that I'm on Vista and some of my Apps don't like Vista.
Hey Jeff, thanks for the updates on running VS2005 on a Mac. I'm leaning to go that way but dropping that kind of loot on something that will hurt me doing my day to day job kinda worries me so it's nice to see people having success.
Now if I can just get my company to buy me one for work...
Everyone "has a friend," but that doesn't equate to a scientific study. The CPU speed difference in your example is $300 of the price difference alone.
And besides, it's Windows. :)
I'm assuming you're responding to my previous comment, which for some reason isn't showing yet. I was going to put a caveat about "everybody has a friend", but my comment was already long enough.
I'm afraid this might start to sound off like a PC vs. Mac diatribe that is all too common - that's not my intention. I'm all for making the switch (although the commercials can get annoying) and both your points are taken, but equating everything out, you're still looking at ~$700 difference ($1800 plus $300 for the chip)...
Having said that, I continue to watch your blog and others that touch on using Parallels on a Mac, particularly in regards to experiences with Visual Studio. Coherence sure looks great.
Weird... I'm not sure where you comment went!
Well, these things do ebb and flow depending on supply chain speed. Like I said, my Mac Pro was cheaper than the equivalent Dell workstation, and the Dell didn't come in a cool case. Literally... this thing holds no heat, and you can barely hear it.
Regarding the "sleep while the lid is closed" problem... Try Sleepless: http://www.versiontracker.com/dyn/moreinfo/macosx/17893
That should solve that one. ( ;
I think you guys got it wrong. I'm having the same issue - I can't use the ORDER BY clause when defining a cursor. Example:
DECLARE c CURSOR FOR (SELECT * FROM table1 ORDER BY col1 ASC);
SQL Server (2005 for me) takes a huge crap and says "Incorrect syntax near ORDER BY."
I've found nothing else about this, either. Even in the MSDN help, the second example in the topic "DECLARE CURSOR" shows it use an ORDER BY clause in the cursor declaration.
..or maybe I'm wrong and it's something else. [shrug]
This is an item from 2004. :) These days we'd use CTE's in SQL 2005!
I figured it out. You can't use parentheses around the declared SQL statement. Ugh.
Invalid: DECLARE c CURSOR FOR (SELECT * FROM table1 ORDER BY col1 ASC);
Valid: DECLARE c CURSOR FOR SELECT * FROM table1 ORDER BY col1 ASC;
Haha, I didn't even see the date - just came up in a Google search. Way to raise the dead! :p I'll do research on CTEs now.
It's really nice.but no body has given the answer of
"Do you know why the SaveViewState events fires twice for page and control?"
Hi,
I also have the power jack problem on my HP Nx9110. Anyone know where I can download a manual to dismantle the bak to get to the jack so it could be soldered or repaired.
Thks
Sanjay.
I've been writting for years and yet to find a publisher that I don't have to invest hundreds into.
I don't want to self publish. What should I do?
Actually... the question was not about the mod operator - it was about printing Fizz or Buzz (or FizzBuzz) at the appropriate time. You do not need to know about the mod operator to do this -- it is just most obvious approach. FizzBuff is designed to test if you can think rather than if you know a fact.
well i've solved some stuff with sql CLR.
Like:
- multiplying column values
http://weblogs.sqlteam.com/mladenp/archive/2007/02/12/60088.aspx
- Creating an extended datetime type that covers all .net daterange (0001-01-01 - 9999-12-31)
http://weblogs.sqlteam.com/mladenp/archive/2006/12/16/52754.aspx
- creating a very high precision timer for sql statements
http://weblogs.sqlteam.com/mladenp/archive/2006/12/02/39124.aspx
i've used all 3 with great success in my escapades :)
Have fun!
PingBack from http://blueonionsoftware.com/Blog.aspx?m=View&p=2ca2a702-6c80-4fc2-9f98-076dbfcc50f4
Check out Grisoft's AVG. It's free alright.
http://free.grisoft.com
Unless your friend's installed a server OS, it's a freebie for personal use. Yep - updates are free too.
Ubuntu hasn't given me much hassle with viruses lately either...
Aren't you a ray of sunshine... I thought I subscribed to .NET blog...
Macs don't have viruses (yeah, right) because it's not worth the time for hackers to create them. I guarrantee you more viruses would be out there if the OS was more popular, making it worth the time. Take the lack of viruses as a sign if insignificance. I can also say this doesn't mean the OS is more secure.
McAfee is a really poor choice for anti-virus software. AVG and avast! are free _and_ much better. Your poor choice in software reduces your credibility when you're pushing hardware and operating systems.
Being a programmer for Web apps means I'm supposed to be an expert in anti-virus software? What planet are you from?
The truth stands, I don't need anti-virus software on my Macs. There's nothing to debate there.
It doesn't quite sound like a statement coming from a software professional though "The truth stands, I don't need anti-virus software on my Macs."
Especially since you're admitting you're not an expert in anti-virus software, I think the basis for that particular claim is not fully objective.
It's as much ignorance as you could expect from any non sofware professional.
Seen this?
http://www.macvirus.org/
btw, I've never used a MAC but wanted to years ago when those Video Toasters came out.
And can someone point me to widespread instances of virus infections on Macs? Note that linked site with "first OS X virus," from last year, and apparently no one has ever been infected by it.
This isn't about religion. It's not about drinking the Apple KoolAid. The fact is Mac owners don't have to worry about getting a virus.
If you're gonna call me ignorant, get a Mac, use it for a year, and get back to me first.
Macs don't have virus issues because nobody cares enough to write one, except for security professionals who were able to do so rather easily when they decided to do so.
Security by obscurity is a really dumb reason to not worry about viruses on a Mac.
Is that based on your research? Because it seems to me that the reason no one is interested in writing a Mac virus is because you have to be the ultimately stupid user who would enter his or her password to install the virus.
Confirm or deny, indeed.
I really would like to see control events there, such as the button click event... and session events, thanks!
Ignorance is bliss isn't it?
http://projects.info-pull.com/moab/
Again... show me. I've read through a lot of that junk, and the "proof of concept" doesn't translate into a workable virus.
And did I mention there are no viruses in the wild that exploit these?
You guys absolutely refuse to accept the fact staring at you in the face: I don't need virus protection hurting my performance on OS X.
Why didn't you use the built in Subversion server? (not being sarcastic or anything, I'd honestly like to know).
Hi Jeff,
I haven't used VSTS but if PrivateObject is the ability to test private methods then mbUnit has added support for that in their latest release.
John
Just so you know, there are Windows based wizards out there for subversion. You have to do some searching for them, but generally they make setting up a subversion server very easy (more like what you'd be used to with Vault or VSS). You don't have to monkey around with the config files, you just select or type and press next.
Why was it necessary to run it under Apache? svnserve runs as a Windows service, and it's not too hard to set up:
http://svn.collab.net/repos/svn/trunk/notes/windows-service.txt
Apache is necessary for advanced security configuration and other extras.
I think you've got a valid point. While there have been "proof of concept" viruses for Mac, none have really caused any real problem.
Jeff Atwood (codinghorror.com) recently did a comparison of Anti-Virus software for Windows and concluded that the established, more expensive products (Symantec, McAfee) are the worst. He said that he's never run Anti-Virus software and thinks it's unnecessary. Especially in the Windows XP SP2 / Vista world, Windows viruses seem to have lost most of their bite.
Agreed, that and it's apparently a real pain to get svnserve to coexist with IIS. A guy I trust felt pretty strongly about that. It also looks like it stores passwords in plain text, which I'd prefer not to do.
> Agreed, that and it's apparently a real pain to get svnserve to coexist with IIS.
What did he mean by "coexist"? I have IIS and svnserve running on the same server with no problems at all.
Too funny, I am having the same problem, loose connection between the power cord and laptop. I have had this issue for 2 years now and would not buy another HP again.......
PrivateObject is used for testing private methods and as John points out has been added to MbUnit 2.4 beta 1 you can see how it works here.
http://weblogs.asp.net/astopford/archive/2006/12/20/testing-private-methods-new-to-mbunit-2-4.aspx
MbUnit 2.4 beta 1 can be found at
http://weblogs.asp.net/astopford/archive/2007/03/06/mbunit-2-4-beta1.aspx
Thanks
Andy
You may want to check out the AnkhSVN plug-in for Visual Studio .NET, which integrates very well, and best of all, doesn't actually use the MSCC provider model that most VS source control plugins use.
http://ankhsvn.tigris.org/
Regarding PrivateObject, simply create a BaseFixture class which uses reflection and let your fixture inherit from it.
Here's a simple and cut down version.
public class BaseFixture
public BaseFixture()
public object InvokePrivateMethod(object o, string methodname, object[] args)
return o.GetType().InvokeMember(methodname,
BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.InvokeMethod,
null, o, args);
public object InvokePrivateStaticMethod(Type t, string methodname, object[] args)
return t.InvokeMember(methodname,
BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.InvokeMethod,
null, null, args);
I saw a post on the JetBrains blog yesterday this week about using VSTS test in the Unit Tester. I have not tried it yet since I am not using VSTS for testing but I would trust JetBrains not to link to something that would make Resharper look bad.
http://blogs.jetbrains.com/dotnet/2007/03/vstsunit-support-in-resharper/
We MUST let the steam out of "steam"!
This whole concept is crapola. I will never buy a game that requires steam again.
The servers are slow, they are often temporarily unavailable for weeks on end, and EVERY time you want to play you have to go "through" steam. Even with the offline procedure for steam, internet access is still required.
I bought a game, if I dont want to register it, I should not have to. PERIOD!
I wouldn't recommend AnkhSVN... it's very heavy/slow/bloated (unless they've significantly improved it since last time I used it...) check out VisualSVN http://visualsvn.com/ It's not free, but it's cheap and works much better IMO.
I must agree Steam is total bullsh*t
Very long loading times and hassle to play.
Finally I got HL2 to work without too much trouble, and it didn't stutter or freeze, and I must say the game is very good.
I do get some problems playing online though. Sometimes it gives unexplainable errors, I have to re-validate everytime I push a button and loading times in which I could grow a beard, shave it and grow it again. All in all the Steam part is total junk, but the games are good running without any problems.
Valve, I have three tips for you: DROP STEAM, DROP STEAM, DROP STEAM ....
regards,
Subhero
How the heck do you uninstall the demo when done?
And HL2 suck's i dont like it.
Bring TechTV back!!! I used to watch that channel religiously and the E3 coverage was amazing. I used to take off from work just to watch it!
The Screensavers, Call for Help, TechNews, Fresh Gear, Extended Play (formerly Game Spot TV).... omfg what were they thinking?
You take it from a primarily tech channel, and now have the man show, star trek, fastlane, and other Fox shows? Are you friggin kidding me?!
Are these people just paying a 3 year April Fools Joke that they will surprise us with in a few months? God I hope so!
Shame on you, Cindy and Darren! Teachers are more than babysitters! We are also parole officers, social workers, nurses, and whipping posts! I love teaching; unfortunately, I get to do very little of it. Instead of leaving no child behind, we need to leave SOME kids WITHOUT a behind.
Is there some number I can call, or some address I can mail to, give them a copy of my receipt and the serial or something and have them MAIL ME an actual copy of the game?
I have frigging dial up. I did not pirate the game. I have a legal copy and even have my original store receipt.
I paid 30 bucks for the game, and I friggin want to PLAY IT THIS CENTURY.
This will be my last purchase from Valve, I'll tell your that...
I would also like to see the code :)
I've had an HP dv8000 since 12-05.. same problem.. bad power connector burnt the motherboard. compusa warranty fixed it the first time but 3 months later it did the same thing.. now compusa says no, physical damage or some crap.. never will I buy anything HP again.. really bad design..
For those of the humorous sort, I've written an updated install guide:
http://waxingcatatonic.blogspot.com/2007/03/real-guide-to-visual-studio-2005-sp1.html
:)
Jeff, great writerup. I should point out, however, that Microsoft DID start over to a large degree when they wrote the NT kernel. It took the better part of a decade to get the consumer version of Windows off the 9X kernel, because of (among other things) compatibility issues.
You need to take into account the fact that Vista is required to support a bazillion different hardware/software configurations. The Mac. only supports their software, a few 3rd party apps that they sign off on and ONLY THEIR HARDWARE. This makes a huge difference when it comes to how the OS runs and what is required to support. Now only so, the Mac. OS does not have anything remotely close to the .NET framework or application support or low-level development support or addin programming support.
I think that's largely a cop out. The issues I have with Windows are not hardware related unless I'm playing games and there are driver issues.
And come on, the tools for developing on a Mac are adequate. Nothing quite like Visual Studio, I admit, but the tools are there.
I guess I really don't understand why people keep slagging on the security of Windows. I haven't ever had a virus or worm impact my home systems, and the last time we had a worm or anything of it's like impact systems at work was SQL Slammer.
Why? Better patch processes mainly.
I guess if you don't want Mac slagged upon, don't bash Windows. That's the lesson here.
I don't have any problems with my Windows machines, and can't think of any annoyances from the OS which prevent me from doing my job. Windows just works, that's why i like it.
I guess you're just more fortunate than I am. I'm always fighting Windows.
Windows has evolved a lot from 98 to XP. I think I have never seen a Blue screen on windows XP, and I only have to reboot when I install some software that requires it.
I am not going to talk about Windows Vista, because I am not crazy to install something from Microsoft before it releases a service pack.
they are talking about you here
http://apple.slashdot.org/comments.pl?sid=44091&cid=4592270
Yes, the old "you don't know how to use your computer" thing is always a really solid argument. :rolls eyes"
OMG that is about the dumbest post i've ever seen. I too like some of 37signal's philosophies, but that is just plain stupid.
REAL MEN USE PUNCHCARDS!!!!
No no no no, you're missing the point.
You give the interns an empty desktop with notepad and tell them to have fun. Later, after much pain, suffering and hopefully halarity, you allow them to use an IDE (maybe an outdated one first).
<q>Using a text editor instead of an IDE because you want to be "in control" is like rubbing two sticks together to make a fire when you have a flame thrower available to you.</q>
<p>How many Boy Scouts are you going to take out when you fire up that flame thrower at your next camping trip?</p>
<p>The point is sometimes you don't, or <em>shouldn't</em> use that flame thrower, just because it is available to you. If you want the fine control, perhaps the IDE isn't going to give you the level of control you need for the particular task.</p>
<p>You should also note that Windows Notepad is <strong>NOT even close</strong> to on par with the text editor that 37 Signals uses: TextMate. Way more powerful, way better. Try <a href="http://www.e-texteditor.com/index.html">E Text Editor</a> for a taste of what they're talking about.</p>
If you don't have control, then maybe you're using the wrong IDE.
Notepad == pinhole camera?
I always have intellisense turned off - if I need it I just hit ctrl+space.
I see their point, but its a little extreme - maybe with a language that has a handful of language contructs.
Just watched the screencast of that editor and its pretty much VS with no intellisense - it looks cool nonetheless though.
Like anything though, a good coder can use notepad as easily as they can use something like notepad.
I agree with you Jeff :-)
Text editors come in very handy with any coding IDE, even for tricky methods of debugging XML, but especially for stripping out rich text when you copy and paste code from IDEs like VS 2005, which is something I use Editpad for a lot.
ok i disagree w/ you.... I love visual studio and eclipse and net beans before that.... BUT as that im reaonably new to the ms fold (4 years) I can say that many ms developers I interact w/ can be kind of brain dead due in part to their dependence on visual studio... they lose track and sight of what their doing... or never knew in the first place. To be honest if im not working in a .net environment im working w/ a nice text editor (textmate usually) and a console, and feel plenty productive.
Keep in mind that visual studio is an anomoly in the ide world... becuase... compared to many others its pretty good....
I disagree, Mike. The dependence on Visual Studio is not the problem. The abysmal state of API documentation on MSDN is.
This is dumb. Maybe when you are first starting and not required to get important things done in a short period of time this makes sense.
Most developers are not at this level anymore, especially in the workforce. If you know what is going on then use the best tools available. The point is to be productive. Use frameworks that empower you and IDEs that simplify your life. I do not care if someone NEEDS their intellisense. These people are most likely onto higher things now in their roles as developers.
Writing code is important, but I would rather use my brain cells on design patterns than language syntax.
I don't care about the hardware or software. The competition is good, but not to the point of making one that much better than the other.
The thing that I think is the most annoying to me is that Mac people think they're so great for owning a Mac and always need to tell people. It just seems a bit pretentious to me. I know sometimes Windows people can be like that, but Apple built a whole marketing campaign that encourages this.
Perhaps, but once I switched, I felt it wasn't hype.
I'm a little late, but I run Parallels on a 12" MacBookPro Core 2 Duo with 3 gigs of ram. I give XP only about 756megs of memory to work with, and 32gigs of hard drive. Visual Studio 2005 and a full SQL install work quite well. However, I've gotten lots of blue screen's in general when things down shutdown properly (like if osx freezes). But fortunately, you can easily clone your whole xp instance in just a few minutes, so complete backups are easy, and you can boot instantly to it in case of emergency. (I probably have 6 or 7 standby XP/Vista/Linux images)
With parallel's coherence mode, it's really nice!
I hope don't take offense, but your UI is pretty depressing. In spite of the AJAX-ness (I can make words up too!), it seemed pretty ordinary. Less-is-more is great, but I think you need some major re-designing to make the forum more appealing...that's my two cents anyway...
Also, and this is probably due to the fact that your AJAX isn't asynchronous yet, the UI completely stops responding when you click on a name, until the information is retrieved. Pretty annoying.
I haven't really been following your POP forums project, so forgive me if I'm missing something obvious.
It is quite asynchronous now, thanks. I don't take offense, because I think you're wrong. There is no reason to make things prettier for the sake of being pretty, especially since it will live in a page template on 99% of the sites that use it.
But there's clearly a need for the word, "high performance" or "high performing" as an adjective is too much of a mouthful.
Borrowing "performant" from the French is a natural thing to do - that's one of the ways languages evolve.
um hhhhhhh how do u like ckrack open an i pod cause my like hold botton is stuck on hold or something hhhhhhhhhhh yah thats a good one beavis hhhhhh
I just started using your control here...it works great and I'm really happy that you posted it for all. Only problem I have encoutered is that the modal-ized area doesn't cover the entire page only the height of the visible browser area. So when a user scrolls down, they see the modal line and controls below the line work (when they shouldn't). this occurs in IE7 and FF. How do I get the whole page to be modalized?
thanks very much!
-jason
I agree at least in part with the point made. I think that the most important thing with any development tool is control and understanding. If a tool is doing something for you which you are unaware of, you should switch it off and get to know that feature.
IDEs should be a power user tool which allows a developer to take shortcuts and just "Get Things Done"(TM).
Can we get any more apple banter from you? How is this "General Software Development" related?
I'm sure the AppleTV is very nice and simple to use. That said, I think the Xbox 360 is also extremely simple to use. My technophobe wife uses it all of the time and so I find some of the ooohs and aaahs about AppleTV a little much.
christoc - shouldn't Jeff be able to post anything he wants here? It is his blog after all.
I think it's relevant because almost everything about Apple involves UI, and that's software development. If you don't like it, don't read it. It took you more time to type your response than if you had just skipped it.
I have a 360 as well, and I absolutely love it. The problem is that, in terms of music, it's not part of the Apple stack I got into four or five years ago. Microsoft has had so many DRM schemes and device chaos since then, and no store I've wanted to use. The 360 is great for trailers and "rental" downloads, but as a media hub it doesn't meet any of my needs really.
Jeff, with all due respect,
I read this blog entry through 'ASP.NET Community Blogs' aggreation blog. This entry has no place there, but I don't know whom to complain?
I know I can always skip reading your entries, but it is annoying to see completely irrelevant entries in 'ASP.NET Community Blogs'.
I love when people say "with all due respect" when they really mean "I don't respect what you're doing at all."
People gave me crap a couple of years ago for posting career related stuff too, which I found particularly absurd since that's as much a part of what we do as typing "public void" on a daily basis.
You're free to disagree, I'm just not that interested in hearing about it.
Too bad the Apple TV is propertiary technology and locks you into using Apple everything.
Not that Microsoft is any better, but man it'd sure be nice if these companies could agree on a standard. Imagine if to play a DVD from Touchstone you also had to buy the Touchstone set top box.
I agree that's a real issue, though as I mentioned, not a big deal if you're in the iTunes world. And "proprietary" is relative too, since H.264 and MPEG-4 are hardly Apple technologies. If your video stuff is in that realm, you're golden.
Maybe someone reading this can tell me what this line is in VB
return this.FindAll(delegate(NavEntry nav) { return nav.Title.Contains(text); });
I get every apple thread posted because it comes across the asp.net feed, I guess I need to setup a rule in my outlook to just delete all RSS items that have the word Apple in them, then I'd be golden :)
but you can pass in parameters to a predicate and create much more robust search patterns with them via encapsulation in the predicate:
private class MyPredicate
private string foo;
private bool bar = false;
public MyPredicate(string foo) { this.foo = foo; }
public MyPredicate(string foo, bool bar)
this.foo = foo;
this.bar = bar;
public bool find(string s)
if (bar)
return this.foo.Contains(s);
return this.foo.Equals(s);
usage (where this is List<T>):
MyPredicate p = new MyPredicate("test");
this.FindAll(p.Find);
-or-
MyPredicate p1 = new MyPredicate("test", true);
this.FindAll(p1.Find);
that's just a simple example. HTH
Yeah this is the typical feature-castrated Apple product for retards.
Avoid using anonymous methods: they are hard to understand. Previous example is much more easy to understand.
Following article explains it all...
http://dotnet.sys-con.com/read/319753.htm
With all due respect Sebhelyesfarku ...
Hard to understand? I'll admit that delegates in general are kind of a weird and abstract concept to grasp at first, but how is my example not easy to follow?
Trey's example is pretty good if you need to do something more complex. Mine was intended to solve the problem I encounter most of the time quickly and in a line of code.
At least Apple TV/iTunes is cross platform. Windows Media's encrypted files (and Zune's) can't be used on a Mac even though making such compatibility possible probably wouldn't be a massive undertaking. iTunes, on the other hand, works with 99 percent of the world's computers since it works on Windows AND Macs. So, technically, you don't have to buy Apple everything (hardwarewise)...
Brian Clubb mentioned that it annoys him that "Mac people think they're so great for owning a Mac and always need to tell people" It's not pretentiousness, Brian. Sometimes it's a "Wow, this is so cool, I have to tell everyone about it" kind of a thing, and other times, it's a "Hey, if you did things this way, it would be easier and more fun" kind of a thing. Mac folks like to share and help each other, so that spills over into conversations with non-Mac users sometimes.
Personally, I think the problem with Mac Vs PC arguments (and the trolls that have them), is that far more Mac people have used Windows than Windows people have used OS X. The Windows people are arguing from a position of ignorance, and the Mac people can't understand why the Windows people are so obstinate and insulting to them. I've been called many names on the interweb, by people who know nothing about me, merely because of my preferred computing platform. That's why Mac people seem so sensitive. Windows folks tend to be awful quick with the insults (in my experience).
Anyway, thanks for the article. Speaking as a cross-platform-but-Mac-preferring guy, I'm glad you "get it"!
Interesting -Competition is good. I loathe the video selection that is available for my XBOX360. The selection right now is so limited and the DRM is stupid...., but with Apple TV joining the fray, hopefully studios will open up content up a bit.
I can't wait for C# 3.0 when I get to write:
return this.FindAll(nav => nav.Title.Contains(text));
"Proprietary" is not relative. It does not mean "obscure" or "non-standard". It means "owned by a proprietor".
WMV is owned by a proprietor. It is proprietary.
ATRAC is owned by a proprietor. It is proprietary.
WMA is owned by a proprietor. It is proprietary.
AAC, H.264 and MPEG-4 are open standards.
ALL DRM is proprietary.
DRM is not a requirement for AppleTV, nor iPods.
Jeff I was just about to post but Duncan beat me to it. As he said this:
Will be able to be written as this in C# 3:
Also note that VS Orcas will actually let you write this code using C#3 targetted against .NET 2. In other words you will be able to run this code on .NET 2 without needing .NET 3 or 3.5 installed on the client machine because it is all some by the compiler and does not require runtime or library support :-) (thanks for ScottGu for clarifying this).
That's very sweet. I was all over the betas of v2, seeing as how I was only writing my book at the time, but with a "real" job this time around I just haven't taken much time to look at v3 stuff outside of what Scott has been posting.
I'm amazed that passing in an anonymous predicate isn't totally obvious. It's the entire reason all those finders were added to the collection hierarchy in the first place.
This is totally standard practice in most decent languages. If this looks cool or tricky to you, you need to put down C# and learn some better languages.
Ruby, Scheme, Python, or Smalltalk would be a good start. C# is a rather impoverished language and you don't know what you're missing if you haven't tried a couple other good languages.
For one thing, you shouldn't have to subclass a generic list add a method like GetItemsContaining to a list, the whole point of the generic finders and generic lists is that you can use the generic list "as is" without needing to subclass it. If you subclass it, it's no longer a generic list and you've gone back to the old method of type safe list subclasses, YUK. You should do this instead...
<pre>
IList<NavEntry> SomeMethod(string someText){
IList<NavEntry> entries = //fetch from somewhere
return entries.FindAll(delegate(NavEntry each){
return each.Title.Contains(someText);
});
</pre>
The point of the anonymous method is that it allows the client to search for anything he wants without you needing to write special search methods like GetItemsContaining. If you're going to use generics, use them right, don't subclass them. You shouldn't have to subclass a generic list, it defeats the purpose.
Other languages do this better. For example, in Smalltalk this example would look like this...
someMethod: someText
entries := //fetch from somewhere
^entries select: [:each | each title includesSubString: someText ]
In Ruby it'd look like this...
def someMethod()
entries = //fetch from somewhere
entries.select {|each| each.title.include? text }
end
In Scheme, it'd be something like...
(define (some-method some-text)
(let ((entries '("fetch" "from" "somewhere")))
(filter (lambda (each)
(substring? each "text"))
entries)))
Seriously, using anonymous methods and higher order functions is par for the course in any decent language. Don't let just one language shape your thoughts. Anonymous predicates are basic stuff, not some fancy pattern only smart people use.
I was with you right up until you started dissing the language. How is that constructive or even relevant? Shall I tell my employer (and most of the employers in my area), "Hey, forget this C# stuff. Use Smalltalk instead!"
I guess we must agree to disagree. Was just offering my opinion as an end user.
I'm not dissing it, I use it daily as well, both VB and C#. I'm simply saying it's not the greatest language to "learn" things in. One should learn Smalltalk because it'll make you a better object oriented programmer in any OO language. One should learn Scheme/Lisp because make you a better functional programmer in any functional language.
These languages are what's called "pure", whereas C# is a mixed hybrid that makes learning new things difficult in comparison.
Everything you learn in Smalltalk/Lisp will directly transfer to "any" language you work in because all those other languages in one way or another are derivative of Smalltalk/Lisp. They're the Latin of programming languages. Once you know them, everything else looks easy, and less capable.
That's not an accurate assessment of how the real world works. Only half of the people I work with majored in anything computer related in college. The rest of us did a number of other things. We learned what we had to do to make us marketable.
Does not knowing the finer points of language design or design patterns make us less useful developers? I'd say not. I think we write some damn good software, and frankly we deliver useful stuff quickly.
Um, I am one of the rest of you. I'm self taught. I'm not quoting stuff I learned in college, I didn't even go to college. I work in the real world just like everyone else, and what works in the real world is delivering results.
C# might make you marketable, but Smalltalk/Lisp will make you a better C# programmer, and in the real world, that matters, and ultimately makes you even more marketable. This isn't abstract computer science stuff I'm talking about here, it's basic down in the dirt programming. Passing around anonymous delegates(aka functions) is something even JavaScript does constantly, and that's about as real world as you can get.
Learning isn't a zero sum game, you aren't going to learn less about C# by also learning other languages. Quite the contrary, the other languages will help you learn and apply skills faster, and will apply directly to C#. Programming is in the mind, not in the syntax, and those other languages enable your mind to flourish faster than C# can.
I don't think you're seeing my point. When am I going to do this? In my spare time? That time is reserved for being social, hot tubbing, or traveling!
No, I see your point, I just don't agree with it. If you can't find a little time now and then, outside of work to sharpen the knife, you're just making your work that much more difficult and time consuming.
Once you sharpen the knife a bit, the work itself becomes so much easier, that it becomes easy to fit this stuff into work hours. You don't have to be able to write code in these language, to learn to read them. Learning to read them alone, is enough to benefit from the ideas you'll get from them.
For example, subclassing a generic list to make a type safe list shows such a gross misunderstanding of generics that I can tell right away you aren't actually benefiting from them as much as you should be. Proper use of generics could actually reduce your workload by tenfold or more, if only you sacrificed some spare time to study them better.
When you declare an instance of a generic list
IList<Customer> list = new List<Customer>();
Conceptually what is happening is the compiler generates a CustomerList for you, on the fly. Generic lists are supposed to save you from having to manually build type safe lists.
But generics are much more powerful than this, they can be seen as code generators that greatly reduce your workload by having generic templates that you subclass and parameterize with the subclass itself in its own declaration.
class Customer : BizObject<Customer> {}
Could instantly give you access to an api like Rails but completely type safe with no casting...
Customer customer = Customer.Find(300);
IList<Customer> customers = Customer.FindAll(delegate(Customer each){
return each.Name.StartsWith("a");
Money totalOrderAmount = Customer.FindAll().Reduce(Money.Dollars(0), delegate(Money sum, Customer each){
return sum + each.OrderTotal;
Because you can write methods like Find, FindAll, Reduce, Map, Collect, Reject, etc. totally generically without a specific type in mind knowing it'll be passed up as a parameter later.
You could take any code you write that appears at all repetitive, and make a generic template that completely automates that for you in the future. The point is, the effort you must put into learning this stuff, even if it's in your off time, will pay you back a hundred fold by reducing your work load and actually giving you more free time in the end. So the truth is, you don't have time not to do it.
PingBack from http://www.computerdefense.org/?p=296
I recently developed some code where I created TList objects. all they did was inherit from List<T>. I did that to make the code more readable for coworkers that don't know generics (yet). They can now say:
ItemList items = ItemManager.GetAll();
But they can also still do this:
ItemList items = ItemManager.GetAll().Find(
delegate(Item item) {
return item.Name.StartsWith("a");
);
How is that not good? I still have the power of the generic list, but my API is more expressive (Item, ItemList and ItemManager). Also, there might be methods you want on the list that are complicated enough that you don't want to repeat them where you use it (in the anonymous delegate), so now there's a place to store it.
I'm interested in your feedback because your strong statements made me doubt my own methods. I'm trying to sharpen the knives here, so to speak ;-)
Work is not difficult or time consuming. That's why I made the comment that we're doing quite well. Learning another language takes a hell of a lot more than "a little time now and then."
Ramon's comments have certainly drawn my interest into looking at the core concepts in languages like Smalltalk. See how I said "looking at", not "learning a whole new language". It's about grasping concepts, being able to apply them and to see parallels in different languages, that in the end aids your developer toolkit.
Honestly Jeff, you seem to over-argue and "yay-nay" until the cows come home instead of simply saying saying "Wow, how interesting I'll have a look at that."
In the end that kind of attitude would fare you much better.
And yes, I don't give a hoot you won't give a hoot about my opinion either. ;-)
That's because I'm more business minded than most code monkeys. Even if something is "interesting" I attach some value to it. I can't possibly find the time to follow up on every thing that's interesting to me.
"How is that not good? I still have the power of the generic list, but my API is more expressive (Item, ItemList and ItemManager). "
@Mike, because you now have to maintain that cruft. Subclassing a generic class to produce a type safe version is exactly what generics are meant to prevent. It's useless code that adds nothing of value.
"Also, there might be methods you want on the list that are complicated enough that you don't want to repeat them where you use it (in the anonymous delegate), so now there's a place to store it."
@Mike, a common mistake I've seen people make. You should never put methods like this on a list. A list is a generic building block, specific code like this should go into specific predicates that can be passed to the lists generic methods. Put them as nested classes in your business class, then you can write code like this...
IList<Employee> deservesRaises = someList.FindAll(new Employee.EvaluatePerformancePredicate());
This puts the complex predicate, which contains business rules, where it belongs, in the biz object, and keeps the list, totally generic, a simple building block.
You might do something similar for IComparers and sorting...
IList<Employee> getsParkingSpotOrder = someList.FindAll().Sort(new Employee.ByPerformanceASC());
"I'm interested in your feedback because your strong statements made me doubt my own methods. I'm trying to sharpen the knives here, so to speak ;-)"
Good, more people should, it takes very little effort and the payback is tremendous.
@Jeff, I can't possibly believe huge increases in productivity aren't of interest to you.
"Learning another language takes a hell of a lot more than a little time now and then."
Actually, it doesn't, since most of them are similar, and you only need learn to read to benefit, not write. Learning to write another language can take more than a little time.
i guess im not the only one with the problem!my pavillion ze5607wm decided to go for a fly,droped 3plis feets,busted the dc jack,i took it apart,but i couldnt get to that area to replaced it!i understand its conected to the motherboard and might have to replace the board too?sparepartswharehouse.com said it will charge me 200 for repairing it,that includes parts/labor/and shipping to my hm.Doesnt it sound too good to be true?i hope not!!!shipping it today!!!
You are hiring for a Hibernate project. Steve knows Hibernate so well, he can write Hibernate mappings on a piece of notebook paper for any ORM situation without referencing any documentation. Mike understands Hibernate, and can write any Hibernate mapping given access to Google or Hibernate in Action. Let's assume that, in all other respects, both developers have personalities and values that align with your company, have other skills that will add value to the team, communicate well, learn quickly, have similar years of experience, etc. The extent to which they can write correct code off the top of their head, with or without an IDE, is the discriminating factor. Would you hire Steve or Mike?
Aaron,
If you haven't used AnkhSVN since the 1.0 release, I highly recommend that you give it another shot. I agree that most of the 0.x versions were unstable, to say the least, but apparently it matured really quickly and is now actually reliable. Check it out!
Same problem. I stuck a tiny piece of tinfoil into the power chord, then stuck it in the computer. It's working and I needed to jiggle it constantly before.
I didn't get a chance to go last year, but heard it was great. I think it's going to be a little different conference this time 'round. (Prolly some good announcements though!) I expect PDC will rock as it always does, so I'm also putting my $$$ there this year.
Did you ever find a fix for this? I'm getting the same problem and it's driving me nuts. -ed.
ed.ventura(at)gmail.com
Same problem as you all have on my HP Pavilion ZV5000.
Today I am going to replace the power jack with a new one which I ordered at Ebay.com
This is a big problem for HP and I will never buy a HP laptop again unless they recognise and fix the problem.
RE: A different Jeff (above) - you hit the nail right on the head. As a Mac owner/user, I have used Windows since 3.1 but converted to Mac OS when I had to purchase a Power Book G4 while a student at Columbia (a mostly Mac oriented Psych research lab). Since then, I purchased a Power Mac G5 and now a Mac Pro, and before then used a 23" Apple Cinema Display on a Windows system I custom built on a Lian-Li Aluminum tower. While I do run Windows Vista on another drive on my Mac Pro (for AutoCAD work), I do admit both OS's have pro's and con's, but the Windows/PC users get extremely aggressive and defensive when discussing the differences, making any debate virtually impossible and unfriendly. It's a shame, as it isn't a "personal" issue, but I don't understand the [extreme] sensitivity.
Same Problem. Gonna put a socket on a pigtail and change the plug on the charger.
2 words screw driver
Steam sucks. No one should by this crap because of steam. You're right, why pay $50 for a game that you have to register to play even in single mode and offline. It sucks.
Well, it IS an 1.0 product. But a Microsoft 1.0 product. That means that it's a 0.001a product by any other company standards.
It's not a problem with just HP notebooks, it's a problem with all Notebooks. The plug is small and everyone seems to think that you need to jam in the power adapter to make sure it's plugged in. You don't need to force it. I have my own IT company and have fixed many of these.
Not all notebooks... Apples have mag-locks that never break.
Unfortunately MS decided to use Java as their starting point for C#. Ah well. That's marketing for ya.
Ah, Lisp. You can build some great data retrieval systems using it. Sometimes I wish SQL didn't take off just so that Lisp would've become more popular.
PingBack from http://test2.netmoviehost.com/a-tale-of-two-aspnet-ajax-approaches/
Sorry, new to .net, can you please explain a little how to use your code?
Gustavo
It goes in a class that inherits DropDownList. It should be either compiled in a class library or in App_Code.
No-one has yet mentioned the DRM lock-in...
The licence situation hasn't been clarified - its been tightened - taking away your right to choose which computer to test vista on and taking away your right to choose to upgrade without paying for the same software again.
With previous versions OEM licenced software was tied to a "single major component" and wasn't transferable to a new machine, a full licence however entitled the user to install a single copy of the software - this could be used on any machine you like as long as it is only on 1 at a time.
To the comment about company living up to share-holders: do you believe a company should be able to abuse a monopoly and act how it likes to increase profits and reduce competition and justify it with some random comment about living up to shareholders?
Does living up to shareholders exceed the need to act morally?
Are you a shareholer btw?
One of the challenges of self-learning a new technology is to get the overall picture.
I have found a good number of articles on generics but they focus on one aspect and do not provide the overall picture.
Ramon's comments were really useful for me to see there's a larger picture for generics.
Is there a book, blog and/or article that you recommend?
You´re preaching to the choir. I have no solution for your problem but i can hate with you.
I had power issues on HP NX9110 a while ago , i switched to a new adapter , it worked a while and now the power light blinks like crazy .... I like my laptop ... is there anything I can do to fix it ... makes me want to sue HP ...
I really hate vista. Everything I run on it is incompatible and my hardware gets my BSOD's. Whats the point in it! Ive just wasted my money.
I think everyone should switch to linux (ubuntu 7)!
Check out my website at http://www.ihatevista.co.uk/ and share your vista experience.
Great post.
I don't know whether you've seen it since you posted this, but there's an app called Punakea which is great for tagging. Until iPhoto has that kind of functionality built in (or until i find it!) I'm using that and its mega handy.
Hi All,
Great solutions overall, however I can't seem to apply the theory to buttons which are not directly accessible in the code behind (such as buttons within templates of FormViews where a FindControl method is needed to access the control).
Here's a short snippet from the code behind:
Button btn = (Button)formView1.FindControl("btnUpdate");
Panel1.DefaultButton = btn.UniqueID;
I get an exception:
The DefaultButton of 'Panel1' must be the ID of a control of type IButtonControl.
I think the problem is Panel1 cannot find the button because it is nested in a template within the formview (i.e. the controls are roughly designed as:
<asp:Panel id="Panel1" ... >
<asp:FormView ID="formView1" ... >
<EditItemTemplate>
<asp:Button id="btnUpdate" ... />
</EditItemTemplate>
</asp:FormView>
</asp:Panel>
If anyone has a solution for setting buttons within templates as default please post!
TIA
Kevin.
I've just had it with IE. My job would be great if it wasn't for IE. I love developing for firefox and maybe it's my fault for developing for firefox on a mac and only at the end then spending hours fixing it for IE.
But, why does IE have to be so bad at rendering css. Why do I have to feel like I'm taking a degee course in IE bugs to get everything to look right.
How can we persuade the entire web community to stop using IE. Can we start an IE<1% campaign to get the stupid thing to a level where we don't have to code for it?
That is exactly what we were waiting for... thanks guys
Sort of agree.
The wisdom of businesses is also kind of stupid. The DRM is basically a way to treat your customers like criminals. But then, I do think the best answer is to not buy it. Don't listen to a company that is trying to sell you something restrictive.
We live in a global world. My girlfriend is Russian. Sometimes we want movies which aren't yet available in the US. So we'll order them, and we'll decrypt them so that they can be played.
Capitalism is supposed to be about Businesses responding to the desires of the marketplace... Consumers ought to be smarter, and stop buying products from companies that won't deliver.
never underestimate the power of large groups (crowds if you will) of stupid people
"Capitalism is supposed to be about Businesses responding to the desires of the marketplace..."
I think I disagree. Responding to the desires of the marketplace is not a foundation of Capitalism, rather it's a byproduct of Capitalism.
"The DRM is basically a way to treat your customers like criminals."
While I'm not crazy about DRM, it wouldn't be necessary unless the company has realized that they are losing money through theft. So, essentially, DRM was not created to treat its customers like criminals. It was created to prevent the customers who actually ARE criminals from illegal activity. Companies have a right to benefit from their hard work and innovation.
I'm not bothered by DRM all that much, mainly because I have no interest in copying and distributing electronic media.
"Don't listen to a company that is trying to sell you something restrictive."
You want restrictive... Have you ever read XP's EULA? Technically, you don't own XP. You own the license to XP, and the right to use it. That's all. MS gives you a copy of the software to run, but technically it still owns every bit of XP on your computer.
Wow.
The "constraints and boundaries" as you keep referring, lets call it the Provider model. The Provider model isn't meant to fit every scenario. However, what it does provide is a base functionality that is common to most authentication schemes. Authentication and Role Management are abstracted into the provider.. you shouldn't need to delve too deep into what it does. Consider linking users providerkeys (to another database on the same server) to a users table.. use your custom user table as all the extended data.. in your object model, you have a way to create your base user type from Membership.GetUser().
If you're looking to truly make interoperative controls, please continue to question your belief that using a provider system constrains you. http://en.wikipedia.org/wiki/Provider_model
HP makes the worst laptops ....
eindows vista is crap. I bought it on a new pc, and its heading back to the company windows xp will walk right around it with less memory and processor.
Morning
Has there ever been a resolution to this problem? We are experiencing the same issue. We have searched and tried all possible scenario, yet when we submit on the server it loses the session variable but not on the Dev boxes.
10x man, great job !
If you want make custom control and share it with the world ;)
I have to agree with Majik - I've been working with ASP.net for about a year now (having come from classic ASP) and I'm really not convinced it brings much to the party. It's supposed to generate all this cross-browser compliant code, but then it misses out on something pretty basic like OptGroups. What the hell? .net development takes about 50-100% longer than classic, and that's not because I'm learning it - it just does. However, and it's a big however, I have a sneaking suspicion AJAX really is the big deal over the horizon, so I'll keep plugging away...
In response to Kyle's comments...
If responding to the desires of the marketplace is not the foundation of capitalism, what is? Market forces are the underpinnings of pure capitalism.
It is regrettably too easy for companies to justify DRM or any kind of software protection by claiming to protect themselves from people stealing their software. Unfortunately, the only people hurt by these practices are the honest people who purchase the products (including paying for the DRM, higher prices, inconvenience, and issues). Those who don't pay for the products are those who would probably not have contributed to the company's bottom line anyhow, are able to break the DRM, and make it more likely to make honest people see how ridiculous the whole process is and how artificially constrained we are by the way media is packaged (case in point, not being able to play my DVD collection on my iPod). Everyone should be interested in DRM for these very reasons. In fact, the next HD DVD you can't seem to get to play at full resolution on your PC but works fine on your HD TV is probably because you aren't using an HDMI cable on your PC. The authorities should be going after the thieves and our country should be working with countries to make sure their laws respect the rights of the product owner. However, that should be the extent of it.
Finally, technically you don't own any software other than that which you write completely on your own. However, that software will be pretty basic without using any libraries that are all licensed with varying degrees of restrictions regardless of being open or closed source. How ludicrous would it be if GNU's license read, "By accepting this license, you own this software?" Or if Microsoft's license read, "By accepting this license, Microsoft accepts full responsibility for how it might be used including but not limited to any misuse?"
Is very nice, high five!
www.asp.net is down as well, so I'd assume the upgrade for CommunityServer didn't go so well last night!
It was working for me earlier today, but it was very slow.
The forums appear to still be working. At least for now...
Man, the exact day I decide to write a javascript using the Clientside library and I can't use the docs! Who's running the show over at www.asp.net? Very unprofessional.
I can understand How painful it can be when deployment fails that badly
Migrate to somehing other,like extjs+jquery-it has no server side dependences and I think it's more proper approach in long run than any AJAX.NET.
How exactly is that advice supposed to help me now?
I was just about to do a follow up post. I found the difference in the root web.config about 15 minutes ago, and it was in fact the xhtmlconformance tag. Someone should really think about doing a KB article for this one.
This morning I started combing through every config file on two servers that I mentioned in my last post
"They handed off to AJAX, which hasn't yet called us back anyway."
I guess they're taking the Asynchronous bit seriously then ;)
One of the key things that Windows supporters say in these discussions is 1. Game and 2. a 83% market share.
1. Game, windows wins hands down.
2. 83% market share, well how many of that 83% have ever "extensively" used any other OS? I think of the 83% about 15% of those people have used other operating systems and therefore are actually choosing to use windows the other 62% are practically having windows forced onto them.
Part of a monopoly is barriers to entry and i feel that this is a perfect example to it. People are just not using any other operating system because they cant get hold of it and from what i have found out by asking friends it seems to be that even if they have used it they come to the conclusion of "its different to what i am used to... don't like it... back to my PC" and thats it, they have made a huge conclusion. Computers are a huge part of a lot of peoples lives and i feel sorry for the 62% of people that are almost having windows forced on them as they are missing out.
Other things that PC users don't realize is how much their computing lives have been changed by mac. The mouse was invented by mac along with graphical user interfaces (although they did exist to a certain extent on games consoles).
My son also have the problem with his lap top. HP had replaced the mother board once, now it is aging giving the same problem not coming up. I have not seen mother board going bad within six months. The problem is some where else, Defective desing, insuffient cooling.
Sudhir
I enjoyed reading your blog from the start and its nice to hear you are having fun again. One day maybe I'll be in the same situation, until then I look forward to reading your posts :)
I disagree that educators lack imagination. I am a teacher who is filled with imagination however my administration frowns on any lessons that have any imagination at all, they want me to teach from the book. By doing this parents also complain a lot less.
Ubuntu?
Gentoo, please.
I don't see how Microsoft has a monopoly when there's also Mac. I'm on a Mac right now.
I think I'm going to ditch my XP when they're done letting it shrivel and wither away, and stick with some kind of platform on Linux like WineX, or Cedega, if I must pay. Linux has so much more power!!!!!
Power for what? Windows may suck, but it doesn't prevent anyone from doing the normal things they need to do.
I work for a one of the three biggest isp's in SA in a department that builds massive web applications and we use component art. Perhaps because our subscription is so massive, we have very few problems with their support, although when we started using ajax we did have a few problems getting a version out of them that didn't conflict with the ajax generated javascript.
"play-by-play every time I take a shit"
I'm sure Twitter users dont care if you run or pass, they want to know what color it is!
Must be a generation-<whatever> thing. I dont get it either. But you have to give it to Scott Hanselman for leveraging the service cleverly to generate the awareness about diabetes.
d0 u spe4|< h4x0r n00|3?
I also don't get the idea.. Or the usefulness of the service. But I agree that Scott probably used it most effectively in raising people's awareness of diabetes. As for the rest, I really couldn't care.
hey,,
use sql profiler for this...
dotnetuncut.blogspot.com
I am a teacher, there are blue collar jobs out in this world. I teach in a vocational school, we work with industry, ask what they need and then teach. Some may think this is just a way to wimp out on college but this is not so. Good car mechanics can make 60k +, so can master electricians. A good programmer makes around 70k (in my neck of the woods). If you don’t believe me ask yourself how much a plumber or an HVAC man costs per hour when he comes to your house. I promise vocational schools and Jr. Colleges are not for dummies.
Can anyone tell me why hitting F5 causes a web resource to be downloaded ? Here are some of the things I have observed using fiddler.
I have a page with a few compiled js resources being gotten through WebResource.axd. I also included some non compiled js resources and images (just straight img and script tags). If these items have been cached opening a new browser and requesting the page causes them to be retrieved from the browser cache, but if I hit F5 only the noncompiled resources are retrieved from browser cache. The WebResorces are gotten again. This doesn't make sense to me. CTRL+F5 should cause cache overwrite not F5.
My sentiments exactly. I was explaining it to a friend the other day who hadn't heard of it, and the same response.
I'm thinking like @rams above that it's a generation thing - the problem is I start thinking I'm old for not getting this one (and I'm only 30).
I think that sometimes it's good to "cut the cord", but then the question becomes, "What do you do with all that legacy code?" Do you just hit "delete" and poof, it's gone? I've been wrestling with that lately and as a result, have kept around a lot of bad code that I've been "meaning to get around to rewriting", but I just don't have the motivation, especially when there are newer technologies and development methodologies/approaches that are much better and would produce a much better product. So, in many respects, I see our "agility" as directly proportional to our "motivigation" (or lack thereof :-)
To simulate a profile group in a custom profile class, you could use nested classes. For example, put the "public class PopForumsProfileGroup : ProfileGroupBase" inside the "public class PopForumsProfile : ProfileBase". I think this violates CLSCompliant though, because nested types aren't supposed to be public (enum's are an exception to this). I'll give it a try and see if FxCop complains.....
Kevin: the DefaultButton property is of type string, so you need to set it to the UniqueID property of the control.
Jeff
Totally disagree with you! I am more a web developer than a windows developer and I can still make a huge difference betweent he two.
I don't know in what 'futuram' world you're living but I can tell you that not every location on this planet is always connected to the web!
The problem with the iPhone is more about the absurd idea to tell real developers at well established WWDC (with 90% of Appple developers there) that the only way to create an app for the phone is to get back to Javascript and HTML!
This is a joke in this way! It's the same debate with Google apps. No way I will put my data or use anything critical with an online software, whatever the size of the host.
I can understand that developers of real application would like to have an SDK as you can have today with Windows Mobile, simple as that.
Now I just read Flash won't be available on the iPhone, another blow for the openess of the phone.
I am an old Apple user, back to 78, but there I say Jobs has lost the plot. Hopefully as usual, he will change his mind in the next 6 months with the iPhone version 2.
Also one more thing. I watched the keynote and where it's laughable is to have one bloke on stage telling the developers audience that Ajax (indeed Javascript) and HTML was the new way to build solid applications, and all taht with a serious face :-)
LOL!
"I don't know in what 'futuram' world you're living but I can tell you that not every location on this planet is always connected to the web!"
In which case, said person would not likely have or be able to afford an iPhone anyway.
Okay, take off your black turtle neck and jeans, and take a deep breath.
Good applications, will always leverage the best of both worlds - Web and Locally running code.
If this wasn't the case, Jobs wouldn't have developed a client for google maps inside of iPhone. You could do maps.google.com from safari, right? But you don't .. !! Why?
You tell me why!
Good point Sahil!
Local applications are another beast than web apps, and this is a web developer who say that ;-)
Because they want to integrate it to the phone dialer. That's obvious enough.
"Always" is a silly word to use, as is "never." See above story about Web-based CRM.
We've got locations just in my office building where the cell signal goes out and I can't get phone calls.
I wonder if the internet will work without a signal? ;-)
It does seem really short-sighted to not allow offline apps; if that is indeed what this means...recently Google released a 'hybrid' app that has a local SQLLite instance to store data offline. Now *that* would make for an interesting experience! It would be incredibly cool if Silverlight worked on iPhone as well...maybe with some offline capability of it's own :-). Oh and I'm currently sitting with my new AT&T Treo with zero signal on the ground floor of an office building in Redmond...'always connected' is just a fantasy.
A very familiar scenario, one of my major gripes is the lack of support of PNG alpha transparency. You can create some truly beautiful thing with this but they render as big white blocks in IE.
Aside from connection issues the iPhone will have (and the lack of 3G for all of us non-Mountain View, CA living people); the glaring hole I see in all this is interacting with the specifics of the device.
Maybe I am in the minority here, but most of my mobile applications involve bluetooth devices connected via comm ports. Without an SDK or access to code running locally that can interact with the device itself, the iPhone is practically useless to me.
Sure the web development will probably be more feature rich than the .NET mobile web development, but for what I do this doesn't really matter.
Here's looking forward to iPhone 2.0
When do OnInit(EventArgs e), OnLoad etc come in?
(Morons. Said execs managed to nearly kill the company and get it delisted from the NYSE, while
Salesforce.com continues to thrive.)
Me and my mum invented a way to type messages via telephone lines. my short sighted dad said it would never work. next minute, somebody came up with the idea of an 'internet'.
did you invent the wheel and fire too?
You are SO hilarious. If you want to be a jerk, at least have the balls to put your name on the post. My point was that we had a good idea that we could've been first to market with if the execs weren't so short-sighted about the viability of Web apps. We all know now they were wrong.
I just run into this while working on writing a DataSourceControl. This documentation is still the same and still of very little use. I'm sure I'll be able to hammer something out, but it would have been easier had they put some some of example of best practice.
ilove nerd girls they turn me on
Jeff, have you ever tried to make a complex web application, running into browser constraints? There are some things that javascript and HTML just do not do well, at least not with decent performance. The web is really a crappy development environment for sophisticated applications. Unfortunately, it does have advantages that result in it being widely popular; see luke.breuer.com/.../Thoughts_on_the_Web's_strengths/124.aspx .
I do not deny that a wide swath of programmability could be taken care of by web applications. I just don't think they're ready to completely replace downloaded executables; I'm a little surprised you don't see the benefit of these.
Of course I've done complex Web apps. I live in a framework driven app every day, and it does a lot more than anything you're going to want to do on an iPhone.
""Now only so, the Mac. OS does not have anything remotely close to the .NET framework or application support or low-level development support or addin programming support.""
MAC Framework = COCOA
MAC Developement Environment - Xcode / Objective-C the equivalent to Micro$oft Visual Studio..... oh yeah and ITS INCLUDED WITH OSX!
So, you're saying that anything that one would want to do on an iPhone, minus the things that require access to iPhone-specific functionality, should be doable with a web application? What about games? It seems a C game would be more efficient with battery life than a web-hosted game. I hesitated to bring up games before because I rarely play them, but they are significant to many people. Think of MMORPGs where people could log in and play on the train or something.
I fixed my loose plug by slipping a .22 cartridge (already fired) over the external plug. Then I cut off the end of the cartridge case. This put a thin copper sheath around the external plug and made it fit tightly into the socket in the back of the Pavilion laptop.
I have had had the same problems with the HP laptop and took it apart, soldered the loose connector and it worked fine for a few more months. Now it will not charge again. This should be considered as a class action lawsuit against HP as I know of other friends that have had had the same problem. Best fo luck. justinzack@hotmail.com
Jason: If you want to avoid that there is a work around. Set the body of your page to have no scroll bars via css and then wrap your wole page in a div and let that have scroll bars. you might want to use JS to get the client height so you know how high to make the containing div. When you modal overlay is activated it goes OVER the scroll bars on your containing DIV so the user is not able to scroll (http://www.pfjones.co.uk/ click on contact info > mobile to see what im talking about)
I'm not certain of the mechanism of your auto-postback, but if it's triggered by the onLoad event, then Dion Almaer has some info this week about how Safari handles this differently from other browsers. Possible link...?
ajaxian.com/.../safari-3-onload-firing-and-bad-timing
jd/adobe
If you can send me an email with details I'd be happy to have someone take a look at it.
It would be great if you could also indicate which version of Safari you've seen issues with.
^ Same comment here. Send me some stuff and I'll see if I can't help.
Is the Mac version also the 3.0 beta?
i cant open my ipod nano..i dont know how to open again my ipod..i dont know why..
I agree teaching sucks. You can be an amazing teacher and one acusation from a student or parent and you are put on the "hot spot". You aren't allowed to know who has acused you either, even in our court system you can know that!!! Principals also suck! They are covering their butt, so they don't really care about yours!!!
Students that are smart and quiet are left in the dust...all of our efforts are placed on students who need ESL or are behavior problems!!!!!!!!!!!
I liked the new digg commenting system the first time I saw it when it was called the Slashdot commeting system. Yawn.
Pingback from Digg’s User’s vs. Digg’s Comment System : The Last Podcast
Slashdot just figured out CSS padding recently. Their comment system doesn't make a lot of sense to me in terms of what they show or don't show on first load.
Check the comment system over at dailyKos.com. It's AJAX threaded... a lot easier to read and follow than Digg.
But hten that's because it's more about conversations, and less about glitzy icons.
I'm not sure if people would be willing to do this, but tagging different sections of one's post to identify the different issues/sub-issues discussed could help one to focus in on different parts of the discussion with relative ease. Also, I think it would be really useful to see what sections of a given post were quoted/responded to. Outside of a controlled environment where you can trust your users, I think you'd need some sort of reputation system as well.
2 other words... "no screws"....LOL...i need help with this one to, cuz my hold button is stuck and stuff so id appreciate if someone told me how. theres my e-mail.
Another thought between WEB Apps / Flash / SDK...
I make software for mobile merchant porcessing and bluetooth GPS usint. I can't see how I can hook up a bluetooth Printer/Card reader or GPS unit to the iPHONE wiht out creating software for the unit itself (like Windows Mobile, Plam OS, Blackberry, and Symbian). Perhaps AAPL doesn't want to have the same problems as Blackberry and EMail security in Europe? - or they are worried about 'viruses'? - I guess what it will come down to is
Profits, Market Share, Profits, and... more profits...
We get a lot of people asking if our software will run on the iPhone - we say no... and they buy something else (but I have a feeling that they will STILL buy an iPhone as well)
Was there a point to this post other than "I can do it... but I'm not telling you... ah ha (ha ha ha)" ?
i agree.there fucking useless
i went to the link and read their EULA and i figure that they may as well say "We at Microsoft Corporation, through the sale of Windows Vista to you, our beloved customer are hereby, irrevocably screwing you over"
I used this in a user control and it worked fine. Thank you so much!
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
TextBox1.Attributes.Add("onKeyPress", "javascript:if (event.keyCode == 13) __doPostBack('" + btnGo.UniqueID + "','')")
End Sub
It works great! Thanks!
A nice Firefox Editor with Cyrillic variation:
<textarea usehtml name="editme" cols=80 rows=30>
Editable content, press F2 to change back and forth in cyrillic
addons.mozilla.org/.../883
ToCyrillic 0.5.11.1 Homepage by Alex Benenson
You can then copy and paste it into notepad (and save it with unicode format)... does someone else have a better idea for saving?
MY HP Pavilion ZE4210 just fried at the jack. I literally scoreched the adapter. I am furious I have a dead laptop that I have owned since Feb.
I don't want to throw good money after bad so can I get the steps on how to fix it myself [ no experience with laptop disassembly]
tobimrtn@yahoo.com
If there were multiple buttons on the page then the page could end-up reloaded a couple of times (call page_load multiple times). Returning false avoids the extra reload.
The following change fixes this problem.
EmailTextBox.Attributes.Add("onKeyPress", "javascript:if (event.keyCode == 13) {__doPostBack('" + LoginButton.UniqueID + "',''); return false);");
Ramon, you've convinced me to take a look at Smalltalk, sheerly to better grok functional programming. The writing is on the wall with LINQ. I am preparing for the next paradigm in .NET programming. There is no since resisting the best practices that Anders Heljsberg and the C# team are preaching dictate that the functional paradigm is faster, more error free, and has a smaller footprint than imperative programming. Lambdas are going to make writing the monkey code involved in nested iterations and branching a thing of the past. Honestly, I can't wait till my org moves on to Orcas for this reason alone...
Power jack failure seems to be a common problem with a lot of different laptops. I found a fix that worked for my Toshiba laptop. I'm going to be trying it on an HP.
It does require disassembling the laptop and soldering connections. I don't recommend trying it if you're uncomfortable with working with a computer's innards or the machine is still under warranty.
www.laptoprepair101.com/.../failed-laptop-power-jack-workaround
The principle should work on any laptop with a loose power jack.
Good luck.
joelbt1 (at) gmail.com
Having the same problem as many others... ZV5000 series laptop. I was having issues with it not charging and the plug feeling loose. I worked around it many differnet ways but nothing actually worked. Today i ripped the DC connector out of the laptop. I was so done with it. I've been looking for a way to hardwire to the motherboard and figured i have to be insane to try this, but it's absolutely pathetic that it's been done seemingly hundreds of times before..
Are the pos/neg terminals on the top of the motherboard like with that toshiba?
I agree this was a killer. Thanks for posting it, I couldn't find anything in the asp.net ajax site about it.
The hype in my mind was worth it for this product, in fact I'm posting this comment from an iPhone. I havent set up my mail yet so hopefully I don't have any issues.
It's incredible that the one thing you didn't address is...
How well does it make phone calls?
How loud is the ringer? How strong the vibrate? What ring/vibrate choices does it have available?
How's it compare to the Nokia 8800 as a phone?
By "phone stuff" I was talking about all of the things you said. The vibrate seems a little stronger than my old phone. I wouldn't know a Nokia if it hit me in the face. I get a new phone once every two to three years. Generally phones do not interest me.
Pingback from Daily links - 1.07.2007 : TrendPlex
Fantastic! Just the thing I've been looking for. Thanks a lot.
g4 suks becuase they have shows that have nothing to do with video games
Remember that sometimes the IIS or Casini webserver needs to be restarted in order for this to work.
Double-D, I think your discovery about parenthesis just saved me a lot of trouble debugging an "inexplicable" result! Thanks. (And thanks also to Google; I merely did a search on [SQL CURSOR "ORDER BY"]. Ugh indeed - what a useless error message.