I'm trying to use python to determine if one (small) image is within another (large) image.
Any suggestions before I take myself completely down the wrong path?
When using Django "out-of-the-box" administration forms, the "change form" pages can be rather long for complex models (with a lot of fields).
I would like to use tabs in the "change form", so things can be more readable (group fields by tabs...)
Instead of doing it all by myself, by modifiying the 'change_form.html' admin template, I was wondering whether somebody has already done that and would like to share the code, or whether an existing Django-plugin already exist.
Thanks in advance for you answer
Besides the Amazon Integrator from /n software, are there any other Amazon S3 components available that can be used with Delphi 2010? I would use the one from /n software, but it has some issues (e.g. GetObjectInfo doesn't work if the object is stored in a specific location) and limitations (e.g. copying objects doesn't let you define replacement meta-data).
I don't have the time or resources to create such a component myself.
Thanks!
I could write myself a helper class that does this when given a functor, but I was wondering if there's a better approach, or if there's something already in the standard library (seems like there should be).
Answers I've found on StackOverflow are all for C# which doesn't help me.
Thanks
I know I missasked the question, and that's probably the reason I can't find the solution myself:
How do I take a result in a stored procedure and and change the data such as
if column1 = AAA then
column1=Hello
else if column1 = BBB then
column1 = goodbye
and have the data return with the new values?
Thanks
What are some tools that the professionals use? I want to make some professional looking designs for myself, but don't know where to start. I have 4 years of programing experience and about 5 years of web design experience, but I'm just not good with designing a layout.
When I build Rails applications I find myself doing the same things over and over again. This includes adding the same gems/plugins, configuration info and custom initializers, rake tasks etc... etc....
This can't be a good thing.
So, is there a way to package all this repetitive code into some sort of project template ... so that I can do a "rails myapp" and have everything good to go from there?
Btw, running 2.3.5 if that matters :)
thanks
After reading several questions regarding problems with compilation (particularly C++) and noticing that in many cases the problem is a missing header #include. I couldn't help to wonder in my ignorance and ask myself (and now to you):
Why are missing headers not automatically checked and added or requested to the programmer?
Such feature is available for Java in Netbeans for example.
I find myself breaking strings constantly just to get them on the next line. And of course when I go to change those strings (think logging messages), I have to reformat the breaks to keep them within the 80 columns.
How do most people deal with this?
I am using Groovy in a Java Swing application as part of my plan to force-feed myself dynamic languages until I like them (which is happening, partly).
My stack traces are filled with Groovy stuff like
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor
is there a way to get Eclipse to remove all of that codehaus stuff (filter stack traces, basically)?
Edit: I can do this from the command-line with grep (well, not yet) so it's not so bad, but inside of Eclipse would be great too.
Hi Guys (and gals),
In the past my employers bought me subscriptions to MSDN and Safari but now that I am working as a contractor and have to pay for these things myself, I was wondering if there are other services that offer subscriptions or access to technical books. I develop on Windows using C++ and .NET.
Whats the best way to protect a linux root server from a ddos attack?
I just want to inform myself about the issue. I'm wondering I haven't found a good solution.
anybody has one?
thanks!
I have only worked on web apps for my whole career. I'm starting a new desktop (Adobe AIR) app project but I found myself having difficulties with:
stuck with thinking about overall UI design in the traditional page model
not sure how to handle the navigation part in the UI
not taking advantage of states
deciding what should be implemented on client vs server side.
Any advice? Thanks.
I have a number of atoms in my code where a common requirement is to update them to a new value, regardless of the current value.
I therefore find myself writing something like this:
(swap! atom-name (fn [_] (identity new-value)))
This works but seems pretty ugly and presumably incurs a performance penalty for constructing the anonymous closure.
Is there a better way?
I'd like to know if there is a way to figure out if a key does something in vim. I know that I can use :map to see user-defined mappings, but is there something for the built-in stuff?
For example, I always had CTRL-W bound to close tab, because I thought that it was unused. After half a year, I found out that there are some sequences that use it, like CTRL-W CTRL-S to split the window, and it was a nightmare to retrain myself.
I found What are mvp and mvc and what is the difference but it didn't really answer this question.
I've recently started using MVC because it's part of the framework that myselfand my work-partner are going to use. We chose it because it looked easy and separated process from display, are there advantages besides this that we don't know about and could be missing out on?
Pros
Display and Processing are seperated
Cons
None so far
Im trying to make a program that captures a video from the webcam and sound from the microphone but im getting stuck at the part where ive try to make a movie out of still images
ive heard you need to use directshow but it doesnt jet work for me
Does someone know a good piece of example code that captures video and sound and can encode it to a file (divx or something like that) ?
or some suggestions where to look so i can build it myself
(if a other programming language is better for this im happy to know it early. )
I just wonder myself by asking a couple of questions in stackoverflow that what is the other options of asking questions and problems if there isn't stackoverflow for you. Is there any alternative websites or forums? a newsgroup or a iRC chatroom? I would like to know if there's anything that is close to functionality or usefulness of stackoverflow.
I need to sort a 2 dimensional array of doubles on multiple columns using either C or C++. Could someone point me to the algorithm that I should use or an existing library (perhaps boost?) that has this functionality?
I have a feeling that writing a recursive function may be the way to go but I am too lazy to write out the algorithm or implement it myself if it has been done elsewhere. :-)
Thanks
Lately I found myself using jQuery and JavaScript a lot, often to do the same things that I did before using CSS.
For example, I alternate table rows color or create buttons and links hover effects using JavaScript/jQuery. Is this acceptable? Or should I keep using CSS for these kinds of things?
So the real question is:
When I'm using too much jQuery? How can I understand when I'm crossing the line?
Do you know a decent MVC framework for AS3? I am currently looking into PureMVC but I need some reassurance that it's the best choice.
Do I really need to use a framework? or would it be better for me to implement MVC myself?
Im using a code editor codepress in all of my textareas, but no textarea return a value. I think the different name and id is the problem. Example:
<textarea name="content_text" rows="20" cols="50" class="codepress sql" id="myCpWindow"></textarea>
I have read somewhere in here to use a hidden input to transfer the textarea's value, but i cant do it myself!
ayhelp?
Seems like a straitforward question but I can't quite figure it out myself...
I have an actionlink like so
Html.ActionLink( "Test", "test", new { q = "search+twitter" } )
This produces a url string as follows
http://myserver/test?q=search%2Btwitter
But i would like to preserve the plus sign (which i assume is being UrlPathEncoded) so that I get the following url
http://myserver/test?q=search+twitter
Is there an easy way to do this whilst still using Html.ActionLink ?