how to get designed serial numbers of parts like "FrontFacingCameraModuleSerialNumber" but designed - libimobiledevice

how to get designed serial numbers of parts like "FrontFacingCameraModuleSerialNumber" but designed?
And second question:
how to get serial number of touchID?

I will answer my own question. Maybe it will help other people.
I found a hash that works with iPhones <7 )
mobilegestalt jWdMTTxiAZc+KNO6Bz2jNg

could you extract FrontFacingCameraModuleSerialNumber from AppleDiagnosticDataSysCfg

Related

Easy question but i get stuck in the answer

We use 8k times per second sampling audio signal. 128 different levels present each sample. How many bytes are needed to store 2 minutes audio voice.
I think the answer would be like
8k/s * 120s * 7bits / 8 = 840kB
but the correct answer show 120kB made me so confused.
Is there anything wrong with my solution?
Thanks for help <3
Your answer is right.
I did't know where you got your answer, but in my country, this was an international contest, and they changed their answer in the end.

How to repeat a command on different values of the same variable using SPSS LOOP?

Probably an easy question:
I want to run this piece of syntax:
SUMMARIZE
/TABLES=AGENCY
PIN
AGE
GENDER
DISABILITY
MAINSERVICE
MRESAGENCY
MRESSUPPORT
/FORMAT=LIST NOCASENUM TOTAL
/TITLE='Case Summaries'
/MISSING=VARIABLE
/CELLS=COUNT.
for 264 different agencies which are all values contained in the variable 'AGENCY'.
I want to create a different table for each agency outlining the above information for them.
I think I can do this using a DO REPEAT or LOOP on SPSS.
Any advice would be much appreciated.
Thank you :)
note: I have Google'd and read endless amounts on looping I am just a little unsure as to which method is what I am looking for
Take a look at SPLIT FILE, which meets your needs

What's a good way to store simple data that's used by a Command Line?

I'm new to both Mac and the C programming language; but, I recently installed Xcode, and I've been trying to figure somethings out..
Currently I want to work on making a small Command Line game. But I need to find a good way to store simple data, like strings and integers..
So, is there a way to store information in an XML file through C? If so, would that be a good way to go about things? If not, what do you suggest?
For simple data you can use NSUserDefaults.
Example where 32 is the:
int score = 32.
[[NSUserDefaults standardUserDefaults] setInteger:score forKey:#"CurrentScore"];
later:
score = [[NSUserDefaults standardUserDefaults] integerForKey:#"CurrentScore"];
See the documentation for NSUserDefaults, it can handle many types of data.

Matlab Anfis More than one output?

Can Anfis (Adaptive Neuro-Fuzzy Inference Systems) in Matlab can have more than one output?
By the way , is it a good idea to use Anfis to decide to ON/OFF fan and lights ?
acording to the example in matlab website , I can see there is one output only. But it didn't mention it. Anyone know anything about it?
I don't know anything about it, but couldn't you just have a unique network for each output?
Arguably, each output could be determined independently of the others, couldn't it?
as mentioned here
(http://www.researchgate.net/post/How_to_generate_multiple_output_for_ANFIS2) anfis just supports one output which is the last column of train data
Did you try like this. anfis_input = *[input1 input2 [output1 output2]?*

large test data for knapsack problem

i am researcher student. I am searching large data for knapsack problem. I wanted test my algorithm for knapsack problem. But i couldn't find large data. I need data has 1000 item and capacity is no matter. The point is item as much as huge it's good for my algorithm. Is there any huge data available in internet. Does anybody know please guys i need urgent.
You can quite easily generate your own data. Just use a random number generator and generate lots and lots of values. To test that your algorithm gives the correct results, compare it to the results from another known working algorithm.
I have the same requirement.
Obviously only Brute force will give the optimal answer and that won't work for large problems.
However we could pitch our algorithms against each other...
To be clear, my algorithm works for 0-1 problems (i.e. 0 or 1 of each item), Integer or decimal data.
I also have a version that works for 2 dimensions (e.g. Volume and Weight vs. Value).
My file reader uses a simple CSV format (Item-name, weight, value):
X229257,9,286
X509192,11,272
X847469,5,184
X457095,4,88
etc....
If I recall correctly, I've tested mine on 1000 items too.
Regards.
PS:
I ran my algorithm again the problem on Rosette Code that Mark highlighted (thank you). I got the same result but my solution is much more scalable than the dynamic programming / LP solutions and will work on much bigger problems

Resources