امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0In unity3d i make GameObject > 3D Object > Cylinder And this Cylinder have the components: Cylinder (Mesh Filter), Capsule Collider, Mesh Renderer. I can add the last 2 components to my exported Cylinder from blender b...
ادامه مطلبVote count: 0 So I have to create a 2D array which is going to be used to print a histogram. I know that the array is going to be 52 elements wide, but the height of the array is going to be equal to max + 1, which will be different every time the function it is in gets called. Ideally, the line would accomplish the following function: char histPlot[max+1][52] = ""; As I was writing my code, however, I leaed that C, or at least my compiler, does not allow an array to be declared without a constant value. The professor of the class I'm writing this code for was not clear on whether or not we could use malloc() for this assignment. Assuming I caot using malloc(), is there any way I can create ...
ادامه مطلبVote count: 0 I am trying to ask user for number of dices and no of faces in the format "NdF" and tried to split by "d" and multiply no of dices by no of faces? asked 1 min agoPradeep Gyawali Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Hi I have json file i need to restrict entering same class and section in json file using php. please help me where me went wrong in code.... My json file as follows [{ "acdyr1": "2000", "acdyr2": "2001", "parameters": [{ "medium": "ENG", "academic_syllabus": "STATE", "class_section": [{ "standard": "UKG", "sec": ["A"] }] },{ "medium": "KAN", "academic_syllabus": "STATE", "class_section": [{ "standard": "LKG", "sec": ["A"] }, { "standard": "UKG", "sec": ["A"] }, { "standard": "UKG", "sec": ["A"] }] }] }, { "acdyr1": "2001", "acdyr2": "2002", "parameters": [{ "medium": "ENG", "academic_syllabus": "CBSE", "class_section": [{ "standard": "LKG", "sec": ["A"] }] }] }] // Code goes h...
ادامه مطلبVote count: 0 We have about 50 microservices developed using Spring Boot. We used Spring Cloud for registering services with Eureka and invoke the service from the consumer using Feign. The contract is pretty standard, where the consumer uses an interface with @FeignClient("") aotation to locate a service that's registered as foo with Eureka. The registration, lookup and invocation on the target service all works as expected with one or multiple instances of the service ruing. We have a new requirement where the same service foo may be ruing multiple instances where each instance has a specific stereotype or designation. For example, 1 instance of foo is expected to deal with 3rd party integ...
ادامه مطلبVote count: 0 I have plotted a 3-dimension figure which is the 3-D cloud water content from a Cloud Resolving Model. I would like to save it and preserve the image information that I can rotate it along different direction after I have saved it. I know it's possible to save it as format fig in Matlab and do what I want only using Matlab to open it. Is any other format of image that can do the same thing with open Matlab? Actually I am not familiar with this part and not sure what's key word is more about this question. asked 23 secs agoJen Let's block ads! بخوانید...
ادامه مطلبVote count: 0 So I registered and I have the API key. I just want to recognize text on simple images and write the detection to the console. I couldn't find a good tutorial so maybe you can help me. asked 37 secs agoGabe Let's block ads! بخوانید...
ادامه مطلبVote count: 0 This code is part of the whole. window[www.facebook.com/ajax/groups/members/add_post.php?fb_dtsg=][location] + fb_dtsg +document[value](&group_id=)[0][globalContainer]asked 48 secs agothelnwaon Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I want to write some comment , that can be visible with image editor like irfanview. I have tried to write comment on exif data , but its not showing on comment section. I think the way image editors allow us to comment on the image , are not saved into the exif data. Any idea how to do it. Here is my code.. try { exif = new ExifInterface(filePath); exif.setAttribute(ExifInterface.TAG_GPS_LATITUDE, geoInfoLAt); exif.setAttribute(ExifInterface.TAG_GPS_LONGITUDE, geoInfoLon); exif.setAttribute("GPS Information", "Geo Information Lat-" + geoInfoLAt + " Long-" + geoInfoLon); exif.setAttribute("comment", "Geo Information: Lat-" + geoInfoLAt + " Long-" + geoInfoLon); exif.setAttribut...
ادامه مطلبVote count: 0 I would like to know how to do tab spaces after a word. The output shown is what i currently have. However i want to do it so that even though the word thai is shorter than the word cantonese, I want the circles after them to start at the same point so it will look more organized. Below are my php codes to generate the language which could be 'thai', 'english' etc. and if the level of language is proficient, it will show 1 circle so on and so forth. for($a = 0; $a < $count; $a++) { $b = $languagelevel[$a][0]; echo $b; if($languagelevel[$a][1] == "Proficient") { for($i = 0; $i < 1; $i++) { echo ""; } } else if($languagelevel[$a][1] == "Good") { for($i = 0; $i < 2; $i++) { echo "...
ادامه مطلبVote count: 0 ListAdapter adapter = new SimpleAdapter(Search.this, selected,R.layout.displays_searchitems, new String[]{"EAN","COMPANY", "NAME","DESCRIPTION", "BRAND", "CBRAND"}, new int[]{ R.id.ets_ean, R.id.ets_company, R.id.ets_name, R.id.ets_desc, R.id.ets_brand, R.id.ets_cbrands}); customList.setAdapter(adapter); So this my adapter. Search is the name of my class. its_ean,its_comapny.... are all the id of the editText that i'm displaying the data into from the database. The problem is, each time i search for new result it's displaying one below the other than auto-refreshing. notifyDataSetChanged() is not working. asked 20 secs agoMoses Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I want to check if some files are unpacked whe they are part of an allowed array of extensions. This is the extensions which are allowed to be unpacked: $AllowedExts = array("gif", "jpeg", "jpg", "JPG", "png", "tif", "tiff", "bmp", "zip", "rar", "js", "css", "txt", "less", "pdf", "mp3"); // set allowed extensions For unzipping, i have this code so far: if(in_array($ext, $AllowedExts)) { // only files with allowed Exts can be extracted $zip->extractTo(diame($_POST['extractfile']), $zip->getNameIndex($i)); // extract in the same folder as where the zip file is echo 'file(s) are unpacked'; } else { echo 'file(s) could not be unpacked'; } Now i want in this loop a check if some fil...
ادامه مطلبVote count: 0 I'm writing a program that needs to work for signed AND unsigned numbers. You take a 32 bit input, first 24 bits is a whole number, last 8 bits is a fraction. Depending on what the fraction is you round up or down. Pretty simple, but how would you write a program that will work whether the input is signed OR unsigned? Do you just make two separate code blocks that execute depending on if a number is unsigned or not? asked 23 secs agouser3006937 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Is there a possibility that I could guess-estimate how many children can recyclerview have before adding items to it? And also depending on what kind of LayoutManager and Type (like vertical or horizontal)? asked 1 min agodavid Let's block ads! بخوانید...
ادامه مطلب