Can somebody give a good explanation of FFT image transform
How the FFT transformed image and it's Re^2+Im^2 image can be analyzed?
I just want to understand something when loiking to the image and it's frequency.
I'm looking a Django app I'm looking for an app that that allows for management and integration of footnotes for articles
just wondering if anyone had seen something around...
What I am trying to accomplish:
Create a dynamic bubble that expands on height and width depending on the text in the bubble.
What I researched so far:
In an so article they described the measurestring to figure out the exact width or height so dynamic changes in the .cs to the width and height can be accomplished.
Is there something like this in Silverlight? Is my only option to utilize the myTxt.Text.length and then change the myGrid.height and myGrid.width to leave wasted space to accommodate all cases?
I am struggling to define templates for my DataGrid columns. Here is the code that I have working at the moment:
<t:DataGrid.Columns>
<t:DataGridTemplateColumn Width="75" >
<t:DataGridTemplateColumn.HeaderTemplate>
<DataTemplate>
<TextBlock Style="{StaticResource FieldNameVertical}" Text="Date" />
</DataTemplate>
</t:DataGridTemplateColumn.HeaderTemplate>
<t:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Style="{StaticResource FieldValue}" Text="{Binding ModifiedDate, StringFormat='{}{0:MM/dd/yyyy}'}" />
</DataTemplate>
</t:DataGridTemplateColumn.CellTemplate>
</t:DataGridTemplateColumn>
..
..
..
</t:DataGrid.Columns>
I would like to define HeaderTemplate & CellTemplate as reusable styles -- so that each column would be as brief as something like this:
<t:DataGrid.Resources>
<DataTemplate x:Key="dgHeaderStyle">
<TextBlock Style="{StaticResource FieldNameVertical}" Text="{Binding}" />
</DataTemplate>
<DataTemplate x:Key="dgCellStyle">
<TextBlock Style="{StaticResource FieldValue}" Text="{Binding}" />
</DataTemplate>
</t:DataGrid.Resources>
<t:DataGrid.Columns>
<t:DataGridTemplateColumn Width="75" Header="Date"
Binding="{Binding ModifiedDate, StringFormat='{}{0:MM/dd/yyyy}'}"
HeaderTemplate="{StaticResource dgHeaderStyle}" CellTemplate="{StaticResource dgCellStyle}" />
<t:DataGridTemplateColumn Width="100" Header="Dealer"
HeaderTemplate="{StaticResource dgHeaderStyle}" CellTemplate="{StaticResource dgCellStyle}" />
...
</t:DataGrid.Columns>
Every attempt I make has failed. I had hoped to implement something like the "solution" snippet in the initial entry of WPF DataGrid HeaderTemplate Mysterious Padding. However, I can't seem to adapt it to what I'm doing.
Pipes is being very buggy lately and has stopped saving new pipes these days.
Google Mashup Editor and Microsoft Popfly are both discontinued.
Are there are any currently running web apps(or atleast libraries that run on appengine) that do something similar ?
I am trying to figure out how to use my google analytics account, and do custom tracking on certain links and such, but following the technical information on the help site on google isn't getting me anywhere. Has anyone done something like this? Point me in the right direction.
Is there a quick and easy way to update my LINQ dbml files?
Right now, if I update a Stored Procedure, I need to open the dbml designer file, delete the old SP, save, drag and drop the new SP, and save again.
I haven't researched this a whole bunch, but I'm wondering if there's an easy way for Visual Studio to just go into the DB and update the dbml to the latest SP's by just clicking an update button or something along those lines.
I'm just asking about custom feature I'm working on. If you have experience creating similar projects, what are things that need to be considered when creating similar features?
PS: this is broad general question. And not something that focuses on a particular web system. And mostly will be code in PHP and wordpress. And frankly, I tend to code this not using Wordpress built-in functions.
This is a rather tricky question as I have found no information online. Basically, I wish to know how to check if a computer is idle in Java. I wish a program to only work if the computer is in active use but if it is idle then to not.
The only way i can think of doing this is hooking into the mouse/keyboard and having a timer.
MSN Messenger has that "away" feature, I wish for something similar to this.
I'm using the IfFileExists function but I think it only include the first line after the jump. How can I do something similar to C like {..../.../....}?!
IfFileExists "$PROGRAMFILES\InduSoft Web Studio v7.0\Bin\RunStartUp.exe" StartUpExists PastStartUpExists
StartUpExists:
StrCpy $Text "$PROGRAMFILES\InduSoft Web Studio v7.0\Bin\RunStartUp.exe"
PastStartUpExists:
nsDialogs::Create 1018
Pop $Dialog
nsDialogs::SelectFileDialog open "$PROGRAMFILES\InduSoft Web Studio v7.0\Bin\RunStartUp.exe" "*.exe"
Pop $Text
${NSD_CreateText} 0 13u 100% -13u $Text
Pop $Text
${NSD_CreateText} 0
${NSD_GetText} $Text $0
CreateShortCut "$SMPROGRAMS\Advanlab\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
CreateShortCut "$SMPROGRAMS\Advanlab\Uninstall.lnk" "$INSTDIR\uninst.exe"
CreateShortCut "$SMPROGRAMS\Advanlab\Advanlab.lnk" "$0"
CreateShortCut "$DESKTOP\Advanlab.lnk" "$0"
I have an html page were i can fill in some text and send (with javascript) this to an sql-database.
On my pc, everything works fine, but on another one (a french windows), it doesn't save my chars correctly.
french chars like é, è, â,.. were saved as 'É', or something like that.
I googled a lot but still did not found any solution, i'm also not able to reproduce the problem on my own pc..
Is there a filter which I could use to rate-limit a pipe on linux? If this exists, let call it rate-limit, I want to be able to type in a terminal something like
cat /dev/urandom | rate-limit 3 -k | foo
in order to send a a stream of random bytes to foo's standard input at a rate (lower than) 3 kbytes/s.
Hi,
I am aware that table valued functions are not supported in previous versions of entity framework. I was wondering if this is now supported in EF 4? I cant see my functions in the edm designer so i'm guessing they are not supported unless I am doing something wrong?
If they are not supported is there a workaround?
Thanks,
Imran
I am new to JQuery and am using the JQuery validation plugin. Great stuff!
I want to migrate my existing ASP.NET solution to use JQuery instead of the ASP.NET validators. I am missing a replacement for the regular expression validator.
I want to be able to do something like this:
$("Textbox").rules("add", { regularExpression: "^[a-zA-Z'.\s]{1,40}$" })
Could anyone give me a hint how to add a custom rule to achieve this?
All,
I am looking for an asp.net xml editor control. Not a WYSIWYG editor like freetextbox or a javascript syntax highlighter but something that would make editing xml in the browser a bit easier than just as text in a textarea.
maybe some non-editable areas, collapsable nodes, xsd validation etc.
any ideas?
Is it possible to store something like the following using only one table? Right now, what hibernate will do is create two tables, one for Families and one for people. I would like for the familymembers object to be serialized into the column in the database.
@Entity(name = "family")
class Family{
private final List<Person> familyMembers;
}
class Person{
String firstName, lastName;
int age;
}
Can someone please enlighten me to a way to filter a subquery that is located in a FROM clause?
I would like it to look something like this:
SELECT * FROM
TABLE_A
LEFT JOIN (TOP 8 TABLE_B )
ON TABLE_B.id = TABLE_A.id
Is it possible to set the BorderBrush property in a style, to the value of the BorderBrush property of an instance of another control?
Something like:
<Style x:Key="{x:Type Controls:TimePicker}" TargetType="Controls:TimePicker">
<Setter Property="BorderBrush" Value="[ElementName=txtText Property=BorderBrush]"/>
</Style>
The reason for this is that I'm using Infragistics controls that have a "Theme" that can be changed and I want my custom control to change border style at the same time.
I'm following the Java EE firstcup tutorial with Netbeans 6.8 and it says:
With the firstcup project selected in
the Projects pane, expand
Configuration File and double-click
faces-config.xml.
Click PageFlow in the top left corner
of the editor pane to display the
visual navigation editor.
I can't find that PageFlow mentioned. Where should I look for that button in the IDE? Am I missing any plugin or something?
Given a set of datavery similar to the Motley Fool CAPS system, where individual users enter BUY and SELL recommendations on various equities. What I would like to do is show each recommendation and I guess some how rate (1-5) as to whether it was good predictor<5 (ie corellation coeffient = 1) of the future stock price (or eps or whatever) or a horrible predictor (ie corellation coeffient = -1) or somewhere inbetween.
Each recommendation is tagged to a particular user, so that can be tracked over time. I can also track market direction (bullish / bearish) based off of something like sp500 price. The components I think that would make sense in the model would be:
user
direction (long/short)
market direction
sector of stock
The thought is that some users are better in bull markets than bear (and vice versa), and some are better at shorts than longs- and then a cobination the above. I can automatically tag the market direction and sector (based off the market at the time and the equity being recommended).
The thought is that I could present a series of screens and allow me to rank each individual recommendation by displaying available data absolute, market and sector out performance for a specfic time period out. I would follow a detailed list for ranking the stocks so that the ranking is as objective as possible. My assumtion is that a single user is right no more than 57% of the time - but who knows.
I could load the system and say "Lets rank the recommendation as a predictor of stock value 90 days forward"; and that would represent a very explicit set of rankings.
NOW here is the crux - I want to create some sort of machine learning algorithm that can identify patterns over a series of time so that as recommendations stream into the application we maintain a ranking of that stock (ie. similar to correlation coeeficient) as to the likelihood of that recommendation (in addition to the past series of recommendations ) will affect the price.
Now here is the super crux. I have never taken an AI class / read an AI book / never mind specific to machine learning. So I cam looking for guidance - sample or description of a similar system I could adapt. Place to look for info or any general help. Or even push me in the right direction to get started...
My hope is to implment this with F# and be able to impress my friends with a new skillset in F# with an implementation of machine learnign and potentially something (application / source) I can include in a tech portfolio or blog space;
Thank you for any advice in advance.
Is there a tool or a simple way to transform XAML code from the shorthand syntax to the full syntax?
For example: moving from something like:
<_TextBox Text="{Binding Path=Formula.Production, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
to
<_TextBox
<_TextBox.Text
<Binding Path="Formula.NumCloses" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged"
</Binding
</TextBox.Text
</TextBox
?
Thanks
I recently tried out the applicationCache / offline web apps on Android 2.1's WebKit and unfortunately it does not work exactly like on a webkit on the iPhone. I was wondering how I can easily see what features should be implemented and if there is something like a roadmap?
Does that information somewhere exist?
This works great:
<my:DatePicker IsTodayHighlighted="True" Width="200">
</my:DatePicker>
But I want to format the date, something like this:
<my:DatePicker IsTodayHighlighted="True" Width="200" Format="yyyy-mm-dd">
</my:DatePicker>
Anyone know the syntax for this?
I'm starting a new project in MonoDevelop, and I want to see how other projects are using it.
I tried searching through SourceForge, code.google.com, etc., but mostly I was just finding things like add ins or something related to MonoDevelop itself.
So is there anyone else using MonoDevelop, especially open source?