Hello,
I'm looking for some source code implementing 3d convolution. Ideally, I need C++ code or CUDA code. I'd appreciate if anybody can point me to a nice and fast implementation :-)
Cheers
Hello,
I want to replace only the first matching element in a string instead of replacing every matching element in a string
$str = 'abc abc abc';
$find = 'abc';
$replace = 'def';
echo mb_ereg_replace( $find, $replace, $str );
This will return "def def def".
What would I need to change in the $find or $replace parameter in order to get it to return "def abc abc"?
Hello,
is it possible to create a combobox in wpf from code, which I could position wherever I want on the window?
In my case, I basically want to create something like a Autocomplete for DataGrid rows,...
Thanks!
Hello I have a very simple HTTP ruby server. I want it to simply server a PNG image. So I sent headers like image/png but I think that Ruby is converting the image data to a string first.
Here is my relevant code
webserver = TCPServer.new('127.0.0.1', 20001)
while (session = webserver.accept)
#....
file = File.open("tmp_testserve.png", "rb")
contents = file.read
file.close
session.print @content
session.close
#....
Is this what is happening?
Hello.
Are there open source libraries for Java to make implementation of drag and drop easier?
I plan to make something like the one shown below:
The program is Alice, where you can drag some elements on the left and nest them to the right. It's open source, but they did not use any libraries I think. I'm wondering if we anyone know of open source frameworks that work this way, or assist in doing complex drag and drops.
Hello all,
It seems to me that this should work but I cant see what exactly is the problem.
The error Im receiving is "DDROA is not defined"
Could anyone help enlighten me.
var DDROA = {
AllowedRoutes : {
AR0 : {text : 'SomeText', value : 'SomeValue'},
AR1 : {text : 'SomeText2', value : 'SomeValue2'}
},
RouteContext : {
RC0 : {text : 'None', value : '0',
AllowedRoutes : new Array(
DDROA.AllowedRoutes.AR0 // An error occurs here
)
}
}
}
Hello, i can't find a way to do multiple row tabs with ASP.net ajax tab control. I also can't find a tutorial or example on using CSS to make multiple row of tabs.
In case you don't understand what i'm looking for here is a image of what i'm looking for
http://bp1.blogger.com/_WCGCQYWEaxs/Rq1c2bLNMDI/AAAAAAAAABU/0sKw_CrKLL4/s1600-h/dsd.jpg
Can someone give me a link on how to achieve multiple row of tabs?
Hello Masters,
Thanks in advance,
I need help in solving php memory problem,
I have created a script in php that automatically fetch magento product data,the problem is that when there is large number of product in database, the script gives memory fatal error i have changed the memory limit to 256M in my php.ini but still the script not executing totally.
i have checked the script its working fine if there is number of product is not too much but if there is larger number my script not working..
Please help...
-Thanks
Jitendra Dhobi
Hello,
I have a word document that was saved as xml. now I need to open it in my html page, but the problem is that it's no longer a .doc!, it's .xml, and it won't open.
Any ideas?
TY
Hello,
I followed this tutorial to add fields in the registration form of a customer under Magento, I succeed to run the example, but I know that It is not clean, for upates later...
What' the best way to rewrite all the files used in the tutorial, in a clean way :
app/design/frontend/default/yourtheme/template/customer/form/register.phtml
app/design/frontend/default/yourtheme/template/customer/form/edit.phtml
app/code/core/Mage/Customer/Model/Entity/Setup.php
app/code/core/Mage/Customer/etc/config.xml
app/code/core/Mage/Customer/controllers/AccountController.php
Thanks a lot
hello respected sir/ mam
how to check how many primary key, composite key in existing table using Visual basic 6.0 and ms access as a database
thanks & rgds
nasir iqbal
09899583555
hello i have a UIimageView with a PNG image that has round corners, image sits fine the only problem it has is that i can see the UIImage Corners with a white background, how can I make the background clear and transparent.
Hello all,
I'm trying to change a java project into a Dynamic web project, unfortunatly the project looks nothing like what it needs to easily move to a Dynamic web project.
So, my question is...
Change I change the "WebContent" directory to a linked folder?
So that I can change the "WebContent" folder from
C:\tools\eclipse_galiloe\workspace\Test\WebContent
to
C:\project\jsps
Thanks!
Hello,
I am wondering when to use static methods? Say If i have a class with a few getters and setters, a method or two, and i want those methods only to be invokable on an instance object of the class. Does this mean i should use a static method?
e.g
Obj x = new Obj();
x.someMethod
or
Obj.someMethod
(is this the static way?)
I'm rather confused!
Hello all,
I'm trying to print a table with a lot of columns, so that the width of the table doesn't fit a single page.
I'm using jqprint to print that table. But it prints only the left part of the table, and the right part it won't print.
Is there a way to print the table on multiple pages?
Kind regards,
Bruno
Hello,
I cannot find a 2D tile engine to create hexagon maps for .net. The best I can find is Xconq (http://sourceforge.net/projects/xconq/) and pygame. Does anybody where I can find any? preferrably one like xconq.
Thank you for your time and effort. I really apprecate it.
Hello,
Does anybody know why when connecting two dial-up modems the maximum protocol you can use to stablish the communication is V.34 -33.6K?
I've read that you can connect with the server modems of the ISP using V.92 or V.90 and I would like to know if there is any explanation to this.
Thanks in advance.
Hello,
I have two (Eclipse-) projects. Project A depends on project B, but the projects aren't nested i.e. project A is not a subproject of project B. Apache Ivy is responsible for the dependency management.
When I run the compile task in Project A, is there any way to trigger the compile task (in project B) automatically (for example if the jar file of project B doesn't exist)?
Thanks a million in advance.
Hello,
I am trying to make my site look more professional by removing the html endings from the pages..
ex. just leaving at http://33tpm.com/es/tienda
All the answers Ive found so far are so confusing that I don't really understand anything..
Can someone please help me out?
Thank you
Thomas
Hello,
I sometimes do this in my shell :
sam@sam-laptop:~/shell$ ps aux | grep firefox | awk '{print $2}'
2681
2685
2689
4645
$ kill -9 2681 2685 2689 4645
Is there a way I can transform the multiple lines containing the PIDs into one line separated by spaces ?
(It's a little bit annoying to type the PIDs every time and I really would like to learn :) )
Thanks a lot.
Hello, I have a GridView and a asp:TextBox containing a Number. The
GridView also contains cells with numbers (one in each row). I want to know wether a
cell contains this number and if so, the whole row has to be removed.
I want to do this via jQuery.
Hello
How can I measure programicaly (not query the OS, but measure) the size and order of associativity of L1 and L2 caches (data caches)?
Assumtions about system: It has L1 and L2 cache (may be L3 too, may be cache sharing), It may have a hardware prefetch unit (just like P4+), it has a stable clocksource (tickcounter or good HPET for gettimeofday).
There are no assumtions about OS (it can be Linux, Windows, smth non-standart), and we can't use posix queries.
Language is C. And Compiler optimizations may be disabled.
Hello !
I've got an apache server and I configured on it Xdebug.
I set as xdebug.remote_host my IP address so it looks like:
xdebug.remote_host=192.168.0.101
But I would like other computers also would be able to use Xdebug - how to set a few IP addresses from LAN ?
hello, I have a project with git, and I just want to clone or pull a specific directory, like myproject/javascript just like subversion does.
make some changes, commit and push back again.
It's possible?