Does anyone know of an Objective-C framework that takes care of registering an app? I'm interested in the GUI/30-day trial side more than the actual verifying of serial numbers.
I'm looking for a regex to only match words, possibly including numbers, and possibly with an apostrophe at the beginning, middle, or end; and ignore everything else.
So these would be matched verbatim:
'bout
it's
persons'
But these would be ignored:
'
''
However, for words like 'open', open should be matched.
I have a file that contain list of numbers that looks like this:
10^-92
2 10^-14
10^-105
3 10^-20
To explain a bit further 10^-92 is essentially 1E-92 and 2 10^-14 is 2E^-14.
Is there a compact way to convert the number in above file into Perl number? At the end I want to sort these number numerically.
I currently have this line of code which has been working for the past 6 months:
If IsNumeric(txtProductID.Text) Then
...do stuff
Else
Dim msg As String = "Error!"
End If
All of the sudden, no matter what kind of entry is put in txtProductID (including plain numbers), it fails! Is there reason for me to be going crazy over this?
Hello, everyone)
I'm new in Java world and I'm tottaly confused with numbers of java server-side technology.
I need to build application with Java on server side and Flex-AIR on client one. All communication between them must be on sockets and in AMF format.
Can you please help me to choose right to technology to learn?
hello,
i have this crazy label for each time i create a migration that use the time instead of a integer. it makes things very hard to switch between the version of the database that you want to use.
i also have this crazy ID for each object that i create :
How can set up rails to have easy version and id numbers.
thank you
Is there an equivalent to an identity Seed in SimpleDB?
If the answer is no, how do you handle creating something like a customer number or order number that will prevent the creation duplicate numbers?
My experience is mainly from SQL Server in which I would either create a primary key with an identity seed or use transactions in a stored procedure to increment the number.
Thanks for your help!
hi there,
i am working on an application that uses the Google Analytics Export API and i am trying to get the "Trend" result that Google shows against each of your site accounts as a percentage
ie UP 35.04% or DOWN 16.02%
How/where do they get this figure and is it available in the API somewhere.
i have tried comparing averages of last month to this month/first week of the period vs last week of the period etc, but i cannot seem to get the same numbers that Google provides.
any ideas?
thanks in advance
Doug
Does merge sort work by;
taking a list of values
splitting it in to two
take the first element of each list, the lowest value one goes in to a new list(and i guess removed from the original). comare the next two numbers - do this until one list is empty, then place the rest of the other list at the end ofthe nw list?
Also, what are the ramifications of doing this on a linked list?
Thanks
Using Big Oh notation, which sorting algorithm takes minimum amount of time to sort the following numbers:
9834,
343,
902,
23922,
7233,
82,
299,
23,
4454,
2342,
992,
389.
I've noticed that on some websites (including SO) the link to the CSS will look like:
<link rel="stylesheet" href="http://sstatic.net/so/all.css?v=6638">
I would say its safe to assume that ?v=6638 tells the browser to load version 6638 of the css file. But can I do this on my websites and can I include different versions of my CSS file just by changing the numbers?
hello.
my Perl scripts gets a udp response that is built out of 2 integers + float numbers.
the problem is that the udp streams is one long stream of bytes.
how do i cast the stream into parameters using Perl ?
For example, these are valid math expressions:
a * b + c
-a * (b / 1.50)
(apple + (-0.5)) * (boy - 1)
And these are invalid math expressions:
--a *+ b @ 1.5.0 // two consecutive signs, two consecutive operators, invalid operator, invalid number
-a * b + 1) // unmatched parentheses
a) * (b + c) / (d // unmatched parentheses
I have no problem with matching float numbers, but have difficulty with parentheses matching. Any idea? If there is better solution than regular expression, I'll accept as well. But regex is preferred.
I am looking for a regex to validate a string. I want to allow numbers, alpha characters, spaces and any of the following characters in any order:
+ - ( ) ,
Thanks.
Does Actionscript have a built-in function that accepts a number and can return a Boolean if this number is between 2 numbers.
For example
3 is between 2 and 6 //returns true
5 is between 10 and 20 //returns false
I'm trying to create a report that will always show yesterday's numbers but the SSRS documentation is weak on examples in this area. Yesterday is one of the relative date values for use as filter criteria - but where?
Hi,
I need make Number Format like scientific notation, but without E nor e. Just classic like this:
(In latex its 2.3\times10^3)
Maybe excel doesn't support this format.
(I have on mind Number Format - for hundreds numbers - not in math formula)
Hello , i was just wondering, is there any way in MIPS to store a summation of numbers as a string and later read them byte by byte, for example:
the sum 657 - sw into a .ascii directive - later lb on the first index to get 6 (in ascii code) same with 5 and so on
Is this possible ?
//Thx in advance
Basically speaking I am making a map framework (like Route-me and Google Maps). I want to dynamically set properties of CATiledLayer, such as tile numbers, what conditions to trigger reloading tile source, and binding a function when CATiledLayer realoding sources?
Suppose I have a list of numbers:
L = [1, 2, 3, 4, 5]
How do I delete an element, let's say 3, from the list while I iterate it?
I tried the following code but it didn't do it:
for el in L:
if el == 3:
del el
Any ideas?
Thanks, Boda Cydo.
Hi
What is you experience with the make -j flag?
There seem to be some controversial if the jobs are supposed to be equal to the numbers of cores, or if you can maximize the build by adding one extra job that can be cued up while the others "work".
The question is if it is better to use -j4 or -j5?
And have you seen (or done) any benchmarking that support one or the other?
Thanks
Johan
How can I find the least prime number greater than a given number? For example, given 4, I need 5; given 7, I need 11.
I would like to know some ideas on best algorithms to do this. One method that I thought of was generate primes numbers through the Sieve of Eratosthenes, and then find the prime after the given number.
My sample file is like below:
H343423 Something1 Something2
C343423 0
A23423432 asdfasdf sdfs
#2342323
I have the following regex:
if (line =~ /^[HC]\d+\s/) != nil
puts line
end
Basically I want to read everything that starts with H or C and is followed by numbers and I want to stop reading when space is encountered (I want to read one word).
Output I want is:
H343423
C343423
Output my RegEx is getting is:
H343423 Something1 Something2
C343423 0
So it is fetching the whole line but I just want it to stop after first word is read.
Any help?
I have an application which currently has an option to call phone numbers. Now by default it opens the Windows Phone dialler utility and tries to call the number.
I want it to instead make the call using skype, so what I was thinking was to create a c# application which would capture the callRequest and instead call skype.exe /callto:
Has anyone done anything like this before?