If a lot of nested dictionarys, I am trying to find a certain key.
this key is called "fruit". But it's nested inside somewhere. How do I find the value of this key?
how do i organize country data (countries, states and cities etc) in mysql?
cause every country has 3 tables: countries, states and cities.
should i have each country in separate set of tables or should i have them all in these 3 tables? if i have all of them in same tables, im afraid that the amount of rows will be huge cause i tend to have a lot of countries!
what is best practice for this?
similar to to this here...
http://www.shawnolson.net/a/503/altering-css-class-attributes-with-javascript.html
i know i can change each element's style's individually, but i want to change a lot of elements styles at the same time, and the browser seems to struggle over about 40 elements.
thanks :)
In my XCode's Targets summary screen, the "Devices" drop down is set to "iPhone" (other possible values are iPad and Universal) because I haven't fine tuned the app's UI for iPad. However, will people be able to download and run my app from the iPad in non-fullscreen? (e.g., with black border surrounding most of the screen)
I want people to be able to search for it in app store, install it, and run it even though it is not full screen.
Thanks a lot
Hey guys, in order to remove contact's photo, which way is correct?
1) to update and set Photo.PHOTO to ""/"NULL" , or
2) to update and set Photo.MIMETYPE to ""/"NULL" or
3) to update and set Data.MIMETYPE to ""/"NULL" ?
I wanted to mention also that I insert photos from my app by the following way:
cr.insert(ContactsContract.Data.CONTENT_URI, photoValues);
Please also tell me "" is better or null? (in updating case)
Thanks a lot.
I have a shared site in sharepoint and have some RSS feed webpart in it so now everytime my site opens up it shows this popup.
I know I can remove the popup by going to IE options and stuff but my question is if there is any way that i can remove it permanently because I can't tell my users to follow this process but I have lot of complaints because of this popup.
Any suggestions?
Hi guys,
I've a lot of websites (100+ directories) I want to create a unique zip with only public subdirectory.
My structure now is like:
- Site 1
--- app
--- tmp
--- log
--- public
- Site 2
--- app
--- tmp
--- log
--- public
- ... 100+ dirs ...
Now I need a unique zip and then after unzip it I want to see this structure:
- Site 1
--- public
- Site 2
--- public
- others
Any suggestion how I can do that with linux commands zip/tar ?
Thanks so much!
Hi
I am trying to write a macro that would "click" a command button that is in another workbook.. Would that be possible? Without changing any of the code within that other workbook?
Thanks a lot!
Hi, in C if I have a printf statement containing say "%.2f", it says that the precision is 2 digits after the decimal place. I haven't explicitly specify the width. I have two questions:
Is this good programming practice?;
Is without specifying the width means that the width of the field will get adjusted automatically when printing the number, irrespective of the number of digits it contains?
Thanks a lot...
I want to know from where the index of a string and an array starts from.
I am getting a lot of confusion while making programs.
While calculating string length of a string is the null character also counted.
Hi,
I' am required to convert a MATLAB function into C++, and this requires me to find determinate of a matrix. I was told that use of BOOST library would make my job easier. I went through the documentation of BOOST Library, but couldn't find much info about the same.
If anyone could give a template for the above operation, It would be of lot of help and would be greatly appreciated.
Thanks
Regards
A lot of tech interviews asks these "kinds" of questions, so I thought I'd make a list for myself and others:
(1) Linked Lists
(2) Strings
(3) Trees
(4) Bitwise Manips
(6) Recursion (I hate these ones, I can never get these, any tips?)
hi, i have a few programs that check if file exist, and if its old version delete him and paste the new one. However under Windows 7 Professional i can't delete the file some System process is always restoring it (same with the dll files) and as you can imagine a lot of programs are crashing because of that behaviour. So WHAT SERVICE/PROCESS can lock/recreate/restore files? I have disabled System Recovery.
Hello,
I would like to know how a variable length array is managed (what extra variables or data structures are kept on the stack in order to have variable length arrays).
Thanks a lot.
Hi,
I have installed "Damn Small Linux" on my home computer for doing C development in unix. But the distribution doesn't by default come with the C development environment and I am facing some issues when trying to install the gcc.
Is there any other small Linux distribution which by default has the required packages for the C development. And also I don't want additional software which takes up lot of space but still would like to have the graphical environment.
Thanks
Hello,
I have the problem, that MSSQL Server 2000 should select some distinct values from a table (the specific column is of the nvarchar type).
There are the sometimes the same values, but with different cases, for example (pseudocode):
SELECT DISTINCT * FROM ("A", "a", "b", "B")
would return
A,b
But I do want (and do expect)
A,a,b,B
because they actually are different values.
Any idea how to solve this problem?
Thanks a lot in advance!
There are obviously a lot of different choices out there if you want to program for the web using Java. Does anybody have recommendations for someone who wants a free software framework for web programming? I want to work on Linux, and I would prefer to avoid .net/mono.
I was doing some work handling a lot of information and my partner told me that I was using too many matrices to manipulate the variables of the problem. The idea was to use one dimension arrays int a[] instead of the 2 dimensional arrays int b[][], to save memory and processing speed of the algorithm. How certain is that this change will accelerate the speed of execution or compilation of my code in c ++?
There are a lot of articles about SVN vs. Hg in general.
I would like to concentrate only on performance.
Real-live experiences preferred.
Here is my set-up:
(future setup) Windows with IIS fro Hg
(current setup) SVN 1.3.2 on top of apache under windows
I would like to have statistics for most commons operations (commits, stats, local/remote pulls, pushes, etc...). I am not really sure what are the most common operations for Hg.
What libraries do I have to pick from when working with Computer Vision in C/C++?
I realize that Google has a lot of good results, but maybe there's great libraries out there that it missed.
Hi all
I Have a system. I which I need to edit the PDF in every specific evcent, for that I googled a lot and reached to conclusion that it can be achieved by first converting PDF to HTML, editting the HTML and then again converting the same HTML to PDF file.
Is there any Library available in PHP to convert PDF file to HTML?
And if anyone available with other way to achieve my task, please let me know,
NOTE: PLEASE DO NOT SUGGEST ZEND FRAMEWORK USE.
Recently lot of interviewers are asking
"What are the integration patterns are you familiar with?".
I know design patterns,what is integration pattern then?