I keep reading about how bad Frames are. One feature I really like is how the user can drag a splitter to resize the frames. If I don't use frames, how might I go about providing the same feature?
In one of the Stackoverflow podcasts, I remember Jeff Atwood saying that there was a configuration option in SQL Server 2008 which cuts down on locking, and was kind of an alternative to using "with (nolock)" in all your queries. Does anybody know how to enable the feature he was talking about, possibly even Jeff himself. I'm looking at deploying SQL Server 2008, and want to see if using a feature like this would help out my web application.
I'm pretty sure I saw somewhere in a popular Git project the branches had a pattern like "feature/xyz".
However when I try to create a branch with the slash character, I get an error:
$ git branch foo/bar
error: unable to resolve reference refs/heads/labs/feature: Not a directory
fatal: Failed to lock ref for update: Not a directory
Same problem for (my initial attempt):
$ git checkout -b foo/bar
How does one create a branch in Git with the slash character?
Displaying "Type here to ..." until the user enters text into a TextBox is a well-known usability feature nowadays. How would one implement this feature in C#?
My idea is to override OnTextChanged, but the logic to handle the changes of Text from and to "Type here" is a bit tricky...
Displaying "Type here" on initialization and removing it on first input is easy, but I want to display the message every time the entered text becomes empty.
With EF4 comes a new feature "Include foreign key columns in the model". What was the motivation behind adding this feature, and are there any particular gotcha's with either leaving it off, or turning it on when generating a model from an exisiting database?
Not quite sure whether I'm using the right terminology here, but Netbeans has a very nice feature where e.g. if you start typing for it will offer to write a code fragment looping over an array or list, basing it on the name and type of an array or list variable actually in scope.
If more than one such variable is in scope it will guess, sometimes correctly and sometimes not.
Is there a way to aim this feature at the correct array/list variable?
Hello,
I need to build out a feature that will let the content authors know if a particular asset (e.g. an Image or a video under site assets library) is being referenced by any content(Pages) in the sharepoint site.
Is there any built-in feature that can assist in that?
If not, do you have any suggestions on how should I go about it?
Thanks,
Krantz
Sometimes, my boss will complain us why we need so long time to implement a feature. Actually, the feature has been implemented in other AP before, you just need to copy and paste codes from there. The cost should be low. It's really a hard question, because copy and paste codes is not a easy thing from my point. Do you have any good reason to explain your boss who doesn't know technology?
Possible Duplicates:
Most wanted feature for C# 4.0 ?
What features should C# 4.0 onwards have to encourage switching from Java?
Possible Duplicate:
Most wanted feature for C# 4.0 ?
C# language is around for about 10 years and it is becoming pretty mature language, but anyway, I wonder what do you miss most in C#? What do you need and is not available in it?
I accidental had my umask set incorrectly for the past few months and somehow didn't notice.
One of my git repositories has many files marked as executable that should be just 644. This repo has one main master branch, and about 4 private feature branches (that I keep rebased on top of the master).
I've corrected the files in my master branch by running find -type f -exec chmod 644 {} \; and committing the changes. I then rebased my feature branches onto master.
The problem is there are newly created files in the feature branches that are only in that branch, so they weren't corrected by my massive chmod commit. I didn't want to create a new commit for each feature branch that does the same thing as the commit I made on master. So I decided it would be best to go back through to each commit where a file was made and set the permissions.
This is what I tried:
git filter-branch -f --tree-filter 'chmod 644 `git show --diff-filter=ACR --pretty="format:" --name-only $GIT_COMMIT`; git add .' master..
It looked like this worked, but upon further inspection I noticed that the every commit after a commit containing a new file with the proper permissions of 644 would actually revert the change with something like:
diff --git a b
old mode 100644
new mode 100755
I can't for the life of me figure out why this is happening. I think I must be mis-understanding how git filter-branch works.
My Solution
I've managed to fix my problem using this command:
git filter-branch -f --tree-filter 'FILES="$FILES "`git show --diff-filter=ACMR --pretty="format:" --name-only $GIT_COMMIT`; chmod 644 $FILES; true' development..
I keep adding onto the FILES variable to ensure that in each commit any file created at some point has the proper mode.
However, I'm still not sure I really understand why git tracks the file mode for each commit. I had though that since I had fixed the mode of the file when it was first created that it would stay that mode unless one of my other commits explicit changed it to something else. That did not appear to the be the case.
The reason I thought that this would work is from my understanding of rebase. If I go back to HEAD~5 and change a line of code, that change is propagated through, it doesn't just get changed back in HEAD~4.
Do you know any open source software that uses Orient DB? Or have you used that product yourself? Any experiences to share?
I have recently looked into Orient DB, and it has nice and feature interesting feature set (fast, embeddable in Java, simple API) but it seems that it is not widely used. Is it just because the Orient DB is a new player on the field?
Hello,
I would like to pass to a jQuery function a regular function, instead of the usual anonymous function, but I'm not sure how such a thing could be done.
Instead of this:
function setVersion(feature) {
$.post("some.php", { abc:"abc" },
function(data){
// do something here
}, "json");
}
I would like to do this:
function foo(data){
// do something here
}
function setVersion(feature) {
$.post("some.php", { abc:"abc" }, foo, "json");
}
Thank you.
How do you precompile WCF code so that the WCF code can't be seen by anyone who has access to the WCF code.
it's possible to this with ASP.NET code by using the "precompilation" feature. basically, what the precompilation feature does is enable the developper to deploy "binaries" to IIS instead of a folder containing source code.
can this be done with WCF too ?
I have Acer P5260i projector who has wireless feature however the user manual didn't come with the description how to use this feature. I'm using a laptop. an anyone give me a detailed overview on how I should connect them through wireless?
We had an outsourced engineer work on a quick feature DELETING items listed in our database. He says that the code is difficult because the "controller" is missing. Is there a pre-loaded controller for every function like that in cake, or is it weird that he is expecting a controller to be there for a feature we didn't have yet.
I have a Rails app handling authentication with the restful_authentication plugin.
I'm experiencing problems with the email activation feature and before I deal with that I would like to just allow my users to register without having to go through the email activation process.
How do I disable the email activation feature.
Rails 2.2.3
Restful_authentication
I need to provide a feature such that the user is able to upload a csv file.Once the uploading is done I need to retrieve each value and show it on a grid which is implemented using far point(http://www.fpoint.com/products/spread/spread.aspx).But all this has to be done without the page being refreshed.I use asp.net 2.0 & Ajax Pro.Remember I cannot use the inbuilt AJAX feature provided by microsoft .To be precise I need something similar to the lines of attaching a file using gmail.
Thanks & Regards
Bikram
I'm hoping there are some Cell Phone Operator gurus here today.
Would anyone be able to explain how Operators achieve the Visual Voicemail feature on the iPhone (and I assume other newer smart phones)?
If a new cell phone operator that distributed SIM cards wanted to utilise the visual voicemail feature on unlocked iPhone's what services need to be in place to be able to support it?
Is there an open spec or is it completely proprietary?
I know of an Eclipse feature to show revision information (gradual coloring, more info like revisionnumber, date and author on mouseover) for the last changes in a line in the linenumbers-view.
Does anyone know how to activate this feature for a file, or even better, by default? I accidently hit some shortcut lately which made it show in one file, it does not show up in the others, though.
Hi all,
I'm using Adobe Air update framework to implement auto-update feature in my application. The feature is working great when there is an available update, but when there is no updates no notification/alert is displayed.
is there a way to display an alert when there is no update available ?
thanks
Where I work, we use Bugzilla extensively for bug and feature tracking. We take advantage of the built in milestones to help us manage our timelines better, but sometimes priorities shift and milestones need to be rearranged. During this time we use the "change several bugs at once" feature to move them around, but the result is a ton of bugspam for everyone involved (except the person actually doing the changing, of course).
Is there any way to easily turn off emails if many bugs are being changed at once?
When you refresh/reload a page or use the back button, Firefox is kind enough to repopulate your inputs with what was entered before you navigated away.
Though this is a nice feature it does not trigger my jquery validation and the unsaved changes warning I add to my pages.
Is there a way to either disable this feature in Firefox (without renaming every control every time) or capture the firefox events?
Open a file in the Visual Studio binary editor that contains a null byte (0x00), then use the Quick Find feature (Ctrl +F) to find null bytes.
I would have thought I could use a regular expression such as \x00 to match null bytes but it doesn't work. Searching for any other hex value using this method works fine.
Is this a VS bug, 'feature', or am I just missing something? Is there a work around?
Hey guys
I want to add Eraser functionality in my software.
I look down in the SDK of Windows Tablet PC SDK but i can't find any solution for that.
there is one eraser sample in that SDK but that is not similar to feature which is in Windows Journal.
DOES ANYONE KNOW HOW TO ADD THAT ERASER FEATURE IN MY C# APPLICATION [I WANT SAME AS IN WINDOWS JOURNAL]?
btw i am taking reference from Microsoft Windows XP Tablet PC Edition Software Development Kit 1.7.