How do a I generate an audio sine or square wave of a given frequency.
I am hoping to do this to calibrate equipment, so how precise would these waves be?
Hi all,
I have been working around in UIImagePickerController and am struck with a problem where I need to get the precise moment when the camera shutter opens in UIImagePickerController when the source type is set to camera (UIImagePickerControllerSourceTypeCamera).
I have done some googling around and have realized that no one had such strange requirement!
I looked around the docs of UIImagePickerController and UIImagePickerControllerDelegate hoping to get some delegate method / callback indicating the camera shutter open event, but did not find any.
Any suggestions?
Thanks for any help,
Raj Pawan
So I'm getting a new job working with databases (Microsoft SQL Server to be precise). I know nothing about SQL much less SQL Server. They said they'd train me, but I want to take some initiative to learn about it on my own to be ahead. Where's the best place to start (tutorials, books, etc)? I want to learn more about the SQL language moreso than any of the fancy point and click stuff.
I am using an UI search bar into my iPhone application, I would like enable Cancel button of Search bar at the time of view did load but not able to do so as its gets activated when a user starts editing the search bar. To be more precise I would to achieve the serach functionality that has been provided by Apple in Stock application
In my bytecode instrumentation project, I stumble frequently on VerifyErrors. However, the default java Verifier gives little information on which instruction resulted in the error (it only gives the method and a small message). Is there any stand-alone bytecode verifier which provides with a little more advanced help in locating the error, at least the precise instruction location? Thank you.
Does Python have a pool of all strings and are they (strings) singletons there?
More precise, in the following code one or two strings were created in memory:
a = str(num)
b = str(num)
?
XmlElement has an "Order" attribute which you can use to specify the precise order of your properties (in relation to each other anyway) when serializing using XmlSerializer.
Is there a similar thing for XmlAttribute? I just want to set the order of the attributes from something like
<MyType end="bob" start="joe" />
to
<MyType start="joe" end="bob" />
This is just for readability, my own benefit really.
I don’t want to have my messages to the user stored in the application, or in a resource file.
By message I mean, those difficult strings that we have to write to tell the user what is going on or wrong in the application at the precise time.
Is there a simple message generator?
Simple stuff, but as to handle singular/plural and feminine/masculine.
In my Python script which uses Curses, I have a subwin to which some text is assigned. Because the text length may be longer than the window size, the text should be scrollable.
It doesn't seem that there is any CSS-"overflow" like attribute for Curses windows. The Python/Curses docs are also rather cryptic on this aspect.
Does anybody here have an idea how I can code a scrollable Curses subwindow using Python and actually scroll through it?
\edit: more precise question
I'm considering using JRuby on App Engine but have heard that Juby app on App Engine have a long startup lag. Why is this?
Is it because the JRuby jar files are so large that a cold startup requires them to be loaded into memory before the app can start serving?
That would be my guess but I'm not sure if that's a precise technical explanation.
I'm trying to emulate the scroll views in a UIPickerView. You can scroll these freely (as opposed to paging in a UIScrollView) but they always decelerate and stop at precise increments, alongside the dates.
Any idea how this is performed? I can't seem to think of a way to implement it.
If you use one of course, which one?
MyGeneration
T4
UML Transformation Tool (precise which one)
...
All others not listed above since there are so many
Is there a way to get the ceil of a high precision Decimal in python?
>>> import decimal;
>>> decimal.Decimal(800000000000000000001)/100000000000000000000
Decimal('8.00000000000000000001')
>>> math.ceil(decimal.Decimal(800000000000000000001)/100000000000000000000)
8.0
math rounds the value and returns non precise value
I need to display & edit highly precise decimal numbers - latitude and longitude. ActiveScaffold keep rounding my values to precision 6 scale 3, can I change that to precision 11 scale 8 somewhere?
Thanks
In my C# (3.5) application I need to get the average color values for the red, green and blue channels of a bitmap. Preferably without using an external library. Can this be done? If so, how? Thanks in advance.
Trying to make things a little more precise: Each pixel in the bitmap has a certain RGB color value. I'd like to get the average RGB values for all pixels in the image.
It seemed a trivial matter at the beginning but so far I have not managed to get the unique identifier for a given resource using SPARQL. What I mean is given, e.g., rdf:Description rdf:about="http://..." and then some properties identifying this resource, what I want to do is to first find this very resource and then retrieve all the triples given some URI.
I have tried naïve approaches by writing statements in a WHERE clause such as:
?x rdf:about ?y and ?x rdfs:about ?y
I hope I am being precise.
Hi,
This website http://www.elkaniho.com/ has a CSS layout which is what i want, you see, the divs stack on top of each other, not on a precise grid, but just at the bottom and on the side.
And when you re-size the browser, they all re-adjust perfectly?
anyone know how i can get the same layout like at elkaniho.com or what type of layout this is called?
Does Python have a pool of all strings and are they (strings) singletons there?
More precise, in the following code one or two strings were created in memory:
a = str(num)
b = str(num)
?
Both queries below translates to the same number
SELECT CONVERT(bigint,CONVERT(datetime,'2009-06-15 15:00:00'))
SELECT CAST(CONVERT(datetime,'2009-06-15 23:01:00') as bigint)
Result
39978
39978
The generated number will be different only if the days are different. There is any way to convert the DateTime to a more precise number, as we do in .NET with the .Ticks property?
I need at least a minute precision.
We have discussed keyboards. But take a look at the small piece of plastic to the right (or left :) ) of your beloved keyboard! This humble creature helps you to draw nice forms, and click all around the web. A real programmers mouse must be precise and comfortable, so which mouse would you make a companion to your keyboard?
Currently I'm in love with this fat member of mice family:
Natural wireless laser mouse 6000
Actually, i am facing a codebase where developpers decided to use 'AND' and 'OR' instead of '&&' and '||'. I know that there is difference in operators precedence (&& goes before 'and'), but with given framework (prestashop to be precise) is clearly not a reason.
So, my question: which version are you using? Is 'and' more readable than '&&'? || there is ~ difference?
It seemed a trivial matter at the beginning but so far I had not managed to get unique identifier for a given resource using SPARKQL. What I mean is given and then some properties identifiying this resource in perfect world I want to first know how to retrieve an individual triple given some uri. I have tried naive approaches by writing statements in a WHERE clause such as ?x rdf:about ?y and ?x rdfs:about ?y. I hope I am being precise.
I was wondering which would be the most efficient approach to implement some kind of background task in java (I guess that would be some kind of nonblocking Threads). To be more precise - I have some java code and then at some point I need to execute a long running operation. What I would like to do is to execute that operation in the background so that the rest of the program can continue executing and when that task is completed just update some specific object which. This change would be then detected by other components.
What is the precise implementation of Enumerable.Range in .Net; preferable .Net 4? Is it a yielded for-loop? A custom implementation (IEnumerable, IEnumerator) or?
I know that different DBMSes support different aggregate functions; for example:
MySQL's aggregates
Oracle's aggregates
I want to get the list of aggregates mandated by the SQL standard. Or, to be more precise, the lists of mandatory aggregates for SQL 1992, 1998, 2003, 2008 and 2011 - with 2011 being the most important to me.
Edit: Of course if I buy a copy of the standards I could compile these lists myself. My question is whether they're accessible somewhere online.