Any ideas how to create 3d graphics in a web browser.
I want to create a simle 3d model of my city.
I know about google earth but I want my own website.
Thanks in advance
I have multiple document.ready functions on a page and I want a function to be called when all my document.ready functions have been executed. I simply want the function to be called
at the very end, after all other document.ready functions have executed.
An example of this could be that each document.ready function increments a global variable when it has been executed, and the last function needs to check the value of that variable at the very end.
Any ideas ?
A potential client is asking me if I can generate a thumbnail image from .eps and .ai files. The standard .NET Image class is not able to do this, so I suppose I need a 3rd party API, but I am not sure what is the best approach. Any ideas?
Roger
Gallery Server Pro
Any JQUERY experts know how nosotroshq.com is creating the effect in their top nav? For example, when you mouseover "ABOUT US" it slowly animates down. Any ideas?
Any JQUERY experts know how nosotroshq.com is creating the effect in their top nav? For example, when you mouse over "ABOUT US" it slowly animates down. Any ideas?
Hello,
I'd like to test a "withCriteria" closure and am not sure how to go about it. I see how to mock out the withCriteria call, but not test the code within the closure. When running the test that executes the "withCriteria", I keep getting a MissingMethodException, even though the code runs fine under the normal flow of execution. Any ideas?
Thanks!
Steve
Trying to implement a web service which should have exactly the same function as http://www.google.com/finance the search quotes box
when user type the stock name or company name, the right stock name is suggested while typing.
my service will using historical information from google finance, so get proper quote name from google is a must!
anyone knows where i could find this quote list through google finance api? better with python.
or anyone can suggest some ideas please?
many thanks
XNA doesn't have any methods which support circle drawing.
Normally when I had to draw circle, always with the same color, I just made image with that circle and then I could display it as a sprite.
But now the color of the circle is specified during runtime, any ideas how to deal with that?
I have a jtable inside of a scrollpane. how can i stop the scrollpane from scrolling up or down when a cell that is partly out of view gains focus?
the problem is i am setting the cells to editable when the user mouses over them, so when you mouse over a cell that's partly out of view, the view changes suddenly. I don't like this behaviour. any ideas on how to change it?
I'm using a java process to spawn many other java processes using Runtime.exec(cmd) where cmd is like the following:
java -cp "MyJar.jar" pkg.MyClass some-more-arguments
running the same command from the command line works fine in windows and linux, however when my spawning java process calls the command via Runtime.exec it works in windows but not in linux.
in linux i get Exception in thread "main" java.lang.NoClassDefFoundError: pkg/MyClass
any ideas?
I've got two memoedits which are similar (in order to compare two records) I would like to keep the scrolling in synch to ease comparison.
I had originally thought there would be an OnScroll event, but didn't see one, nor anything similar, the closest I saw was Spin, this handles some possibilities, but not all.
I also didn't see a way to navigate the rows.
I did see the ScrollToCaret method, but this doesn't do what I want.
Any ideas?
For a mentoring project, I am looking for an online repository of classic computer vision exercises, similar to Project Euler, but geared towards image processing problems that could be solved in MATLAB or OpenCV.
Anyone have any ideas?
I'm trying to create a service bean that when referenced will be initialized with HttpSession based attributes.
Let's say for sake of argument that my webapp would do the following:
Establish a session
Request login & password
When service is requested (it is scope="session" and has init-method="init()") a new instance is created for the session.
In the init method, can I reference the HttpSession either through passing it in as a parameter and referencing it by EL?
Any ideas on this would be appreciated.
I have an interface:
public interface X
{}
I have a class:
public class Y : X
{}
I have one cmdlet:
[Cmdlet("Get", "Y")]
public class GetYCmdlet : PSCmdlet
{
protected override void ProcessRecord()
{
WriteObject(new Y());
}
}
I have another cmdlet:
[Cmdlet("Set", "X")]
public class SetYCmdlet : PSCmdlet
{
[Parameter]
public X SomeObj {get;set;}
}
When I do this:
$y = Get-Y
Set-X -SomeObj $y
I get this:
Could not convert "Y" to "X". Method
not supported.
Any ideas?
We use MySQL server 5.1.43 64-bit edition. InnoDB is used as engine.
We have a sql script which we execute every time we build the application.
On ubuntu machine with MySQL server and InnoDB engine it takes about 55 seconds to complete the execution.
If I run the same script on OSX, it takes close to 3 minutes!
Any ideas why OSX is so slow while executing this script?
When I attempt to compile the output of this trivial lex program:
# lex.l
integer printf("found keyword INT");
using:
$ gcc lex.yy.c
I get:
Undefined symbols:
"_yywrap", referenced from:
_yylex in ccMsRtp7.o
_input in ccMsRtp7.o
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lex --version tells me I'm actually using 'flex 2.5.35' although ls -fla `which lex` isn't a symlink. Any ideas why the output won't compile?
Hi
Any ideas how i go about replacing the following self join using analytics
SELECT
t1.col1 col1,
t1.col2 col2,
SUM((extract(hour FROM (t1.times_stamp - t2.times_stamp)) * 3600 + extract(minute FROM ( t1.times_stamp - t2.times_stamp)) * 60 + extract(second FROM ( t1.times_stamp - t2.times_stamp)) ) ) div,
COUNT(*) tot_count
FROM tab1 t1,
tab1 t2
WHERE t2.col1 = t1.col1
AND t2.col2 = t1.col2
AND t2.col3 = t1.sequence_num
AND t2.times_stamp < t1.times_stamp
AND t2.col4 = 3
AND t1.col4 = 4
AND t2.col5 NOT IN(103,123)
AND t1.col5 != 549
GROUP BY t1.col1, t1.col2
I'm trying to make a script that listens to a variable (int or Number) and then does certain functions whether the variable is going higher or lower. So for example if the number gets higher, it runs one function. If it gets lower, it runs another.
Is this possible in AS3? Any ideas?
Is the following possible in Silverlight when a button is clicked?
An Excel template is downloaded from
a remote server and saved to the local machine
An instance of the
template is then opened on the client
A macro is then executed within the
new Excel document
I can do everything apart from saving the template to the local machine. I can save this in isolated storage but then I don’t know where this is when trying to open it from the Excel COM interop code. Has anyone any ideas or is this not possible?
I've seen some other examples on SO, but I none do what I'm looking for.
I'm trying:
class User < ActiveRecord::Base
def to_json
super(:only => :username, :methods => [:foo, :bar])
end
end
I'm getting ArgumentError: wrong number of arguments (1 for 0).
Any ideas?
I have a plain text file with words, which are separated by comma, for example:
word1, word2, word3, word2, word4, word5, word 3, word6, word7, word3
i want to delete the duplicates and to become:
word1, word2, word3, word4, word5, word6, word7
Any Ideas? I think, egrep can help me, but i'm not sure, how to use it exactly....
i use silverlight fullscreen changing normally when i click the fullsceen and exit fullscreen button
But when i change it through code without clicking
it do the exit but not the fullscreen, which means false is working true doesn't work. Any ideas ??
I need a calculator for a flex app I am making, and was wondering if there was any official widget prebuilt or already in good quality. I could make one myself but it would be nice to use one that already existed and had a nice api to customize it with. Any ideas? Thanks!