Hello,
I Jquery, one can attach/register an event for dynamic content( which loaded later, through ajax) through live() method. Is there anything similar in YUI
thanks.
for documents with lists with pagination, is it better to embed or use
reference? im reading the custom type "SONManipulator" and it appears
to transform every thing on retrieval, even the sub docs.
i want to keep the list in the document sorted, should this impact
anything?
Hi, this is probably the really newbie question (well, I'm pretty sure it is), but I have a float that's being returned and I need a quick and efficient way of turning it into an int.
Pretty simple, but I have an exception. If the remainder of the float is anything other than .0 then I want to increment the int.
Some quick examples:
Float = 98.0, Int = 98
Float = 98.1, Int = 99
Float = 6.6, Int = 7
etc.
Thanks for any help!
Is it possible to make GNU Emacs 24 dim unfocused windows a bit? For example, I can set my rxvt-unicode clients to become darker when their windows don't have focus with this string in ~/.Xdefaults:
URxvt*fading: 50
It greatly reduces discomfort when you have a lot of terminal windows on 2+ monitors. I would like a similar feature in Emacs, but couldn't google up anything.
Here is how it looks like with urxvt (png, 1.43 MB)
Im just wondering how i use xmlencoder to serialize ArrayList where foo is my own made class.
Do i have to do anything in particular, ie define my own xml structure first and then call toString on each value in my list and write it out?
Can anyone point me to a good tutorial? http://java.sun.com/products/jfc/tsc/articles/persistence4/ Thats what i have been looking at but it doesnt seem to mention what to do with non library classes.
Thanks
Why MS Access adodb in .NET returns 34 in fieldcount when table has 42 fields ?
I see 42 fields in table of my MS Access mdb database. But ADODB layer in .NET sees only 34 fields. The Outofrange exception occures when I am calling method getOrdinal("FieldName") of reader class.
Is it something I am missing in setting up connection, license or anything?
Thank you
i start up an existing solution, click on a javascript file, the file opens up in the IDE for a few seconds and then visual studio disappears. This is consistent and reproducible.
I saw this patch for KB958502 and installed it but it didn't seem to do anything.
Any suggestions on how i can proceed as this is completely stopping my development here.
I'm new to the iOS platform. I'm not clear on the purpose of the interface builder. It looks like I can avoid using it entirely and just write all the code in objective c. am I right? is there anything that IB can do but obj-c cannot?
It reminds me of visual basic 6.
I think the concept of Python's doctests is brilliant, and as a C++ programmer at a real-time shop, I'm quite jealous. We basically have no unit test capability, which is a severe hindrance. I've seen C++Unit, etc, but is there anything that can extract test cases out of comments like Python's doctests rather than putting them in the code directly?
On Linux, normally I use ptrace function to trace all syscall, and kill the process if the it tries to do anything harmful to my machine, such as system("shutdown -s -t 00") or so.
Is there a way for me to do this on Windows?
EDIT: I want to write Sandbox program to limit time and memory usage of its child that can work on both Windows and Linux, and now it can only run on Linux via ptrace
I used to have a great firefox addon for this and i can't remember the name of it..
when you looked at the source it would sit at the bottom (like firebug) and check your html markup and suggest things like "doctype given is html4.0, looks like xhtml strict" etc
i though it was the web developer toolbar but that doesnt seem to add anything to the bottom of ym source pane?
I use a Wordpress plugin called 'Shopp'. It stores product images in the database rather than the filesystem as standard, I didn't think anything of this until now.
I have to move server, and so I made a backup, but restoring the backup is proving a horrible task. I need to restore one table called wp_shopp_assets which is 18MB.
Any advice is hugely appreciated.
Thanks,
Henry.
Hi Guys,
I'm constructing a geolocation based application and I'm trying to figure out a way to make my application realise when a user is facing the direction of the given location (a particular long / lat co-ord). I've done some Googling and checked the SDK but can't really find anything for such a thing. Does anyone know of a way?
I am trying to create a landscape and portrait mode only for tablets. For portrait mode I added the files under layout-xlarge and for landscape in tablets I added files under layout-xlarge-land, but just to test if its working I tried switching the background color under landscape to green, but it didnt seem to work. Is there anything else I need to alter for code to recognize landscape mode for tablets?
I am working in flex and I am just setting a variable to false. It doesnt do anything in the program but everything breaks when I put this line of code in:
somevar = false;
Does anyone know why?
I have a scenario wherein the user uploads a file to the system. The only file that the system understands in a CSV, but the user can upload any type of file eg: jpeg, doc, html. I need to throw an exception if the user uploads anything other than CSV file.
Can anybody let me know how can I find if the uploaded file is a CSV file or not?
I have a django html form for address information. There is standard street, city, state/province, postal code, country fields. The country field is a drop down list. How can I make the state/province field a drop down list if the selected country is united states and a free form text box if the country is anything else?
I'd prefer not to have to do a round trip to the server so probably through jquery?
Right now I am going through MIT's introduction to Computer Science course via OpenCourseWare. As a part of this course I am learning the Python Language.
I've read a lot of things about the benefits of learning C. Before I dig any deeper into Python I wonder if I will be hindered or helped by learning Python first.
Do you think that I will develop any bad habits or anything like that from Python?
I am trying to create a similar way to Cpanel password protect directory, where a pop up comes out asking the user for a username and a password, but Cpanel way is amazing but my client doesn't know anything on how to do that, so i wanted to create a pop up msgbox informing the visitor to enter a user name and a password, and i totaly confused on how to create it, and which programming language support similar to CPanel
I have a table that is being sorted by the TR tags, everything works fine except that I have to click twice on any item in the list after something has been moved for anything to respond, on links etc. Do I have to call some function after the list has been sorted to re-activate it so that I don't have to click twice on items?
I know a bit of each of these, but none enough to pass technical phone screens/interviews.
I am looking for a job, and I'll take anything, almost anywhere (in the US).
Any opinions on which I should take on and do a deep dive?
I do not which technology, I am wondering if one is better than the other when trying to get a job, more in the entry/mid level skill level.
I am currently in the Bay Area, but will go anywhere.
(Sorry I know this is an old chestnut; I have found similar answers here but not an exact answer)
These are frequent hand written queries from a console so I is what I am looking for is the easiest thing to type
SELECT * FROM tbl_loyalty_card WHERE CUSTOMER_ID REGEXP "[0-9A-Z]";
or
SELECT * FROM tbl_loyalty_card WHERE LENGTH(CUSTOMER_ID) >0; -- could match spaces
Do you have anything quicker to type even if it's QAD?
when i made https enabled in secure url and front end secure url usage to yes in magento the checkout page becomes not found. Should i need to do anything more? where i have to place my ssl certificates.
please help me in this
I know the importance of Browser styles-sheet and author style-sheet. but what is the importance of user style-sheet?
Why user stylesheet needed?
Does every browser has user styleshhet desktop or mobile?
Which type of users use user stylesheet and why?
Is thery anything to do for userstyle sheet for XHTML css developer?
Is userstyle sheet related to accessibility?