امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 1I have a TextBox in which I want to add an image as background. The first try is this:The result in this case is this:If I use this code, that uses transform:The result is this:The image that I want to scale is this:It seems that when it scales, reduce the size, but it crop...
ادامه مطلبVote count: 0 Hello gentlemen and ladies - I'm having a hard time figuring out what is wrong with my code. The compiler keeps getting an implicit declaration of function 'clock'[ -Wimpliciit-fucntion-declaration] clock_t start = clock(); and 'CLOCKS_PER_SEC' undeclared #include #include #define N_TIMES 600000 #define ARRAY_SIZE 10000 int main(void) { double *array = calloc(ARRAY_SIZE, sizeof(double)); double sum = 0; int i; int j; clock_t start = clock(); for (i = 0; i < N_TIMES; i++) { for ( j = 0; j < ARRAY_SIZE; j +=4){ sum += array[j]; sum += array[j + 1]; sum += array[j + 2]; sum += array[j + 3]; } } printf ("%.1f secondsn", (double) (clock() - start) / CLOCKS_PER_SEC); retu 0; } I've b...
ادامه مطلبVote count: 0 Python 2.7.12 |Anaconda 4.1.1 (64-bit)| (default, Jul 2 2016, 17:42:40) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://anaconda.org >>> from sympy import symbols >>> from sympy.plotting import plot >>> L = [2+2j, 3+2j, 1.75+1j, 2+1j, 2.25+1j, 2.5+1j, 2.75+1j, 3.25+1j] >>> plot(L) Traceback (most recent call last): File "", line 1, in File "/home/txdo07r/anaconda2/lib/python2.7/site-packages/sympy/plotting/plot.py", line 1280, in plot...
ادامه مطلبVote count: 0 I'm currently working on a xamarin.android project, and am attempting to upload a video to an aws server, and then also be able to play it back. The upload is working correctly as far as I can tell. I'm retrieving the file from the user's phone, tuing it into a byte array, and uploading that. This is the code to upload: if (isImageAttached || isVideoAttached) { //upload the file byte[] fileInfo = System.IO.File.ReadAllBytes(filePath); Task task = client.SaveMediaAsync(fileInfo, nameOfFile); mediaObj = await task; //other code below is irrelevant to example } and SaveMediaAsync is a function I wrote in a PCL: public async Task SaveMediaAsync(byte[] fileInfo, string fName) { Medi...
ادامه مطلبVote count: 0 i compiled a small file in editor and saved it as hello.c #include...
ادامه مطلبVote count: 0 i am coding a quiz in python. everything seems to work until i try to input the answer. i am very new to this. also can somebody explain what an indentation block is and an example of it. this is the code: print('physics quiz') physics quiz print('round 1') round 1 print('what is the 1st stage of a stars life?') what is the 1st stage of a stars life? print('a...protostar') a...protostar print('b...nebula') b...nebula print('c...red giant') c...red giant answer=int(input('you have 5 seconds')) you have 5 seconds 'a' if answer=='a': print('correct') else: print('incorrect, it was protostar') asked 1 min agongb Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have this overly complicated XML dump by Eatec, and sadly each menu has it's own special attribute for meals served at breakfast/lunch/dier. I'm trying to extract the items with their description and do a loop to show only recipe from breakfast, and so on for other menu periods. Here's a sample slimmed down XML And I'm relatively new to PHP/XML, still trying to lea my rope here, here's what I came up with and yet not been able to keep the looped item within it's own meal period....
ادامه مطلبVote count: 0 I am trying to write a programme that allows me to input values and obtain the maximum number when i key in "done". My progress is as follows but it does not seem to work the way I intended it to. Please help if possible :). def cal(): rol = None while True: numb = raw_input("Please key in a number") if numb != type(int): print "Bad data inputed" elif numb == "done": print rol break else: rol == none or rol < numb rol = numb asked 23 secs agoPaul Wang Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I've been looking into and leaing various web technologies, but I keep getting massively overwhelmed by frameworks and endless helpful add-ins and such. My goals: I want to lea basic web development. Let's say I want to make a simple website that interacts with a server and a database. I also want that server to be the back-end for an Android app for storing the same user information that the front-end website would collect, store, and report. (I'm not asking for Android advice; I have a great textbook with everything I need for that.) I tried to accomplish this by diving into languages I knew would be useful. I taught myself basic PHP and SQLite using online resources. I'm alr...
ادامه مطلبVote count: 0 #include #include using namespace std; int main(){ [the image shows the error I keep getting] string st("HabibRehman"); string a="", b=""; int y=st.length(); int d=y/2; int f; f=d; for(int i=1;i...
ادامه مطلبVote count: 0 I'm looking to render Yodlee Fastlink in an iframe on a rails app and encountering issues similar to those in the question here, which don't seem to have been fully addressed in responses. I have closely followed the instructions in the Yodlee Fastlink guide, and successfully obtained the rsession token and token from the rsession call, but when trying to invoke the Fastlink iFrame ruing the app locally, in posting to the Fastlink launch endpoint 'https: //node.developer.yodlee.com/authenticate/restserver/' with all the correct parameters (including the aggregation finAppId) I receive a 302 error response, with a redirect to https: //node.developer.yodlee.com/apperror. Also, wh...
ادامه مطلبVote count: 0 I'm trying to fill imageViews dynamicly with this code: inventorySpace[i].setImageResource((getResourceId(testimg, "mipmap", getPackageName()))); but it doenst work, if I do this it does work: inventorySpace[i].setImageResource(R.mipmap.testimg); this is the getResourceID method: public int getResourceId(String pVariableName, String pResourcename, String pPackageName) { try { retu getResources().getIdentifier(pVariableName, pResourcename, pPackageName); } catch (Exception e) { e.printStackTrace(); retu -1; } } the method does work with filling textviews dynamicly so I don't think its the method asked 1 min agoZeepblok Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am getting prompted for FTP credentials when trying to install a plugin or theme in word press. please solve anybody. asked 34 secs agoAnshu Pratap Yadav Let's block ads! بخوانید...
ادامه مطلب