I want to create a PDF file based on users' query result (in html table).
What is the best javascript/lib I can use for IE?
I found jsPDF but it does not support IE.
Ok, so I was comparing some stuff in my own DSL to Ruby. One construct they both support is this
x=["key" => "value"]
Knowing the difference between arrays and hashes, I would think this to be illegal, but the result in Ruby is
[{"key" => "value"}]
Why is this? And with this kinda syntax why can't you do
x=("key" => "value")
Why is an array a special case for implicitly created hashes?
Hello,
we have an web-application built in flash (it's actually just getting built :D) where is very important to be notified, when user closes his window.
Since it's in flash, we do not worry about Javascript, we do not support non-javascript users.
What is the safest (meaning it's 100% sure it gets called) X-browser way to call php script to close session, make some db changes, etc.?
Thank you
I have stored the videos in the documents folder. the path is
/Users/sridhar/Library/Application Support/iPhone Simulator/User/Applications/EC177E77-8665-485C-93DE-62350FA6D0E7/Documents/air.mp4
I want to delete the video . How can I do it programmatically.
How do i change the following statement so it accepts any type instead of long? Now here is the catch, if there is no constructor i dont want it compiling. So if theres a constructor for string, long and double but no bool how do i have this one line work for all of these support types?
ATM i just copied pasted it but i wouldnt like doing that if i had 20types (as trivial as the task may be)
public static explicit operator MyClass(long v) { return new MyClass(v); }
Hi, I cannot find any complete description about LL() parser, such as ANTLR, on Internet.
I'm wondering what is the difference between an LL(k) parser and an LL() one and why they can't support left-recusrive grammars despite their flexibility.
Thanks in advance.
Fabio.
From today, when I tried to run an app in NetBeans on a 2.3.3 Android platform, it shows me that:
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
and the Emulator doesn't want to start.
This is for the first time when I see it, and google has no asnwers for this, I tried even with 2 versions of NetBeans 6.9.1 and 7.0.1, still the same error.
I'm a Java developer looking to learn some C#/ASP.NET. One thing I've never liked about .NET from the get-go was that it didn't have support for MVC. But now it does! So I was wondering if anybody knew where to get started learning C# MVC.
Also, do you need the non-free version of developer-studio to do this?
I'm trying to figure out how to instantiate a case class object with reflection. Is there any support for this? The closest I've come is looking at scala.reflect.Invocation, but this seems more for executing methods that are a part of an object.
case class MyClass(id:Long, name:String)
def instantiate[T](className:String)(args:Any*) : T = { //your code here }
Is close to the API I'm looking for.
Any help would be appreciated.
Hi Guys,
I am wanting to utilize JSONP for a project with x-domain scripting but little concerned with the 2048 character limit in IE.
Does JSONP support "chunking" automatically if character size exceeds 2048 ? If yes, does anyone have any examples they can share ?
Thx
My application is a non-relational database application with a tcl interface to retrieve data. I would like to add SQL programming interface to my application.
Is there any library that converts SQL/PLSQL statements to API calls? It should also support stored procedures.
SQLite(Embedded) has 'virtual table' mechanism that suits my requirement but it lacks stored procedure feature.
-Gopala
I need to dinamicaly generate pdf from html, but i have PDF Support disabled on my hosting, so is it possible to do without PDFlib GmbH library.
Thanks
Im building a codeigniter app which uses json_encode to provide ajax data in many places... today I learned that the server has php 5.1.6 which doesnt support this method (or json_decode).. what can I do?? please help.
how powerful is Bluetooth programming on Android? is it possible to add new protocols and encryption techniques? or even change in the current protocols? does it support bluetooth 2.1+EDR?
Does WPF support multiple binding expressions in one statement?
Something along the lines of the following:
<TextBlock Text="{Binding Path=OrderID} shipped on {Binding Path=OrderDate}"/>
I'm guessing that it does but I think I just don't have the correct syntax.
I am looking for any tool or good solution for handling spell check in the RichTextBox for Silverlight 4. Does anyone know of an existing solution or a good way to implement spell checking support for this control?
Hi
I would like to style a form button (input or button tag) with 2 background images to create a stretchable button (relative to the text-length). The form button should also have a hovered state and it should be cross browser (at least IE7 & +) would need to support it.
I know how to obtain the effect with just css with an tag = test
If anyone could help me a little bit, I would be pleased
yours truthfully
I know Flex or Actionscript doesnt support multithreading.. but one of my project requires multithreading.. is there a way to mimic multithreading in Actionscript..
I'm reading this article about Comet http://en.wikipedia.org/wiki/Comet_(programming). It mentions that browser should support multipart/x-mixed-replace to make XmlHttpRequest Streaming possible.
Why this multipart/x-mixed-replace is necessary?
Without this header, HTTP response can still be chunked and sent piece by piece to browser, right?
Since IE6 does not support the child selector (see http://kimblim.dk/csstest/#ex1), what is the alternative when dealing with this browser?
I do not want to modify the markup, and I'd much much prefer a CSS-only solution...
And yes, it is the direct child that I wish to target.
Thanks!
I am looking for more complete sample code on how TeeFilter of Logback can be used to log HTTP messages.
I am trying to add this support to my Spring 3 (MVC)/Hibernate 3/Annotations Maven2 project. I have the config and xml files but I need to know where and how I can trigger this Filter to do the job for me in the Spring MVC framework.
Any help will be greatly appreciated.
Does anyone know the address of the default RHEL repository?
We rent a server that is hosted by a third-party and one of our users seems to have "deleted" a lot of the RHN packages from our box; included was the rhn-yum-plugin.
I really don't want to waste one our support requests on having them load up the DVD into the box and re-initializing the RHN software.
Thanks.
I'm new with dealing with the .sqlite3 in iphone, I created a sqlite3 file in
/Users/myLab/Library/Application Support/iPhone Simulator/5.1/Applications/308C4355-D8EE-4524-A7F9-638DEB68B298/Documents/file.sqlite3
and I inserted the tables into it using Terminal.app and everything works ok with my app.
but when I moved this application to another device, opened by xcode and trying to run it, I discovered that my tables are not found in this .sqlite3 file in another device.
how can I save my tables in .sqlite3 file??
My Django project is going to be backed by a large database with several hundred thousand entries, and will need to support searching (I'll probably end up using djangosearch or a similar project.)
Which database backend is best suited to my project and why? Can you recommend any good resources for further reading?