Just curious,
Is there any difference between calling len([1,2,3]) or [1,2,3].__len__() ? If there is no apparent difference, what is done differently behind the scenes?
Thanks
I'm just curious...on the status bar on the home screen and the lock screen, is there a way to change the time that is displayed??? I've been trying to find things on this both in SDK 3.2 and 4 but with no luck.
Thanks for any responses! I really appreciate them :)
Has anyone played around with the architecture tools (uml diagrams, etc) in VS 2010 and if so what is your opinion? I really am liking Sparx Systems Enterprise Architect but am also curious about what is available in VS 2010. I'm not looking for responses about how much you hate Microsoft tools or love mircosoft tools, but more for answers about how useful VS2010 arc tools are for you.
I am just trying to better understand the directX pipeline. Just curious if depth buffers are mandatory in order to get things work. Or is it just a buffer you need if you want objects to appear behind one another.
Possible Duplicate:
Why are we using i as a counter in loops
I've used these myself for more than 15 years but cannot really remember how/where I picked up that habit. As it is really widespread, I'm curious to know who originally suggested / recommended using these names for integer loop counters (was it the K&R book?).
Hi!
I'm learning C right now and so I'm fiddling about with pointers. Is there a way to determine the word width of the CPU in C because I'm writing a small program which prints it's own stack (Because I'm curious how it is structured), so that information would come in handy. Right now I'm using an int pointer, as an integer is 4 Bytes wide and I'm using a 32-bit Intel Atom CPU.
Thanks in advance, C gurus ;o)
I have three tables with a common key field, and I need to join them on this key. Given SQLite doesn't have full outer or right joins, I've used the full outer join without right join technique on Wikipedia with much success.
But I'm curious, how would one use this technique to join three tables by a common key? What are the efficiency impacts of this (the current query takes about ten minutes)?
Thanks!
Is there any practical difference between these two extension methods?
class Extensions
{
public static void Foo<T>(this T obj) where T : class { ... }
public static void Foo(this object obj) { ... }
}
I was poking around in Extension Overflow and I came across the first form, which I haven't used before. Curious what the difference is.
I was hoping someone could explain why my application when loaded uses varying amounts of RAM. I'm speaking about a compiled version that uses the exe directly. It's a pretty basic applications and there are no conditional branches in the startup of the application. Yet every time I start it up the RAM amount varies from 6MB-16MB.
I know it's on the small end of usage anyways but I'm curious of why this happens.
I'm doing some initial research on smart phone development, and I noticed that Android and Windows Mobile both support c++ for application development. I was curious if anyone had any experience trying to manage shared files between both Android and Windows Mobile, and to what extent that code can be shared? e.g. no user interface can be shared, but web service and business logic classes can be shared, etc.
I'm curious if anyone has done any performance comparisons with any or all of the main players in the .NET ORM space. Specifically I'm interested in comparisons between the following:
Linq to SQL
NHibernate
LLBL Gen
Entity Framework
Though it seems people don't really consider Linq to SQL a true ORM, I am still including it in this list. Some performance metrics would be nice to see.
Community wiki'ed already, folks.
What part of Apache Commons saves you the most time?
I'm curious to get together a list of these to browse and see what I don't know about, or what I should be using more often than not.
i have this python script where i need to run 'gdal_retile.py'
but i get this an exception on this line:
if Verbose:
print(Building internam Index for %d tile(s) ..." % len(inputTiles), end=' ')
the end='' is invalid syntax just curious as to why.. and what the author probably meant to do.
I'm new to python if you haven't already guessed.
Hi.
Scala implicits are very powerfull. I'm curious if they are a new/unique feature of Scala, or the concept already existed in other programming languages.
Thanks.
Note: I have used the tag "implicit" instead of "implicits" because it doesn't exists and I can't create new tags...
My company is preparing to post some job postings for a programmer (or two) and am curious as to what experiences any of you have had with the big three job posting providers (Monster, CareerBuilder, HotJobs). Are there others out there that we don't know about that might be better? Any thoughts/insights would be appreciated!
This question is, as indicated, for those who use Emacs.
When you do, do you rebind the caps-lock key to CTRL, or do you use the "normal" ctrl key?
I've recently learned some Emacs commands and was using the Visual Studio 2008 emacs commands for a while, and of course I used a caps-rebind tool, but I'm curious how many other people do.
On a side note, the emacs bindings for VS are severely incomplete :(
I am looking for some direction on how to render a barcode from a numeric string on an iPhone? The symbology is not really important right now just curious on the basics or third party support if necessary.
Thanks in advance.
Given a 1*N matrix or an array, how do I find the first 4 elements which have the same value and then store the index for those elements?
PS:
I'm just curious. What if we want to find the first 4 elements whose value differences are within a certain range, say below 2? For example, M=[10,15,14.5,9,15.1,8.5,15.5,9.5], the elements I'm looking for will be 15,14.5,15.1,15.5 and the indices will be 2,3,5,7.
I have a simple index page for clients. Client has 20 fields. I am displaying list of clients in a table. For this I have to write in my views something like:
- @clients.each do |client|
%tr
%td=client.name
%td=client.email
%td=client.address
%td=client.phone etc...
I am just curious if I can do it something like
- @clients.each do |client|
- client do
%tr
%td= name
%td= email
%td= address
%td= phone etc...
i'm just curious. so i ask this particular question about SQLite. I haven't use this type of database extensively. but care to explain what is the basic different between SQLite and Mysql ?
The reason behind all of this is i just want to know whether it possible to use it to store wordpress data and act as a database ?
Currently Buildbot does not support multiple repositories. If one desires to have this then separate instances of Buildbot need to be run.
Still I'm curious if anyone has come up with a creative workaround to get this feature working anyway.
I am writing a custom error handling/reporting function for php file upload and I noticed that the error codes returned is one of numbers 0 to 8 except 5.
Is this a typo in the source I am using or is it really this way? And if it is so, I am curious why they have skipped number '5'.
Thanks.
I found a post from a while ago that addresses a similar question but I think it's a bit outdated. I realize implementations of JPA tend to be more on the heavy/dense side, so if you know of any lightweight (non-JPA) ORMs I'll most certainly appreciate your input. I did see the answer about ActiveAndroid in the other post and am curious to know if anyone tried it out.
Hi,
I'm curious what are some effects/downside of not putting an index.html file to your directories (e.g images). I know when an index file is not present to a directory, files inside that directory are no longer private and will be visible to the browsers when point (eg yoursite.com/images/). Aside from that what are some big effects to consider? and how to properly secure them.
thanks!
I am Curious about how cross domain authentication work? for example. To sign into Orkut.com you need to to sign in via Google.com. So the authentication happens at Google.com and it sets the cookie. So my question now is how does Orkut.com able to read this cookie or authenticate the user with no other information ?
What can possibly go wrong?