Hello,
I searched through Google and there was little to no information about how to integrate Smarty 2.x into Zend Framework 1.10. Can anyone teach me how to do so?
I've read a little about comet and also APE.
Which one is better? I want the users to see other users updated content. Like Google Wave.
And in comet, there are 2 versions: iframe vs traditional ajax. what is the difference and which is better. I dont quite understand it.
Thanks.
Um so I was in for a little bit of a surprise tonight. I spent a good 20 mins trying to figure out why I was able to submit a form knowing that what I entered into the recaptcha field was invalid. Is it true that you don't need to input the exact words it displays? If it shows me two words and I misspelled one of the words, I still pass validation? Same goes if "hello world" and I input "hell man" it still works.
Have a little conundrum, when I debug my air app. It goes through the build process and seemingly launches. I can see the process in windows task manager, but can not see the actual application.
Kind of strange I know. If anyone has had the same problem and can offer a shortcut to success, I'd much appreciate a pointer.
Thanks
I am setting up a domain = mydomain.com with 2 nameservers ns1.mydomain.com and ns2.mydomain.com in Webmin - BIND.
For this, I have registered 2 child nameservers at my domain registrar, and in Webmin-Bind I have set up a new zone for this domain.
In this zone, i have specified 2 nameserver records- one each for ns1 and ns2. Also, I have defined 2 address records- one each for ns1.mydomain.com -> IP Address #1 and for ns2.mydomain.com -> IP Address #2
However when I try to start BIND in Webmin, I get the following error--
Failed to start BIND : Starting named: Error in named configuration:
zone mydomain.com/IN: has no NS records zone mydomain.com/IN: not
loaded due to errors. _default/mydomain.com/IN: bad zone [FAILED]
I'm searching for a little piece of javascript that can attach to a div (in data-x data-y attributes for example) the x,y coordinates of a draggable div. And then be able to draw arrows between them (using a data-targetid attribute?).
If the solution can look like a simple version of graphview, jsPlumb or vizster but without the complicated library, and only in javascript/html
Is there anyway to "lock" open a single app in iOS?
My use case for this is simple. There are many apps and games designed for children. While these applications are appropriate for children, many other applications installed on an iPad are not.
But even more so than protecting them from inappropriate content, I would just like to prevent them from leaving the application. They accidentally hit the home button or multi-touch gesture out of the application. I know you can turn gestures off. Developers also have links to their website or other related applications.
Kids are constantly exiting the application and then bringing the device to me asking "Can you get me back into the game?" every couple minutes.
How can I hand a child an iPad with "Angry Birds" running and make sure only "Angry Birds" runs?
Cydia or jailbreak tweaks welcome. Thanks.
I was surprised to hear from this Reuters video that it was possible for a page loaded on one tab to access and/or inject data onto another page loaded on a different tab.
TL;DW (too lazy; didn't watch) The interviewee in the video suggests that when doing online banking, the user exit his browser (thus closing all windows) and start a new browser session with just your banking page/tab open. Allegedly, malicious sites can check if you have your banking site open and inject commands onto those sites.
Can someone confirm and/or deny this claim? Is it only possible even if there is not parent/child relationship between windows/tabs?
I have an HP-G71-340US notebook that I purchased 11/29/09.
When I power it up, a black screen comes on that shows "serial number not found" and it also says that my copy of Windows 7 Home Basic is not genuine – but my computer came with Windows 7 Home Premium.
In BIOS, my serial number is not shown either and I did pull out the little battery to reset it which allowed me to bypass the suddenly new locked BIOS that needed a password to enter.
I'm sure this is a masterpiece created by my 6 or 9 yr old child while trying to play on my laptop.
Can I fix these two problems?
Hey everyone,
I am a little confused after reading this thread on the revisions to the iPhone Developer Agreement.
While it lists the languages that are permitted, I don't understand what classifies as falling under what is banned.
Does this include wrapper classes? What if the code is written in Objective C but is not an official Apple class/library?
I'm wondering about things like:
Three20 from Facebook
SQLite Wrappers such as this one
Charting / Graphing Libraries
If anyone could clarify this, I'd greatly appreciate it.
I'm a little confused to what html5 canvas is. I've been told it is javascript, but it seems to be a much bigger deal?
What makes it different than javascript?
Why is it so amazing?
Does it do other things than javascript?
Thanks,
Dan
Try running this in a .VBS file
MsgBox(545.14-544.94)
You get a neat little answer of 0.199999999999932!
This rounding issue also occurs unfortunately in Sin(2 * pi) since VB can only ever see the (user defined) variable pi as accurate as 3.14159265358979.
Is rounding it manually (and loosing accuracy) the only way to improve the result? What is the most effective way of dealing with this kind of problem?
I would like to call sendfile() to send some data to the client with as little overhead as possible.
Given an Apache struct request_rec, how can I get the fd associated with the client socket?
I am trying to implement nhibernate transaction handling through Interceptors and couldn’t figure out how to register the interface through fluent mechanism.
I see a
Component.For<ServicesInterceptor>().Interceptors
but not sure how to use it. Can someone help me out? This example seemed a little complex.
Hi at All
I have a little question...
On my JSP page I have a List of beans. I want to extract a sublist of beans with a specific property (Ex. all Horror books). Can Apache Beanutils help me?
Thanks in advance...
Hi there all :)
Made this nice little loop for hiding and showing div's, works as a charm in firefox and opera, but IE, safari and chrome say's no....
So my question is; why?
function theme(nr){
document.getElementById(nr).style.display = "block";
for (i = 0;i <= 28; i++) {
if (i != nr) {
document.getElementById(i).style.display = "none";
}
}
}
Thanx:)
hi,
I'm generating a random number between min and max with this code:
return min + (max - min) * Math.random();
And it works. However, the random numbers are very little usually between "1 or 3" even if the max is 80.
How can I better distribute the random numbers over all range ?
thanks
I have a user whose home drive has only that user in the permissions. No administrators, etc.
I have tried to take ownership as a local administrator however I cant seem to apply settings to the child objects -- it still gives me a permission denied error.
I know there are some handy CLI utils that can redo permissions. Any ideas? Or even a way to do it through Windows?
The file server is a 2008 R2 server.
I've really enjoyed reading Peter Siebel's Coders at work book.
At the end of the last chapter (Don Knuth), i tought that the interviews selection was good but a little bit too old-school oriented.
So, in your virtual 16th chapter, which guru would you interview?
In my 16th chapter, i would be amazed to read an interview of John Carmack.
Hi,
I started to work in unix for couple of weeks ago and can very little about unix.
Everytime I edit a file, a temp file~ appears in the filesystem. What does this mean? Can I just remove all these files? What can I do for removing these files automaticaly everytime I close the original file?
/Niklas
Hello,
I was wondering what is the intent for downloading URLs? In the browser, it will download stuff with a little notification icon. I was wondering if I can use that intent (and what it is). Thanks, Isaac Waller
Hi, I've isolated a little test case of IE7's z-index bug, but don't know how to fix it. Have been playing with z-indeces all day long but it didn't.
If someone knows, what to do about it, pls help ;)
The test case is located here - http://upload.rezna.info/z-index-test.html
The problem is, that in IE7 the second textbox is placed over the red list (suggest box).
Thx, rezna
I have a client which makes a limited number of concurrent web requests. I use WebClient for this purpose. I currently have a pool of WebClient-s which I create once and use whichever one is idle.
This approach is becoming a little cumbersome though, and I'm wondering if there is any benefit to having a collection of pre-constructed WebClient instances, or if creating them on the fly wouldn't be too much trouble?
You know what I'm talking about: for example when you get multiple new emails the notification icon in the status bar is augmented with a little red circle that contains number of unread mails. Twitroid has the same icon. Any idea how it's done? I don't think (or so I hope) there are 10000 similar icons. Is this red circle generated and overlaid the notification icon? If so - any code snippets will be much appreciated.
Nasty little bug, this one.
As illustrated in Android ticket 6721, the Android browser seems to not respect z-index when absolutely positioned elements are laid over the top of <a> or <input> tags.
I am desperate for any sort of workaround. Has anybody conquered this one before?
Thanks in advance!