Why does this method is not working as I expected?
Vote count: 0 Please see below code. I use AsyncRestTemplate to make resttemplate asynchronously. This method should wait all asyncresttemplate processes till done, And It will retu reviewContent. Problem is callback methods are not working properly. So I can't take proper retu value of optionName a...
MS Excel to C# object : Get URL from Hyperlinked Text
Vote count: 0 Please help me include another index to my current Array. I want to fetch the URL of my first excel sheet's hyper linked column text in every row. I have the code already in place to fetch all the string values, I just want to inlcude the URL in another index of my array. Please help m...
in illustrator javascript to ungroup and group
Vote count: 0 illustrator in .ai file i am having layer name as "Layer1" inside this layer i am having group named as " rename" this rename group i have to ungroup and move it to new group .can anybody please help me in javascript for this , i have also attached image. layer 1 image ,rename group va...
HTML font size changing unpredictably in embedded browser (MFC)
Vote count: 0 I have an embedded browser control in my C++ / MFC dialog. It displays an HTML page with some transforms. Everything renders fine, the transforms work and all that. However! For reasons I cant fathom, once every two weeks or so, something happens to the font side. Sometimes its too lar...
Chrome Extension: Element null when I execute script in new tab
Vote count: 0 Problem I'm trying to create a very simple Chrome extension. It only has 2 files. I have full control of the site, mywebsite.com. It will create a new tab to mywebsite.com It will select an input element by id It will change the value of the input element Unfortunately, I get this erro...
Trouble to display DELETE and PUT action in Django Rest
Vote count: 0 I am sure that I follow instructions step by step in tutorial 4. However, I am not able to display the DELETE and PUT in the page and in Allows attribute. It seems that Django rest ignore the IsOwnerOrReadOnly permission. Can I anyone help me to debug it? In models.py from django.db im...
Delete a Realm model with Swift
Vote count: 0 I need to remove old, empty models from a Realm Cocoa database. There seems to be a way to do it in Java, but not in Swift. Is that correct? If you remove a property and initiate a migration Realm will remove the corresponding column in the table. But, if you remove the model definitio...
Assembly x86/C -Recursive Binomial Coefficient Segfault
Vote count: 0 I've written some code (main in c, subprogram in assembly x86) to calculate the binomial coefficient recursively and print out all the binomial coefficients with n=10, restricted by m<=n. My problem is that I'm getting a segfault on compile. Segmentation fault (core dumped) Here's the ...
openVPN VM not letting remote clients access LAN
Vote count: 0 I have a problem that is causing me to go bald(er). First Ill explain my setup: My server is Umbutu 16.04 with Virtualbox installed, there are 3 Tu keylinux (debian) VMs inside the server (LAMP, SAMBA, VPN). My problem lies with the VPN as everything else is working okay. I can co ect ...
data-target in submit button (rails)
Vote count: 0 I would like the equivalent of something like this: <button id="shownum" data-toggle="modal" data-target="#popupnum">ok</button> in rails submit like this <%= f.submit ...... %> Thanks! asked 1 min agoRemis07 This entry passed through the Full-Text RSS service - if this is your content...
1A - Theatre Square CodeForces
Vote count: 0 I am trying to answer the 1A-Theatre Square problem on CodeForces. Its keeps telling me: "Runtime error on test 1" Here is my code: n= int(input()) m= int(input()) a= int(input()) n1=1 n2=1 while n>a*n1: n1=n1+1 break while m>a*n2: n2=n2+1 break print (n1*n2) I am still a begi er, so I...
Generating a Linked List by reading numbers from text file
Vote count: 0 I want to read in numbers from text file and create a linked list dynamically, although I am able to do it, the last node with value of 0 is also added to the list. How can I correct this? Also I should be able to add value 0 if i want but not in this way. #include <stdio.h> #include <...
How to convert from Json to Protobuf?
Vote count: 0 I'm new to using protobuf, and was wondering if there is a simple way to convert a json stream/string to a protobuf stream/string in Java? For example, protoString = convertToProto(jsonString) Basically, I have a json string that I want to parse into a protobuf message. So, I want to f...
Using AngularJS ngModel and Form Validation to $watch two elements and test if they are equal whenever either input changes
Vote count: 0 What I am trying to do is create a directive which compares two password inputs and triggers invalid if either changes. I have found a few examples and have tried a few and have combined a few in my own attempts. However, I have only been able to toggle the validity with $setValidity w...