Vote count: -1 I am trying to construct function which can retu array with at least 2 double values. Now, I have no idea to make it. asked 2 mins agoสุเมธ คุ้มภัยรัญ 1 Answer Vote count: 0 f is an automatic local variable, it will no longer exist once function retu. answered 9 secs agohaccks Let's block ads! بخوانید...
ادامه مطلبVote count: 0 For example, I want to generate a plan table web page (like https://trello.com/) with a button. So in trello, you get to make your own plan, then add list, and in each list, you can add cards. I am developing a website which will be able to do something like trello, which you will be able to add list, and cards. Example of trello here In the screen shot, it can be seen that there are 2 lists, "List 1" & "Objectives". In "List 1", there are 3 cards. However, how do I do that? to generate a new web page every time I add a new plan. I am a newbie in web development and need some help. Thank you,. asked 1 min agoJason Christopher Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm using voce-0.9.1 (c++ source code) for a basic synthesized speech console app in which the user will input a line or characters and the synthesizer using CMU pocketsphnix will speak out. But it speaks out very fast and the voice is unclear. How to slow down speech speed? Is there any way for female voice? edited 1 min agoJack asked 4 mins agodlpcoder Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I hope you can help me with my problem. What is the situation: I'm working on a C# WPF application with the MVVM patte. I'm using Calibu.Micro and MahApps.Metro. I have a list of ViewModels in ViewModelA: ObservableCollection ViewModelList { get; set; } // short version There is a ListView in my corresponding View that binds to this list: The ViewModels in the list are displayed by a ContentControl. In ViewModelB there is an event that gets called on a double click on the corresponding View (MetroWindow): public void OnDoubleClick() { var windowManager = IoC.Get(); windowManager.ShowWindow(new ViewModelC()); } The WindowManager shows a new non modal window for me (View of ViewM...
ادامه مطلبVote count: 0 using msxml in VBA ,i have a IXMLDOMNodeList list and i want to delete nodes in it but since more then one element of the IXMLDOMNodeList is pointing to same node , once a node is deleted i will get error when another IXMLDOMNodeList element pointing the same node is reached . is there is way that i can get unique elements from IXMLDOMNodeList thanks asked 40 secs agofarooq Let's block ads! بخوانید...
ادامه مطلبVote count: 0 As mentioned in the title, I waa change the android entry file(index.android.js) and iOS entry file(index.ios.js) to a common js file named index.js, How do I modify in project? asked 3 mins agoZeroChow Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I want to share a text to mail in Window store app using c#. Can anyone please suggest a codding? i.e ShowShareUI(); asked 3 mins agoMohammad Hani Let's block ads! بخوانید...
ادامه مطلبVote count: 0 If I forwarded a port using kubectl port-forward mypod 9000:9000 How can I undo that so that I can bind port 9000 with another program?Additionally, how can I test to see what ports are forwarded? asked 2 mins agorideswitch Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Hello I would like to create thumbnail from doc docx, actually I use library Leadtools but I have this error : ExceptionFilter Leadtools.RasterException: Invalid file format at Leadtools.Codecs.RasterCodecs.CheckExceptions(Int32 code) at Leadtools.Codecs.RasterCodecs.DoLoad(LoadParams loadParams) at Leadtools.Codecs.RasterCodecs.Load(String fileName, Int32 width, Int32 height, Int32 bitsPerPixel, RasterSizeFlags flags, CodecsLoadByteOrder order) I would like to use an another lib for create the thumbnail. asked 3 mins agoYvan Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I was wondering why this works, casting a string consisting of a number following line breaks, like '5', into int. >>> int(' r n 5 r n ') 5 What does Python interpreter do, like this? >>> s = ' r n 5 r n ' >>> new_s = s.strip() >>> int(new_s) 5 asked 2 mins agosparkandshine 1 Answer Vote count: 0 Because the interpreter evaluates the whitespaces beforehand: In [137]: int(' r n 5 r n ') Out[137]: 5 This won't work if you make the string raw: In [138]: int(r' r n 5 r n ') --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in () ----> 1 int(r' r n 5 r n ') ValueError: invalid literal for int() with base 10: ' \r...
ادامه مطلبVote count: 0 In scaing the docs I caot find how to update part of a document. for example - say the whole document looks like this: { "Active": true, "Barcode": "123456789", "BrandID": "9f3751ef-f14f-464a-bb86-854e99cf14c0", "BuyCurrencyOverride": ".37", "BuyDiscountAmount": "45.00", "ID": "003565a3-4a0d-47d9-befb-0ac642cb8057", } but I only want to work with part of the document as I don't want to be selecting / updating the whole document in many cases: { "Active": false, "Barcode": "999999999", "BrandID": "9f3751ef-f14f-464a-bb86-854e99cf14c0", "ID": "003565a3-4a0d-47d9-befb-0ac642cb8057", } How can I use N1QL to just update those fields? Upsert completely replaces the whole document and...
ادامه مطلبVote count: 0 I'm writing py.test tests of my code that uses the Toado library. How can I use Hypothesis in my tests that involve coroutines and the IOLoop? I've been able to write yield-based tests without Hypothesis by using pytest-toado's @pytest.mark.gen_test, but when I try to combine it with @given, I receive the following error: FailedHealthCheck: Tests run under @given should retu None, but test_both retued instead. See http://hypothesis.readthedocs.org/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.retu_value to the suppress_health_check settings for this test. I'm pretty confident that this is a real probl...
ادامه مطلبVote count: 0 I have created this page to fetch data from my database based on the selection of drop down which is also derived from the database. Please help me in this regard as I am stuck with no luck. Here is my code: Untitled 1 Customer Name: function updateText() { var custname2 = document.getElementById("custname").value;...
ادامه مطلبVote count: 0 I have been using the library pkcs11Interop and I would like to know how could I create a pkcs11 library dll. I've been searching a lot but I didnt understand it, I want to create a pkcs11 library because i would like to specify where are stored my certificates and define how import and export them. I found the Cryptographic Provider Development Kit but i didnt found a sample of what i want. What i need to create my own pkcs11 library dll? Thank you very much in advance asked 1 min agouser3789330 Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I need to build a custom id validator that will apply to a single collection, whose id will always be pre-defined (won't need a generator). In the docs about id generators, it's written: Currently the configuration of the custom generator applies to every resources (buckets, groups, collections, records). This tiny limitation can easily be fixed, don’t hesitate to get in touch with us! But there is nothing documented about id validation. So, how do I: Implement an id validator, that Will apply to one collection only? asked 56 secs agodoplumi Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Hi i want the demo ajax table to change in php mysql based but i'm not able to do that i have tried all but nothing seems to work for me.. this is the demo link for demo data $iTotalRecords = 178; $iDisplayLength = intval($_REQUEST['length']); $iDisplayLength = $iDisplayLength < 0 ? $iTotalRecords : $iDisplayLength; $iDisplayStart = intval($_REQUEST['start']); $sEcho = intval($_REQUEST['draw']); $records = array(); $records["data"] = array(); $end = $iDisplayStart + $iDisplayLength; $end = $end > $iTotalRecords ? $iTotalRecords : $end; $status_list = array( array("success" => "Pending"), array("info" => "Closed"), array("danger" => "On Hold"), array("waing" => "Fraud") ); for($...
ادامه مطلبVote count: 0 i was able to mount volume between ~/share at my mac/host and opt/abc inside container. However upon doing so both appeared empty. Even though container had whole app in it. But it worked i created files and it showed up on both places. What can i do to kind of fetch all file from the container and put it into the folder at the side of host/mac. Again. It coects and sync on fine from point onward. But stuff already present there inside container isn't not showing up. asked 22 secs agoMuhammad Umer Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I need to know the actual width and height of a YouTube video embedded in my website. Here's a crude illustration. I've searched through the API docs and I haven't found a way to do this. I've noticed the player variable contains a method called showVideoInfo() which overlays exactly the data I want on the video player... but unfortunately since it is in the iframe I'm unable to access it from JavaScript. Is there any way to do this without having a backend script that queries the JSON API? Because I'd seriously rather not have to do that. asked 2 mins agoMichael Phillips Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a problem which iv been dealing with for a long time just never got around to seeing why. Problem I have a UItableview and load data into it from Firebase. When I segue "show" from ViewController #1 to ViewController #2 (with the UITableView) the firebase data is loaded into the cells. Each cell has a UITableViewRowAction "delete" which basically deletes the Firebase information. But when i press the button..it does delete the Firebase information but not the cell. In order for that UITableView to update I have to segue "show" back to any other ViewController and come back to ViewController #2 for it to update. ** This method only updates if there is more than 1 UITableV...
ادامه مطلبVote count: 0 How do i use ASP.NET MVC 3 DNN Module on different pages but passing different parameters ?. My requirement is to develop a DNN module using ASP.NET MVC that lists cities based on province.On another page List all Lecturers based on a department.I dont want to design 2 modules that only vary on what parameter is passed , Thanks asked 1 min agoFarai Let's block ads! بخوانید...
ادامه مطلب