Hello, i have a list like this
["peter","1000","michell","2000","kelly","3000"]
and i would like to convert to
[("peter",1000),("michell", 2000),("kelly",3000)]
Please help.
Thanks.
Hello ,
I don't know whether CLLocation Manager is singleton or not suppose if I want to make it singleton for some reasons and want to use it in all the view controller s throughout the application then how can I do so ?
Hello!
Does anyone know of a class/library/etc. that can simulate 32 bit unsigned integers on a 32 bit platform in PHP?
I'm porting a C lib into PHP and it uses a lot of integers that are greater than the maximum for 32 bit signed int.
Hello,
I have the following code:
@interface AddResident : UIViewController
{
IBOutlet UITextField *FirstName;
IBOutlet UISegmentedControl *Gender;
}
I can see both of these outlets in interface builder but can only connect the UISegmented control... the other one will not connect to my UITextField on the form.
Any help is much appreciated.
Hello All,
I'm not able to get the below code to work.
$("#grid_table td:nth-child(10) input").live("onchange",function () {
alert("changed");
});
am I missing something here? Thanks.
Ravi
Hello,
I just started using the ExpressionEngine wiki talk forum extension and it is great for creating forum topics per each wiki article but, I also need it to add discussions for wiki file pages too.
My users have the need to not only discuss wiki articles but, to also discuss uploaded files. Any thoughts on how to add this feature to wiki talk forum extension?
Hello,
Recently, a client asked that his site be percent-based rather than pixel-based. The percent was to be set to 80%. As you guys know, it is very easy to center the container if it is pixel-based but how do you center a percent-based main container?
#container
{
width:80%;
margin:0px auto;
}
That does not center the container :(
Hello,
I'm writing a standalone application and I thought using Entity Framework to store my data.
At the moment the application is small so I can use a local database file to get started.
The thing is that the local database file doesn't have the ability to auto generate integer primary keys as SQL Server does.
Any suggestions how to manage primary keys for entities in a local database file that will be compatible with SQL Server in the future?
Thanks,
Ronny
Hello all,
I am trying to import NLTK in my python code and I get this error:
Traceback (most recent call last):
File "/home/afs/NetBeansProjects/NER/getNE_followers.py", line 7, in
import nltk
ImportError: No module named nltk
I am using NetBeans: 6.7.1, Python 2.6 NLTK.
My NLTK module is installed in /usr/local/lib/python2.6/dist-packages/nltk/ and I have added this in Python paths in Netbeans.
What am I missing here?
Thanks in advance.
Hello,
I'm required to write a JCE provider. I have learned that I need to use bouncy castle clean room implementation. Could you please tell me what does Clean room implementation mean in our my contest.
Hello
Anyone know where I can obtain sample code for a Directed Graph and sample code for performing a topological sort on a directed graph? (preferably in Java)
Thanks
Hello, I have a table A where I put many image resources with a daily frequence.
Every record of table A references another table B in which there are only fixed records.
My doubt is the following, better to clean all records in A and then inserting new images or
updating only the binary column of all records.
What your advice?
Hello!
I am trying to just create a basic layout, but i am having trouble to get it to auto-adjust the height.
Something is wrong with the DIV-container since it's not adding the padding correctly to the top and bottom elements. It should be the size of the highest block, right now its the menu block.
Any ideas?
Website
Hello,
I was wondering if there exists some kind of indexer (in python language for exemple) that would take a bunch of html files and create an index in javascript.
In the solution, these javascript files would then be used to create a pure browser search engine.
Jerome
Hello all,
I was wondering if EF4 support cross-databse relationships? For instance:
db1
Author
Id
Name
db2
Posts
Id
Content
db1.Author.Id
What ideally I need to do to get this relation in my ef4 model?
Do you guys have any idea?
Thanks
Hello,
I am trying to use the new LINQ notation to add an item into a folder.
I can add the item to the root of the list with:
dataContext.MyList.InsertOnSubmit(mynewObject);
But I can't find a way to make it go inside a folder.
I am trying to avoid instanciating SPWeb, or SPSite objects.
Thanks,
Itay,
Hello
I am wondering how agile (fast to develop yet stable) asp.net MVC compared to frameworks using dynamic languages such as Django or Ruby on Rails.
I will be happy if you share you experiance in the name of development speed (assuming each language/framework is known at a similar level)
Things I love about Django
Fast model design thanks to ORM
Good template system
Not too hard to deploy
Easy to extend
Lots of free apps to plugin and great documentation
Thanks
From the O'Reilly book "Android Application Development " by Rick Rogers, John Lombardo, Zigurd Mednieks & Blake Meike:
page 23:
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
page 44:
<application android:icon="@drawable/icon2">
What is the meaning of the "@" in each of the above fragments?
hello,
i want a mysql connection with c++ to my db ofcourse :P, i downloaded the files here:
http://tangentsoft.net/mysql++/
But im not succesfull to install it and get the librarys in the c:/mysql++ folder.
can somebody help / do it for me and upload it :).
THNX!
greetz
stefan
Hello,
I'm searching for a screen capturing tool which captures areas of an website/web-application based on the url. The very best for me would be an firefox/ie addon with an API accessible via javascript.
Example:
URL, Coordinates, Filename
http://foo.com/project/show/33; rectangle:10,10,50,50; myapp-area1.jpg
http://foo.com/project/show/33; rectangle:100,100,150,150; myapp-area2.jpg
Hello; I'd like to upgrade the Hibernate installation that ships as part of JBoss 5.1.x to Hibernate 3.5.x.
Is there an "approved" recipe for doing this?
Hello Everyone,
I am interested in reading ONLY the TEXT content of a UIWebView. How do I do this? I found lots of help on the web about reading the HTML content but I want ONLY the Text. Any suggestions?
Thanks
Hello,
I'm trying to create a stacked bar graph with variable coloring in each stacked bar; that is, one bar has say blue on top of red, the next one red on top of purple, etc. I also wanted to preserve the ability to stack graphs. Thank you so much guys.
Adam
Hello,
How to make the data table rows change color as hover over it. The YUI example is here link text
I tried something like
<script>
GRAILSUI.myDataTable.subscribe("rowMouseoverEvent", GRAILSUI.myDataTable.onEventHighlightRow);
GRAILSUI.myDataTable.subscribe("rowMouseoutEvent", GRAILSUI.myDataTable.onEventUnhighlightRow);
GRAILSUI.myDataTable.subscribe("rowClickEvent", GRAILSUI.myDataTable.onEventSelectRow);
</script>
thanks,
Hello,
i need to realize an app for Android using this background image:
Over every cell i have to draw a TextView, but i don't know how to do it with the different screens; i have the background image with 3 resolutions (240x320, 320x480, 480x800) but i don't know what kind of layout to use; i would use GridView but i don't know if i can work with different column size.
Can anyone help me?
Thanks in advance