hello i need to perform quantization to dct cofficents for an image, for a block
size of 8*8 pixles in matlab. can you help me with the syntax, thank you.
I have a UITextView which the keyboard enters values into. However, if you clear the text value (i.e uitextview.text = @""), the keyboard's state does not reset to the lowercase alphabet keyboard.
That is, if I was in the middle of typing "hello.." and the textview gets cleared, the keyboard still shows the symbols, rather than back to the alphabetical letters.
Is there a way to get around this?
Hello,
I want to build a web based admin tools that allow the system admin to run pre-configured commands and scripts through a web page (simple and limited webmin), what is the best approach?
I already started with Ubuntu installing LAMP and give the user www-data root's privileges !!!
as I learned (please check the link) this is a really bad move !!!, so how to build such web-based system without the security risk?
cheers
Hello can anyone please let me know a function for 3D printing in OpenGL. I had to print a string and was using glutBitmapCharacter() but this is not printing it.
Thankx in advance. :)
Hello all,
I'm trying to use php's file_get_content('a url');
The thing is if the url has '&' in it, for example
file_get_contents('http://www.google.com/?var1=1&var2=2')
it automatically make a requests to www.google.com/?var1=1&<no space here>;var2=2
How do I prevent that from happening?
hello i am a student and i am doing my senior project it is about developing an application in j2me for scanning a barcode and extract the number of the barcode in a message to be send.
please i search the net but i cant found something usefull i am new at j2me if someone could help me with sourch code and how to create it i will be very thankfull my email is [email protected]
thanks in advanced
Hello,
after a website mirrored using HTTrack, there is lots of ads. I just want to replace that ads by ID or class, or by text, using script (Perl, Python, Ruby, etc), or any other way
Does anyone know what script can do this job?
Thanks in advance.
Hello,
I have a model with nested attributes :
class Foo < ActiveRecord::Base
has_many :bar
accepts_nested_attributes_for :bar
end
It works fine. However I'd want to be sure that for every Foo, I have at least two Bar.
I can't access the bar_attributes in my validations so it seems I can't validate it.
Is there any clean way to do so ?
hello
what i want is to make user counter as true as possible.
exluding bots, and clever users as much as possible.
as 4 what i know, it can be done in several ways:
ip (trouble with dinamic ones and proxy's)
cookies (with session id maybe, but can be deleted or browser can be changed)
flash cookies (not all users have it)
any other ways? and what is the best?
Hello,
I want to center a div, but the general way is
#selector{position:relative;margin:0px auto;}
What exactly is wrong below
#crp{top:40%; position:absolute; margin:auto;}
The Div below is not nested but a standalone. The #crp is going to the extreme right.
<div id="crp">...something goes here....</div>
Thanks
Jean
hello:
i have just created a new empty website from visualstudio 2010, added an new webform and droped a login control into the page.when i click the tag "administer website" then try to open security-Use the security Setup Wizard to configure security step by step, the IE8 shows the error: "Object Expected".
(tried to make a asp.net site with generated code, without any modification, but the error still occered)script type="text/javascript"
hello,
I have javascript code embedded inside a html template file. When I load this template via ajax and inject it into the DOM, the javascript code isn't functional.
Would anyone know how to get this javascript code to execute as normal?
Thanks a million!
Hello there!
After my aunts death, I have inherited an iMac with several Adobe software on it (= Photoshop, Illustrator, InDesign, etc.). Is ist possible to sell (or better to overwrite the licence) the software to other persons in the name of my aunt? Or whom does the software belong now?
Thanks in advice! :)
Hello,
I cannot $_post['value_to_be_posted'] value into a <form><input type="hidden" value="<? echo $_post['value_to_be_posted'] ?>"></form> in chrome but works in IE and ff.
Any ideas
Thanks
Jean
Hello,
first this is no rant although its worth alone to put it on a blog...
When I type very fast - having roughly 260 chars/minute - WPF`s RichTextBox starts swallowing chars and I have to stop writing that fast a = a.IsAnnoying = true;
The same in a VB 5.0 RichTextBox fast as hell.
Why is WPF again so great for? Customer satisfactory ?
Seriously, is there something I can tweak to make RichTextBox better responding?
Hello,
I want to pass a $_GET[''] to a php file, when a button is clicked it must display data from the db.
It displays the data without the query.
The process.php contains SQL statement to query the db and display values.
Thanks
Jean
Hello
I've created a JSF application, and I want to embed a link in a page which when clicked causes the backing bean to marshall out some xml and force the opening of a save-as download dialogue box so the user can choose a location to save the file. I've already written the JAXB code.
How is this done?
Thanks
Hello all
I am having a problem using $html-link helper in my view. Consider this snippet...
/views/nodes/packages.ctp
<li><?php echo $html->link( "Package 1", array( "packages", "package1" ) )?></li>
Now when I click on the link, the address in address bar appears like
http://www.server.com/nodes/packages/packages/package1
Why is this happening? I haven't changed anything in my default routing configuration file.
Regards
Vikram
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
Hello,
What's the difference between those PHP if expressions!?
if ($var !== false)
{
// Do something!
}
if (false !== $var)
{
// Do something!
}
Some frameworks like Zend Framework uses the latest form while the traditional is the first.
Thanks in advance
Hello,
I have managed to load in an image using:
BufferedImage image = ImageIO.read(out);
and place text over it however, I want the text to appear next to the image. How can I increase the image width on the right to allow for space for the text to be drawn on. Or do I have to create a new empty image and insert the existing one?
Thanks
Hello,
is there a way to export AD password in a file and then Import it to another AD from that file, it is not different to have hash password, just I want to know whether possible to import and export user and passwords from one AD to another AD using C#.net
Thank you
my AD is 2000 advance server and my new AD will be 2003 or 2008